LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
laplace_matrix_provider.h
1#ifndef HLDO_SPHERE_ASSEMBLE_LAPLACE_MATRIX_PROVIDER_H
2#define HLDO_SPHERE_ASSEMBLE_LAPLACE_MATRIX_PROVIDER_H
3
8#include <lf/mesh/entity.h>
9
10#include <Eigen/Dense>
11
12namespace projects::hldo_sphere {
13
14namespace assemble {
15
44 public:
49
58 Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const;
59
63 bool isActive(const lf::mesh::Entity &entity) const { return true; }
64
65 private:
66};
67
68} // end namespace assemble
69
70} // namespace projects::hldo_sphere
71
72#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 Laplace operator 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