22 typedef std::function<Eigen::Matrix2d(
const Eigen::Vector2d &)>
FunctionType;
30 const Eigen::MatrixXd &
_divdiv,
58 inline size_t size()
const {
63 std::array<MatrixRd, 3> m_basis;
83 Eigen::VectorXd interpolate(
90 Eigen::MatrixXd computeL2Product(
98 inline const LocalOperators & cellOperators(
size_t iT)
const
100 return *m_cell_operators[
iT];
104 inline const Eigen::MatrixXd & edgePotential(
size_t iE)
const
106 return m_edge_potentials[
iE];
110 inline const Eigen::MatrixXd & edgePotential(
const Edge & E)
const
112 return m_edge_potentials[E.global_index()];
116 inline const PlatesCore::CellBases & cellBases(
size_t iT)
const
122 inline const PlatesCore::CellBases & cellBases(
const Cell &
T)
const
128 inline const PlatesCore::EdgeBases & edgeBases(
size_t iE)
const
134 inline const PlatesCore::EdgeBases & edgeBases(
const Edge & E)
const
147 Eigen::MatrixXd _compute_edge_potential(
size_t iE);
151 std::ostream & m_output;
157 std::vector<std::unique_ptr<LocalOperators> > m_cell_operators;
158 std::vector<Eigen::MatrixXd> m_edge_potentials;
static auto tau
Definition basis-test.cpp:71
Base class for global DOF spaces. Provides functions to manipulate global DOFs (the local version bei...
Definition globaldofspace.hpp:16
Construct all polynomial spaces for the plates sequence.
Definition platescore.hpp:25
Discrete Hdivdiv space.
Definition xdivdiv.hpp:20
for i
Definition convergence_analysis.m:48
Eigen::Matrix2d MatrixRd
Definition basis.hpp:54
bool use_threads
Definition HHO_DiffAdvecReac.hpp:45
MatrixRd FunctionValue
Definition xdivdiv.hpp:48
const Mesh & mesh() const
Return the mesh.
Definition xdivdiv.hpp:70
FunctionValue function(size_t i) const
Definition xdivdiv.hpp:52
std::function< Eigen::Matrix2d(const Eigen::Vector2d &)> FunctionType
Definition xdivdiv.hpp:22
size_t size() const
Definition xdivdiv.hpp:58
SymmetricMatrixBasisVertex()
Definition xdivdiv.cpp:16
Eigen::MatrixXd divdiv_rhs
Definition xdivdiv.hpp:42
std::function< Eigen::Matrix2d(const Eigen::Matrix2d &)> ConstitutiveLawType
Definition xdivdiv.hpp:24
Eigen::MatrixXd divdiv
Definition xdivdiv.hpp:41
LocalOperators(const Eigen::MatrixXd &_divdiv, const Eigen::MatrixXd &_divdiv_rhs, const Eigen::MatrixXd &_potential)
Definition xdivdiv.hpp:29
const size_t & degree() const
Definition xdivdiv.hpp:77
std::function< double(const Eigen::Vector2d &, const Edge &)> EdgeFunctionType
Definition xdivdiv.hpp:23
Eigen::MatrixXd potential
Definition xdivdiv.hpp:43
depending on the Matrix Market format indicated by or array(dense array storage). The data will be duplicated % as appropriate if symmetry is indicated in the header. % % Optionally
if(strcmp(field, 'real')) % real valued entries T
Definition mmread.m:93
Definition mhd-solutions.hpp:9
A structure to store the local operators (divdiv and potential)
Definition xdivdiv.hpp:28
Basis for the space of symmetric matrices.
Definition xdivdiv.hpp:47