LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
|
Element vector provider for piecewise constant whitney two forms. More...
Public Member Functions | |
WhitneyTwoVectorProvider (const std::function< SCALAR(const Eigen::Vector3d &)> &f) | |
Constructor. More... | |
Eigen::Matrix< SCALAR, Eigen::Dynamic, 1 > | Eval (const lf::mesh::Entity &entity) const |
Compute the element vector for some trinagle of the mesh. More... | |
bool | isActive (const lf::mesh::Entity &entity) const |
All entities are regarded as active. More... | |
Private Attributes | |
const std::function< SCALAR(const Eigen::Vector3d &)> | f_ |
Element vector provider for piecewise constant whitney two forms.
SCALAR | codomain type of the laodfunction |
The linear form is given by
\[ \int\limits_K\! f\, q \,\mathrm{d}x, \quad f, q \in L^2(\partial \mathbb{S}) \]
As basis functions for q we use the cellwise constant functions.
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.7.
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.10.
Definition at line 49 of file whitney_two_vector_provider.h.
|
inline |
Constructor.
f | A scalar valued function defined on the surface of the sphere linear form |
Definition at line 56 of file whitney_two_vector_provider.h.
|
inline |
Compute the element vector for some trinagle of the mesh.
entity | The mesh triangle to compute the element vector for |
Definition at line 67 of file whitney_two_vector_provider.h.
References projects::hldo_sphere::assemble::WhitneyTwoVectorProvider< SCALAR >::f_, lf::mesh::Entity::Geometry(), lf::base::RefEl::kTria(), lf::quad::make_TriaQR_EdgeMidpointRule(), lf::base::RefEl::NodeCoords(), and lf::mesh::Entity::RefEl().
|
inline |
All entities are regarded as active.
Definition at line 104 of file whitney_two_vector_provider.h.
|
private |
Definition at line 107 of file whitney_two_vector_provider.h.
Referenced by projects::hldo_sphere::assemble::WhitneyTwoVectorProvider< SCALAR >::Eval().