LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
|
Element matrix provider for the bilinear form with cellwise constant basis functions. More...
Public Member Functions | |
WhitneyTwoMassMatrixProvider () | |
Constructor. More... | |
Eigen::MatrixXd | Eval (const lf::mesh::Entity &entity) const |
Compute the element matrix for some cell of a mesh. More... | |
bool | isActive (const lf::mesh::Entity &entity) const |
All entities are regarded as active. More... | |
Element matrix provider for the bilinear form with cellwise constant basis functions.
\[ (u, v) \mapsto \int\limits_{K} u \, v \ dx \]
The element matrix provider works in a 3 dimensional world with 2 dimensional triangular cells.
Basis functions are the piecewise constant functions Hence the retuned matrix is of size 1x1 and contains the area of the cell
Details regarding the mathematical derivations can be found in the thesis Hodge-Laplacians and Dirac Operators on the Surface of the 3-Sphere
section 4.2.9.
Definition at line 41 of file whitney_two_mass_matrix_provider.h.
|
inline |
Constructor.
Definition at line 46 of file whitney_two_mass_matrix_provider.h.
Eigen::MatrixXd projects::hldo_sphere::assemble::WhitneyTwoMassMatrixProvider::Eval | ( | const lf::mesh::Entity & | entity | ) | const |
Compute the element matrix for some cell of a mesh.
entity | The mesh cell to compute the element matrix for |
Definition at line 11 of file whitney_two_mass_matrix_provider.cc.
References lf::mesh::Entity::Geometry(), lf::base::RefEl::kTria(), lf::mesh::Entity::RefEl(), and lf::geometry::Volume().
|
inline |
All entities are regarded as active.
Definition at line 60 of file whitney_two_mass_matrix_provider.h.