1#ifndef PROJECTS_DPG_SUB_ELEMENT_VECTOR_PROVIDER
2#define PROJECTS_DPG_SUB_ELEMENT_VECTOR_PROVIDER
13#include <lf/mesh/mesh.h>
14#include <lf/uscalfe/uscalfe.h>
50template <
typename SCALAR>
55 using elem_vec_t = Eigen::Matrix<SCALAR, Eigen::Dynamic, 1>;
73 virtual
bool isActive(const
lf::mesh::Entity& ) {
return true; }
Interface class representing a topological entity in a cellular complex
Interface class providing element vectors associated with linear forms of a component of a cartesian/...
lf::uscalfe::size_type size_type
SubElementVectorProvider()=default
SubElementVectorProvider(const SubElementVectorProvider &)=delete
virtual bool isActive(const lf::mesh::Entity &)
All cells are considered active in the default implementation.
SubElementVectorProvider(SubElementVectorProvider &&) noexcept=default
virtual ~SubElementVectorProvider()=default
virtual ElemVec Eval(const lf::mesh::Entity &cell)=0
main routine for the computation of (sub) element vectors
Eigen::Matrix< SCALAR, Eigen::Dynamic, 1 > elem_vec_t
internal type for element vectors
virtual size_type TestComponent() const =0
returns the index of the test space component which is the test space for the linear form
lf::assemble::size_type size_type
Contains functionality for the implementation of DPG methods.