LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
whitney_two_mass_matrix_provider.h
1#ifndef HLDO_SPHERE_ASSEMBLE_WHITNEY_TWO_MASS_MATRIX_PROVIDER_H
2#define HLDO_SPHERE_ASSEMBLE_WHITNEY_TWO_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
42 public:
47
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_WHITNEY_TWO_MASS_MATRIX_PROVIDER_H
Interface class representing a topological entity in a cellular complex
Definition: entity.h:39
Element matrix provider for the bilinear form with cellwise constant basis functions.
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 some cell of a mesh.
Implementation of the thesis Hogde Laplacians and Dirac Operators on the surface of the 3-Sphere.
Definition: assemble.h:15