|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
tensorproduct.hh
Go to the documentation of this file.
59 explicit TensorProductShapeFunctionSet ( const ShapeFunctionSetTupleType &shapeFunctionSetTuple );
80 void doEvaluateEach ( int d, RangeType value, std::size_t &index, const RangeFieldType *buffer, Functor functor ) const;
82 void doJacobianEach ( int d, JacobianRangeType jacobian, std::size_t &index, const RangeFieldType *buffer, Functor functor ) const;
84 void doHessianEach ( int d, HessianRangeType hessian, std::size_t &index, const RangeFieldType *buffer, Functor functor ) const;
131 static void apply ( const ShapeFunctionSetTuple &tuple, std::array< std::size_t, FunctionSpace::dimDomain > &size )
146 static void apply ( const ShapeFunctionSetTuple &tuple, const DomainType &x, RangeFieldType *&it )
163 static void apply ( const ShapeFunctionSetTuple &tuple, const DomainType &x, RangeFieldType *&it )
182 static void apply ( const ShapeFunctionSetTuple &tuple, const DomainType &x, RangeFieldType *&it )
235 inline const typename TensorProductShapeFunctionSet< FunctionSpace, ShapeFunctionSetTuple >::ThisType &
256 inline int TensorProductShapeFunctionSet< FunctionSpace, ShapeFunctionSetTuple >::order () const
259 Hybrid::forEach( std::make_index_sequence< std::tuple_size< ShapeFunctionSetTupleType >::value >{},
260 [ & ]( auto i ){ value = std::max( value, std::get< i >( shapeFunctionSetTuple_ ).order() ); } );
282 Fem::ForLoop< EvaluateAll, 0, dimension-1 >::apply( shapeFunctionSetTuple_, coordinate( x ), it );
295 Fem::ForLoop< JacobianAll, 0, dimension-1 >::apply( shapeFunctionSetTuple_, coordinate( x ), it );
311 Fem::ForLoop< HessianAll, 0, dimension-1 >::apply( shapeFunctionSetTuple_, coordinate( x ), it );
325 ::doEvaluateEach ( int d, RangeType value, std::size_t &index, const RangeFieldType *buffer, Functor functor ) const
344 ::doJacobianEach ( int d, JacobianRangeType jacobian, std::size_t &index, const RangeFieldType *buffer, Functor functor ) const
365 ::doHessianEach ( int d, HessianRangeType hessian, std::size_t &index, const RangeFieldType *buffer, Functor functor ) const
int size() const
static Type apply(T &t)
constexpr void forEach(Range &&range, F &&f)
std::ptrdiff_t index() const
virtual void operator()()=0
Definition explicitfieldvector.hh:75
FunctionSpaceTraits::DomainFieldType DomainFieldType
Intrinsic type used for values in the domain field (usually a double)
Definition functionspaceinterface.hh:60
FunctionSpaceTraits::RangeType RangeType
Type of range vector (using type of range field) has a Dune::FieldVector type interface.
Definition functionspaceinterface.hh:71
FunctionSpaceTraits::LinearMappingType JacobianRangeType
Intrinsic type used for the jacobian values has a Dune::FieldMatrix type interface.
Definition functionspaceinterface.hh:75
FunctionSpaceTraits::DomainType DomainType
Type of domain vector (using type of domain field) has a Dune::FieldVector type interface.
Definition functionspaceinterface.hh:67
FunctionSpaceTraits::RangeFieldType RangeFieldType
Intrinsic type used for values in the range field (usually a double)
Definition functionspaceinterface.hh:63
@ dimDomain
dimension of domain vector space
Definition functionspaceinterface.hh:46
@ dimRange
dimension of range vector space
Definition functionspaceinterface.hh:48
Definition tensorproduct.hh:28
void evaluateEach(const Point &x, Functor functor) const
Definition tensorproduct.hh:279
FunctionSpaceType::RangeType RangeType
Definition tensorproduct.hh:53
void jacobianEach(const Point &x, Functor functor) const
Definition tensorproduct.hh:292
FunctionSpaceType::HessianRangeType HessianRangeType
Definition tensorproduct.hh:55
FunctionSpaceType::DomainType DomainType
Definition tensorproduct.hh:52
TensorProductShapeFunctionSet()=default
void hessianEach(const Point &x, Functor functor) const
Definition tensorproduct.hh:308
std::size_t size() const
Definition tensorproduct.hh:267
FunctionSpaceType::JacobianRangeType JacobianRangeType
Definition tensorproduct.hh:54
const ThisType & operator=(const ThisType &other)
Definition tensorproduct.hh:237
FunctionSpace FunctionSpaceType
Definition tensorproduct.hh:46
FunctionSpaceType::RangeFieldType RangeFieldType
Definition tensorproduct.hh:50
FunctionSpaceType::DomainFieldType DomainFieldType
Definition tensorproduct.hh:49
~TensorProductShapeFunctionSet()
Definition tensorproduct.hh:213
ShapeFunctionSetTuple ShapeFunctionSetTupleType
Definition tensorproduct.hh:47
Definition tensorproduct.hh:98
Assign(RangeFieldType *buffer)
Definition tensorproduct.hh:99
T forward(T... args)
T max(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8