Reference documentation for deal.II version 9.2.0
|
#include <deal.II/base/tensor_function.h>
Public Types | |
using | time_type = typename ConstantTensorFunction< rank, dim, Number >::time_type |
Public Types inherited from ConstantTensorFunction< rank, dim, double > | |
using | time_type = typename TensorFunction< rank, dim, double >::time_type |
Public Types inherited from TensorFunction< rank, dim, double > | |
using | value_type = Tensor< rank, dim, double > |
using | gradient_type = Tensor< rank+1, dim, double > |
using | time_type = typename FunctionTime< typename numbers::NumberTraits< double >::real_type >::time_type |
Public Types inherited from FunctionTime< numbers::NumberTraits< double >::real_type > | |
using | time_type = numbers::NumberTraits< double >::real_type |
Public Member Functions | |
ZeroTensorFunction (const time_type initial_time=0.0) | |
Public Member Functions inherited from ConstantTensorFunction< rank, dim, double > | |
ConstantTensorFunction (const ::Tensor< rank, dim, double > &value, const time_type initial_time=0.0) | |
virtual | ~ConstantTensorFunction () override=default |
virtual typename ::TensorFunction< rank, dim, double >::value_type | value (const Point< dim > &p) const override |
virtual void | value_list (const std::vector< Point< dim >> &points, std::vector< typename ::TensorFunction< rank, dim, double >::value_type > &values) const override |
virtual typename ::TensorFunction< rank, dim, double >::gradient_type | gradient (const Point< dim > &p) const override |
virtual void | gradient_list (const std::vector< Point< dim >> &points, std::vector< typename ::TensorFunction< rank, dim, double >::gradient_type > &gradients) const override |
Public Member Functions inherited from TensorFunction< rank, dim, double > | |
TensorFunction (const time_type initial_time=time_type(0.0)) | |
virtual | ~TensorFunction () override=default |
virtual void | value_list (const std::vector< Point< dim >> &points, std::vector< value_type > &values) const |
virtual void | gradient_list (const std::vector< Point< dim >> &points, std::vector< gradient_type > &gradients) const |
Public Member Functions inherited from FunctionTime< numbers::NumberTraits< double >::real_type > | |
FunctionTime (const numbers::NumberTraits< double >::real_type initial_time=numbers::NumberTraits< double >::real_type(0.0)) | |
virtual | ~FunctionTime ()=default |
numbers::NumberTraits< double >::real_type | get_time () const |
virtual void | set_time (const numbers::NumberTraits< double >::real_type new_time) |
virtual void | advance_time (const numbers::NumberTraits< double >::real_type delta_t) |
Public Member Functions inherited from Subscriptor | |
Subscriptor () | |
Subscriptor (const Subscriptor &) | |
Subscriptor (Subscriptor &&) noexcept | |
virtual | ~Subscriptor () |
Subscriptor & | operator= (const Subscriptor &) |
Subscriptor & | operator= (Subscriptor &&) noexcept |
void | subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const |
void | unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const |
unsigned int | n_subscriptions () const |
template<typename StreamType > | |
void | list_subscribers (StreamType &stream) const |
void | list_subscribers () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Additional Inherited Members | |
Static Public Member Functions inherited from Subscriptor | |
static ::ExceptionBase & | ExcInUse (int arg1, std::string arg2, std::string arg3) |
static ::ExceptionBase & | ExcNoSubscriber (std::string arg1, std::string arg2) |
Provide a tensor valued function which always returns zero. Obviously, all derivates of this function are zero.
Definition at line 185 of file tensor_function.h.
using ZeroTensorFunction< rank, dim, Number >::time_type = typename ConstantTensorFunction<rank, dim, Number>::time_type |
The scalar-valued real type used for representing time.
Definition at line 192 of file tensor_function.h.
ZeroTensorFunction< rank, dim, Number >::ZeroTensorFunction | ( | const time_type | initial_time = 0.0 | ) |
Constructor.
An initial value for the time variable may be specified, otherwise it defaults to zero.