LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
whitney_one_grad_matrix_provider.h
1#ifndef HLDO_SPHERE_ASSEMBLE_WHITNEY_ONE_GRAD_MATRIX_PROVIDER_H
2#define HLDO_SPHERE_ASSEMBLE_WHITNEY_ONE_GRAD_MATRIX_PROVIDER_H
3
8#include <lf/mesh/entity.h>
9
10#include <Eigen/Dense>
11
12namespace projects::hldo_sphere {
13
14namespace assemble {
15
52 public:
57
65 Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const;
66
70 bool isActive(const lf::mesh::Entity &entity) const { return true; }
71
72 private:
73};
74
75} // end namespace assemble
76
77} // namespace projects::hldo_sphere
78
79#endif // HLDO_SPHERE_ASSEMBLE_WHITNEY_ONE_GRAD_MATRIX_PROVIDER_H
Interface class representing a topological entity in a cellular complex
Definition: entity.h:39
Element matrix provider Whitney one forms, surface vector fields.
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