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
lasxdiv.hpp
Go to the documentation of this file.
1#ifndef LASXDIV_HPP
2#define LASXDIV_HPP
3
4#include <laxdiv.hpp>
5#include <sxdiv.hpp>
6#include <sxcurl.hpp>
7#include <unsupported/Eigen/KroneckerProduct>
8
9namespace HArDCore3D
10{
17
19 class LASXDiv : public LAXDiv
20 {
21 public:
22
24 LASXDiv(const LieAlgebra & lie_algebra, const XDiv & xdiv, const SXDiv & sxdiv, bool use_threads = true, std::ostream & output = std::cout);
25
27 inline const LieAlgebra & lieAlg() const
28 {
29 return m_lie_algebra;
30 }
31
33 Eigen::MatrixXd computeL2ProductCurl(
34 const size_t iT,
35 const SXCurl & sx_curl,
36 const std::string & side,
37 const double & penalty_factor = 1.,
38 const Eigen::MatrixXd & mass_Pk3_T = Eigen::MatrixXd::Zero(1,1),
40 ) const;
41 private:
42 const SXDiv & m_sxdiv;
43
44 };
45} // end of namespace HArDCore3D
46
47#endif
Discrete Serendipity Hdiv space: local operators, L2 product and global interpolator.
Definition lasxdiv.hpp:20
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 Serendipity Hcurl space: local operators, L2 product and global interpolator.
Definition sxcurl.hpp:21
Discrete Serendipity Hdiv space: local operators, L2 product and global interpolator.
Definition sxdiv.hpp:18
Discrete Hdiv space: local operators, L2 product and global interpolator.
Definition xdiv.hpp:20
@ Matrix
Definition basis.hpp:67
bool use_threads
Definition HHO_DiffAdvecReac.hpp:47
const LieAlgebra & m_lie_algebra
Definition laxdiv.hpp:127
const LieAlgebra & lieAlg() const
Return the Lie algebra.
Definition lasxdiv.hpp:27
Eigen::MatrixXd computeL2ProductCurl(const size_t iT, const SXCurl &sx_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 lasxdiv.cpp:19
Definition ddr-magnetostatics.hpp:41
Structure for weights (scalar, at the moment) in integral.
Definition integralweight.hpp:36