LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
|
Provides the local element vector for a mesh entity. More...
#include <lf/assemble/assemble.h>
Provides the local element vector for a mesh entity.
An EntityVectorProvider is an object that provides a local element vector for a given mesh entity. EntityVectorProvider's are mostly used together with lf::assemble::AssembleVectorLocally
to assemble a vector.
The type EVP
satisfies the Concept EntityVectorProvider
if given
evp
an object of type EVP
e
is a const lf::mesh::Entity objectSCALAR
is an Eigen supported scalar datatype (e.g. double
)ROWS
is the number of rows of the local element vector or Eigen::Dynamic
the following expressions are valid:
expression | return type | semantics |
---|---|---|
evp.isActive(e) | bool | Defines whether the entity e is taken into account by the assembly routine. |
evp.Eval(e) | Eigen::Matrix<SCALAR, ROWS, 1> | Returns the local element vector for mesh entity e . Is only called if evp.isActive(e)==true . |
The concept of a EntityVectorProvider is widely used in the lf::assemble
and lf::uscalfe
modules:
lf::assemble::AssembleVectorLocally()
accepts an EntityVectorProvider
which in turn defines the global vector is assembled.Definition at line 211 of file assemble_concepts.h.