LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
|
A MeshFunction which takes the same constant value on the whole mesh. More...
#include <lf/uscalfe/uscalfe.h>
Public Member Functions | |
MeshFunctionConstant (R value) | |
Create a new MeshFunctionConstant by passing the globally constant value. | |
std::vector< R > | operator() (const mesh::Entity &, const Eigen::MatrixXd &local) const |
the key evaluation operator to be supplied by all MeshFunctions | |
Private Attributes | |
R | value_ |
A MeshFunction which takes the same constant value on the whole mesh.
R | The type of the value, must be copyable. |
Definition at line 26 of file mesh_function_constant.h.
|
inlineexplicit |
Create a new MeshFunctionConstant by passing the globally constant value.
value | The value that the MeshFunction should have globally. |
Definition at line 33 of file mesh_function_constant.h.
|
inline |
the key evaluation operator to be supplied by all MeshFunctions
Definition at line 38 of file mesh_function_constant.h.
References lf::mesh::utils::MeshFunctionConstant< R >::value_.
|
private |
stored constant value
Definition at line 44 of file mesh_function_constant.h.
Referenced by lf::mesh::utils::MeshFunctionConstant< R >::operator()().