1#ifndef PROJECTS_DPG_SUB_ELEMENT_MATRIX_PROVIDER
2#define PROJECTS_DPG_SUB_ELEMENT_MATRIX_PROVIDER
13#include <lf/mesh/mesh.h>
14#include <lf/uscalfe/uscalfe.h>
54template <
typename SCALAR>
59 using elem_mat_t = Eigen::Matrix<SCALAR, Eigen::Dynamic, Eigen::Dynamic>;
78 virtual
bool isActive(const
lf::mesh::Entity& ) {
return true; }
Interface class representing a topological entity in a cellular complex
Interface class providing sub element matrices associated with bilinear forms between components of C...
virtual bool isActive(const lf::mesh::Entity &)
All cells are considered active in the default implementation.
virtual ElemMat Eval(const lf::mesh::Entity &cell)=0
main routine for the computation of (sub) element matrices
virtual size_type TrialComponent() const =0
returns the index of the trial space component which is the trial space for the bilinear form
virtual size_type TestComponent() const =0
returns the index of the test space component which is the test space for the bilinear form
SubElementMatrixProvider(SubElementMatrixProvider &&) noexcept=default
lf::uscalfe::size_type size_type
SubElementMatrixProvider()=default
virtual ~SubElementMatrixProvider()=default
Eigen::Matrix< SCALAR, Eigen::Dynamic, Eigen::Dynamic > elem_mat_t
internal type for element matrices
SubElementMatrixProvider(const SubElementMatrixProvider &)=delete
standard constructors
lf::assemble::size_type size_type
Contains functionality for the implementation of DPG methods.