|
FEAT 3
Finite Element Analysis Toolbox
|
Basic Space Evaluator CRTP base-class template. More...
#include <evaluator_base.hpp>
Classes | |
| struct | ConfigTraits |
Public Types | |
| typedef SpaceEvalTraits_ | SpaceEvalTraits |
| space evaluator traits More... | |
| typedef SpaceEvaluator_ | SpaceEvaluator |
| space evaluator type More... | |
| typedef TrafoEvaluator::EvalTraits | TrafoEvalTraits |
| trafo evaluator traits More... | |
| typedef TrafoEvaluator_ | TrafoEvaluator |
| trafo evaluator type More... | |
Public Member Functions | |
| template<SpaceTags space_cfg_, TrafoTags trafo_cfg_> | |
| void | eval_gradients (EvalData< SpaceEvalTraits, space_cfg_ > &space_data, const Trafo::EvalData< TrafoEvalTraits, trafo_cfg_ > &trafo_data) const |
| Evaluates the basis function gradients on the real cell. More... | |
| template<SpaceTags space_cfg_, TrafoTags trafo_cfg_> | |
| void | eval_hessians (EvalData< SpaceEvalTraits, space_cfg_ > &space_data, const Trafo::EvalData< TrafoEvalTraits, trafo_cfg_ > &trafo_data) const |
| Evaluates the basis function hessians on the real cell. More... | |
| template<SpaceTags space_cfg_, TrafoTags trafo_cfg_> | |
| void | eval_values (EvalData< SpaceEvalTraits, space_cfg_ > &space_data, const Trafo::EvalData< TrafoEvalTraits, trafo_cfg_ > &trafo_data) const |
| Evaluates the basis function values on the real cell. More... | |
| void | finish () |
| Releases the evaluator from the current cell. More... | |
| template<SpaceTags space_cfg_, TrafoTags trafo_cfg_> | |
| void | operator() (EvalData< SpaceEvalTraits, space_cfg_ > &space_data, const Trafo::EvalData< TrafoEvalTraits, trafo_cfg_ > &trafo_data) const |
| Space evaluation operator. More... | |
| void | prepare (const TrafoEvaluator &trafo_eval) |
| Prepares the evaluator for a given cell. More... | |
Static Public Attributes | |
| static constexpr int | domain_dim = SpaceEvalTraits::domain_dim |
| trafo domain dimension More... | |
| static constexpr SpaceTags | eval_caps = ... |
| static constexpr int | image_dim = SpaceEvalTraits::image_dim |
| trafo image dimension More... | |
| static constexpr int | max_local_dofs = SpaceEvalTraits::max_local_dofs |
| maximum number of local DOFs More... | |
Basic Space Evaluator CRTP base-class template.
This class is a CRTP base-class used by various finite-element space evaluators to outsource common wrapper code which is independent of the actual finite-element in use.
| SpaceEvaluator_ | The space evaluator class that derives from this class template. |
| TrafoEvaluator_ | The trafo evaluator class to be used by this space evaluator. |
| SpaceEvalTraits_ | The evaluator traits of the space evaluator. |
Definition at line 45 of file evaluator_base.hpp.
| typedef SpaceEvalTraits_ FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::SpaceEvalTraits |
space evaluator traits
Definition at line 55 of file evaluator_base.hpp.
| typedef SpaceEvaluator_ FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::SpaceEvaluator |
space evaluator type
Definition at line 49 of file evaluator_base.hpp.
| typedef TrafoEvaluator::EvalTraits FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::TrafoEvalTraits |
trafo evaluator traits
Definition at line 58 of file evaluator_base.hpp.
| typedef TrafoEvaluator_ FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::TrafoEvaluator |
trafo evaluator type
Definition at line 52 of file evaluator_base.hpp.
|
inline |
Evaluates the basis function gradients on the real cell.
| space_cfg_,trafo_cfg_ | The space and trafo configuration tags. These are determined automatically by the compiler. |
| [out] | space_data | A transient reference to an evaluation data structure that shall receive the basis function gradients. |
| [in] | trafo_data | The transient trafo evaluation data containing information about the evaluation point. |
Definition at line 193 of file evaluator_base.hpp.
References XABORTM.
Referenced by FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::operator()().
|
inline |
Evaluates the basis function hessians on the real cell.
| space_cfg_,trafo_cfg_ | The space and trafo configuration tags. These are determined automatically by the compiler. |
| [out] | space_data | A transient reference to an evaluation data structure that shall receive the basis function hessian matrices. |
| [in] | trafo_data | The transient trafo evaluation data containing information about the evaluation point. |
Definition at line 213 of file evaluator_base.hpp.
References XABORTM.
Referenced by FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::operator()().
|
inline |
Evaluates the basis function values on the real cell.
| space_cfg_,trafo_cfg_ | The space and trafo configuration tags. These are determined automatically by the compiler. |
| [out] | space_data | A transient reference to an evaluation data structure that shall receive the basis function values. |
| [in] | trafo_data | The transient trafo evaluation data containing information about the evaluation point. |
Definition at line 173 of file evaluator_base.hpp.
References XABORTM.
Referenced by FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::operator()().
|
inline |
Releases the evaluator from the current cell.
Definition at line 113 of file evaluator_base.hpp.
|
inline |
Space evaluation operator.
This operator evaluates the basis functions in a point on a mesh cell.
| [out] | space_data | A transient reference to the space data that is to be computed. |
| [in] | trafo_data | The transient trafo evaluation data containing information about the evaluation point. |
Definition at line 129 of file evaluator_base.hpp.
References FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::eval_gradients(), FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::eval_hessians(), FEAT::Space::EvaluatorBase< SpaceEvaluator_, TrafoEvaluator_, SpaceEvalTraits_ >::eval_values(), FEAT::grad, FEAT::hess, and FEAT::value.
|
inline |
Prepares the evaluator for a given cell.
| [in] | trafo_eval | A transient reference to the trafo evaluator containing the cell information. |
Definition at line 106 of file evaluator_base.hpp.
|
staticconstexpr |
trafo domain dimension
Definition at line 61 of file evaluator_base.hpp.
|
staticconstexpr |
Definition at line 81 of file evaluator_base.hpp.
|
staticconstexpr |
trafo image dimension
Definition at line 63 of file evaluator_base.hpp.
|
staticconstexpr |
maximum number of local DOFs
Definition at line 65 of file evaluator_base.hpp.