HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
Loading...
Searching...
No Matches
exterior_cell.hpp
Go to the documentation of this file.
1#ifndef EXTERIOR_CELL_HPP
2#define EXTERIOR_CELL_HPP
3
5#include "MeshObject.hpp"
6
7namespace HArDCore3D {
8
9 template<size_t space_dim,size_t object_dim>
10 class Cell_basis {
11 public:
13 Cell_basis() : _r(-1) {;}
14
15 friend class DDR_PEC;
16 private:
17 template<size_t l> void _cmp_pb_recurse();
18 static Eigen::Matrix<double, object_dim, space_dim> _init_trace(const MeshND::MeshObject<space_dim,object_dim> & f);
19
20 int _r;
21 double _scale; // 1/h_f, scaling from global chart to element's
22 Eigen::Matrix<double, object_dim, space_dim> _tr;
24 std::array<Eigen::MatrixXd,object_dim+1> _exterior_l2;
25 // Must be initialized by a friend class
26 Eigen::MatrixXd _scalar_mass;
27 std::vector<Eigen::MatrixXd> _traces; // Maps the scalar basis on the cell to the one on the boundary
28 std::vector<std::array<Eigen::MatrixXd,object_dim>> _ext_traces;
29
30 // the mass is given by kronecker(_exterior_l2[k],_scalar_mass);
31 // the mapping to a trace is given by Kronecker(_ext_traces[j][k],_trace[j])
32 };
33
34}
35
36#endif
37
Definition exterior_cell.hpp:10
Cell_basis()
Definition exterior_cell.hpp:13
Definition ddr_pec.hpp:15
Definition exterior_evaluation.hpp:15
Generic class to describe a cell, face, edge or vertex.
Definition MeshObject.hpp:57
@ Matrix
Definition basis.hpp:67
Definition ddr-magnetostatics.hpp:41