23 typedef std::function<Eigen::Vector3d(
const Eigen::Vector3d &)>
FunctionType;
110 const Eigen::MatrixXd &
mass_Pk3_T = Eigen::MatrixXd::Zero(1,1),
118 const std::string &
side,
120 const Eigen::MatrixXd &
mass_Pk3_T = Eigen::MatrixXd::Zero(1,1),
Base class for global DOF spaces. Provides functions to manipulate global DOFs (the local version bei...
Definition globaldofspace.hpp:16
Discrete Lie algebra valued Hdiv space: local operators, L2 product and global interpolator.
Definition laxdiv.hpp:20
Lie algebra class: mass matrix, structure constants and Lie bracket.
Definition liealgebra.hpp:17
Discrete Hcurl space: local operators, L2 product and global interpolator.
Definition xcurl.hpp:19
Discrete Hdiv space: local operators, L2 product and global interpolator.
Definition xdiv.hpp:20
Class to describe a mesh.
Definition MeshND.hpp:17
@ Matrix
Definition basis.hpp:67
const DDRCore::FaceBases & faceBases(size_t iF) const
Return face bases for the face of index iF.
Definition xdiv.hpp:92
const DDRCore::CellBases & cellBases(size_t iT) const
Return cell bases for the face of index iT.
Definition xdiv.hpp:80
const Mesh & mesh() const
Return the mesh.
Definition xdiv.hpp:48
const size_t & degree() const
Return the polynomial degree.
Definition xdiv.hpp:54
bool use_threads
Definition HHO_DiffAdvecReac.hpp:47
const LieAlgebra & m_lie_algebra
Definition laxdiv.hpp:127
const LocalOperators & cellOperators(size_t iT) const
Return cell operators for the cell of index iT.
Definition laxdiv.hpp:69
std::ostream & m_output
Definition laxdiv.hpp:130
const DDRCore::CellBases & cellBases(size_t iT) const
Return cell bases for the face of index iT.
Definition laxdiv.hpp:81
const size_t & degree() const
Return the polynomial degree.
Definition laxdiv.hpp:56
const DDRCore::CellBases & cellBases(const Cell &T) const
Return cell bases for cell T.
Definition laxdiv.hpp:87
const Mesh & mesh() const
Return the mesh.
Definition laxdiv.hpp:50
Eigen::MatrixXd divergence
Definition laxdiv.hpp:41
Eigen::MatrixXd divergence_rhs
Definition laxdiv.hpp:42
std::function< Eigen::Vector3d(const Eigen::Vector3d &)> FunctionType
Definition laxdiv.hpp:23
Eigen::VectorXd interpolate(const LAFunctionType &v, const int doe_cell=-1, const int doe_face=-1) const
Interpolator of a continuous function.
Definition laxdiv.cpp:51
const DDRCore::FaceBases & faceBases(const Face &F) const
Return cell bases for face F.
Definition laxdiv.hpp:99
Eigen::MatrixXd computeL2ProductCurl(const size_t iT, const XCurl &x_curl, const std::string &side, const double &penalty_factor=1., const Eigen::MatrixXd &mass_Pk3_T=Eigen::MatrixXd::Zero(1, 1), const IntegralWeight &weight=IntegralWeight(1.)) const
Compute the matrix of the (weighted) L2-product as 'computeL2Product', with application of the discre...
Definition laxdiv.cpp:101
bool m_use_threads
Definition laxdiv.hpp:129
std::vector< FunctionType > LAFunctionType
Definition laxdiv.hpp:24
Eigen::MatrixXd potential
Definition laxdiv.hpp:43
LocalOperators(const Eigen::MatrixXd &_divergence, const Eigen::MatrixXd &_divergence_rhs, const Eigen::MatrixXd &_potential)
Definition laxdiv.hpp:29
const XDiv & m_xdiv
Definition laxdiv.hpp:128
Eigen::MatrixXd computeL2Product(const size_t iT, const double &penalty_factor=1., const Eigen::MatrixXd &mass_Pk3_T=Eigen::MatrixXd::Zero(1, 1), const IntegralWeight &weight=IntegralWeight(1.)) const
Compute the matrix of the (weighted) L2-product for the cell of index iT.
Definition laxdiv.cpp:87
LocalOperators _compute_cell_divergence_potential(size_t iT)
Definition laxdiv.cpp:70
std::vector< std::unique_ptr< LocalOperators > > m_cell_operators
Definition laxdiv.hpp:133
const LocalOperators & cellOperators(const Cell &T) const
Return cell operators for cell T.
Definition laxdiv.hpp:75
const DDRCore::FaceBases & faceBases(size_t iF) const
Return face bases for the face of index iF.
Definition laxdiv.hpp:93
Definition ddr-magnetostatics.hpp:41
Structure to store element bases.
Definition ddrcore.hpp:86
Structure to store face bases.
Definition ddrcore.hpp:105
Structure for weights (scalar, at the moment) in integral.
Definition integralweight.hpp:36
A structure to store local operators (divergence and potential)
Definition laxdiv.hpp:28