LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
mass_matrix_provider.h
1#ifndef HLDO_SPHERE_ASSEMBLE_MASS_MATRIX_PROVIDER_H
2#define HLDO_SPHERE_ASSEMBLE_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
41 public:
46
55 Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const;
56
60 bool isActive(const lf::mesh::Entity &entity) const { return true; }
61
62 private:
63};
64
65} // end namespace assemble
66
67} // namespace projects::hldo_sphere
68
69#endif // HLDO_SPHERE_ASSEMBLE_LAPLACE_MATRIX_PROVIDER_H
Interface class representing a topological entity in a cellular complex
Definition: entity.h:39
Element Matrix Provider for the mass matrix using picewise linear barycentric basis functions.
Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const
Compute the element matrix for a given cell of a mesh.
bool isActive(const lf::mesh::Entity &entity) const
All entities are regarded as active.
Implementation of the thesis Hogde Laplacians and Dirac Operators on the surface of the 3-Sphere.
Definition: assemble.h:15