LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
whitney_one_mass_matrix_provider.h
1#ifndef HLDO_SPHERE_ASSEMBLE_WHITNEY_ONE_MASS_MATRIX_PROVIDER_H
2#define HLDO_SPHERE_ASSEMBLE_WHITNEY_ONE_MASS_MATRIX_PROVIDER_H
3
8#include <lf/mesh/entity.h>
9
10#include <Eigen/Dense>
11
12namespace projects::hldo_sphere {
13
14namespace assemble {
15
51 public:
56
64 Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const;
65
69 bool isActive(const lf::mesh::Entity &entity) const { return true; }
70
71 private:
72};
73
74} // end namespace assemble
75
76} // namespace projects::hldo_sphere
77
78#endif // HLDO_SPHERE_ASSEMBLE_WHITNEY_ONE_MASS_MATRIX_PROVIDER_H
Interface class representing a topological entity in a cellular complex
Definition: entity.h:39
Element matrix provider for the Whitney one mass matrix that is the dot product of two Whitney one ba...
bool isActive(const lf::mesh::Entity &entity) const
All entities are regarded as active.
Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const
Compute the element matrix for a given cell of a mesh.
Implementation of the thesis Hogde Laplacians and Dirac Operators on the surface of the 3-Sphere.
Definition: assemble.h:15