|
LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
|
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 EVPe is a 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::Dynamicthe 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. Implementing Classes | |
| class | lf::fe::ScalarLoadElementVectorProvider< SCALAR, MESH_FUNCTION > |
| Local computation of general element (load) vector for scalar finite elements; volume contributions only. More... | |
| class | lf::fe::ScalarLoadEdgeVectorProvider< SCALAR, FUNCTOR, EDGESELECTOR > |
| Local edge contributions to element vector. More... | |
| class | lf::uscalfe::LinearFELocalLoadVector< SCALAR, FUNCTOR > |
| Class for computation of local load vector for linear finite elements. More... | |
| class | lf::uscalfe::ScalarLoadElementVectorProvider< SCALAR, MESH_FUNCTION > |
| Local computation of general element (load) vector for scalar finite elements; volume contributions only. More... | |
| class | lf::uscalfe::ScalarLoadEdgeVectorProvider< SCALAR, FUNCTOR, EDGESELECTOR > |
| Local edge contributions to element vector. More... | |