LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
utils.h
1#ifndef THESIS_MESH_UTILS_H
2#define THESIS_MESH_UTILS_H
3
10#include <lf/mesh/entity.h>
11
12namespace projects::ipdg_stokes {
13
14namespace mesh {
15
25Eigen::Matrix<double, 2, 3> computeOutwardNormals(
26 const lf::mesh::Entity &entity);
27
38Eigen::Matrix<double, 2, 3> computeTangentials(const lf::mesh::Entity &entity);
39
40} // end namespace mesh
41
42} // end namespace projects::ipdg_stokes
43
44#endif // THESIS_MESH_UTILS_H
Interface class representing a topological entity in a cellular complex
Definition: entity.h:39
Eigen::Matrix< double, 2, 3 > computeOutwardNormals(const lf::mesh::Entity &entity)
Compute the outward pointing normals of a triangle.
Definition: utils.cc:7
Eigen::Matrix< double, 2, 3 > computeTangentials(const lf::mesh::Entity &entity)
Compute the tangentials onto a triangle.
Definition: utils.cc:36