|
FEAT 3
Finite Element Analysis Toolbox
|
Node-functional base class template. More...
#include <node_functional_base.hpp>
Public Types | |
| typedef DataType_ | DataType |
| data type More... | |
| typedef Space_ | SpaceType |
| space typedef More... | |
Public Member Functions | |
| NodeFunctionalBase (const SpaceType &space) | |
| protected constructor More... | |
| void | finish () |
| Releases the node-functional from the current cell. More... | |
| int | get_num_assigned_dofs () const |
| Returns the number of assigned dofs on the current cell. | |
| template<typename NodeData_ , typename Function_ > | |
| void | operator() (NodeData_ &node_data, const Function_ &function) const |
| Evaluation operator. More... | |
| void | prepare (Index cell_index) |
| Prepares the node-functional for a given cell. More... | |
Public Attributes | |
| Index | _cell_index |
| currently active cell index More... | |
Static Public Attributes | |
| static constexpr Index | max_assigned_dofs |
| specifies the maximum number of assigned DOFs More... | |
Node-functional base class template.
This class acts as a base-class and interface documentation for Finite-Element Node-Functional implementations.
| Space_ | The finite-element space that this node-functional is used by. |
Definition at line 29 of file node_functional_base.hpp.
| typedef DataType_ FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::DataType |
data type
Definition at line 35 of file node_functional_base.hpp.
| typedef Space_ FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::SpaceType |
space typedef
Definition at line 33 of file node_functional_base.hpp.
|
inlineexplicit |
protected constructor
Definition at line 49 of file node_functional_base.hpp.
|
inline |
Releases the node-functional from the current cell.
Definition at line 70 of file node_functional_base.hpp.
References FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::_cell_index.
| void FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::operator() | ( | NodeData_ & | node_data, |
| const Function_ & | function | ||
| ) | const |
Evaluation operator.
This operator applies all node functionals to the AnalyticFunction function. The values of the node functionals are the coefficients of the FE interpolant of function.
| NodeData_ | Type for the FE coefficient vector. |
| Function_ | Type of the AnalyticFuntion to evaluate. |
| [out] | node_data | The coefficients of the FE interpolant of function, aka the values of the node functionals applied to the function. Tiny::Vector of some sort. |
| [in] | function | The AnalyticFunction to apply the node functionals to. |
|
inline |
Prepares the node-functional for a given cell.
| [in] | cell_index | The index of the cell that is to be used by the node-functional. |
Definition at line 62 of file node_functional_base.hpp.
References FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::_cell_index.
| Index FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::_cell_index |
currently active cell index
Definition at line 46 of file node_functional_base.hpp.
Referenced by FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::finish(), and FEAT::Space::NodeFunctionalBase< Space_, DataType_ >::prepare().
|
staticconstexpr |
specifies the maximum number of assigned DOFs
Definition at line 39 of file node_functional_base.hpp.