1#include "whitney_one_curl_curl_matrix_provider.h"
3#include <lf/uscalfe/lagr_fe.h>
15 "Unsupported cell type " << entity.
RefEl());
18 const auto *geom = entity.
Geometry();
26 for (
int i = 0; i < 3; i++) {
31 Eigen::MatrixXd elem_mat = Eigen::MatrixXd::Ones(3, 3);
32 for (
int i = 0; i < 3; i++) {
33 for (
int j = 0; j < 3; j++) {
34 elem_mat(i, j) = s(i) * s(j);
const Eigen::MatrixXd & NodeCoords() const
Get the coordinates of the nodes of this reference element.
static constexpr RefEl kTria()
Returns the reference triangle.
virtual Eigen::MatrixXd Global(const Eigen::MatrixXd &local) const =0
Map a number of points in local coordinates into the global coordinate system.
Interface class representing a topological entity in a cellular complex
virtual const geometry::Geometry * Geometry() const =0
Describes the geometry of this entity.
virtual nonstd::span< const Orientation > RelativeOrientations() const =0
return span of relative orientations of sub-entities of the next higher co-dimension.
virtual base::RefEl RefEl() const =0
Describes the reference element type of this entity.
Eigen::MatrixXd Eval(const lf::mesh::Entity &entity) const
Compute the element matrix for some triangle of a mesh.
double Volume(const Geometry &geo)
Compute the (approximate) volume (area) of a shape.
int to_sign(Orientation o)
Collection of matrix and vector element providers.