HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
sxdiv.hpp
Go to the documentation of this file.
1 #ifndef SXDIV_HPP
2 #define SXDIV_HPP
3 
4 #include <xdiv.hpp>
5 #include <sxcurl.hpp>
6 
7 namespace HArDCore3D
8 {
15 
17  class SXDiv : public XDiv
18  {
19  public:
20 
22  SXDiv(const DDRCore & ddr_core, bool use_threads = true, std::ostream & output = std::cout);
23 
25  Eigen::MatrixXd computeL2ProductCurl(
26  const size_t iT,
27  const SXCurl & sx_curl,
28  const std::string & side,
29  const double & penalty_factor = 1.,
30  const Eigen::MatrixXd & mass_Pk3_T = Eigen::MatrixXd::Zero(1,1),
31  const IntegralWeight & weight = IntegralWeight(1.)
32  ) const;
33 
34 
35  };
36 } // end of namespace HArDCore3D
37 
38 #endif
Construct all polynomial spaces for the DDR sequence.
Definition: ddrcore.hpp:62
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
SXDiv(const DDRCore &ddr_core, bool use_threads=true, std::ostream &output=std::cout)
Constructor.
Definition: sxdiv.cpp:10
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: sxdiv.cpp:19
bool use_threads
Definition: HHO_DiffAdvecReac.hpp:47
Definition: ddr-magnetostatics.hpp:40
Structure for weights (scalar, at the moment) in integral.
Definition: integralweight.hpp:36