LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lf::mesh::utils::MeshFunctionAT< R > Struct Template Reference

Archetype for the MeshFunction concept. More...

#include <lf/mesh/utils/mesh_function_traits.h>

Public Member Functions

 MeshFunctionAT (const MeshFunctionAT &) noexcept=default
 Copy constructor.
 
 MeshFunctionAT (MeshFunctionAT &&) noexcept=default
 Move constructor.
 
auto operator= (const MeshFunctionAT &) noexcept -> MeshFunctionAT &=delete
 Copy assignment operator deleted because not part of the concept.
 
auto operator= (MeshFunctionAT &&) noexcept -> MeshFunctionAT &=delete
 Move assignment operator deleted because not part of the concept.
 
 ~MeshFunctionAT () noexcept=default
 Destructor.
 
std::vector< R > operator() (const Entity &e, const Eigen::MatrixXd &local) const
 Evaluates the mesh function at the given points.
 

Detailed Description

template<class R>
struct lf::mesh::utils::MeshFunctionAT< R >

Archetype for the MeshFunction concept.

Template Parameters
RThe return type of the mesh function, i.e. the value it takes at every point on the mesh.
See also
Archetypes for more information about archetypes.

Definition at line 164 of file mesh_function_traits.h.

Constructor & Destructor Documentation

◆ MeshFunctionAT() [1/2]

template<class R >
lf::mesh::utils::MeshFunctionAT< R >::MeshFunctionAT ( const MeshFunctionAT< R > & )
defaultnoexcept

Copy constructor.

◆ MeshFunctionAT() [2/2]

template<class R >
lf::mesh::utils::MeshFunctionAT< R >::MeshFunctionAT ( MeshFunctionAT< R > && )
defaultnoexcept

Move constructor.

◆ ~MeshFunctionAT()

template<class R >
lf::mesh::utils::MeshFunctionAT< R >::~MeshFunctionAT ( )
defaultnoexcept

Destructor.

Member Function Documentation

◆ operator()()

template<class R >
std::vector< R > lf::mesh::utils::MeshFunctionAT< R >::operator() ( const Entity & e,
const Eigen::MatrixXd & local ) const
inline

Evaluates the mesh function at the given points.

Parameters
eThe entity on which the mesh function should be evaluated.
localThe local coordinates of the points at which the mesh function should be evaluated. Has dimension e.RefEl().Dimension() x NumPoints.
Returns
A vector of length local.cols() containing the values of the mesh function at the given points.

Definition at line 189 of file mesh_function_traits.h.

◆ operator=() [1/2]

template<class R >
auto lf::mesh::utils::MeshFunctionAT< R >::operator= ( const MeshFunctionAT< R > & ) -> MeshFunctionAT &=delete
deletenoexcept

Copy assignment operator deleted because not part of the concept.

◆ operator=() [2/2]

template<class R >
auto lf::mesh::utils::MeshFunctionAT< R >::operator= ( MeshFunctionAT< R > && ) -> MeshFunctionAT &=delete
deletenoexcept

Move assignment operator deleted because not part of the concept.


The documentation for this struct was generated from the following file: