HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
HHO_DiffAdvecReac.hpp
Go to the documentation of this file.
1 // Implementation of the HHO scheme in 3D for the diffusion equation, with K piecewise constant, \beta \in H^1(\Omega)^d and \mu piecewise continuous
2 //
3 // { -div(K \grad(u) + \beta u) + \mu u = f, inside Omega
4 // { K \grad(u) . nTF = g, on GammaN
5 // { u = g, on GammaD
6 //
7 // Pure Neumann not yet working for nonzero reaction
8 
18 #include "HHO-general/HHO3D.hpp"
19 #include "boost/program_options.hpp"
20 #include <unsupported/Eigen/SparseExtra>
21 
22 const std::string mesh_dir = "../../meshes/";
23 
30 bool program_options(
31  const int,
32  const char *[],
33  std::string &,
34  std::string &,
35  std::vector<int> &,
36  size_t &,
37  size_t &,
38  std::string &,
39  bool &,
40  bool &
41 );
42 
43 // Parameters that get passed to program options
45 std::vector<int> id_tcase;
46 size_t L, K;
48 
49 // @}
const std::string mesh_dir
Definition: HHO_DiffAdvecReac.hpp:22
std::string bc_id
Definition: HHO_DiffAdvecReac.hpp:44
std::vector< int > id_tcase
Definition: HHO_DiffAdvecReac.hpp:45
bool export_matrix
Definition: HHO_DiffAdvecReac.hpp:47
bool use_threads
Definition: HHO_DiffAdvecReac.hpp:47
bool program_options(const int, const char *[], std::string &, std::string &, std::vector< int > &, size_t &, size_t &, std::string &, bool &, bool &)
A method to set all program paramters from options passed to the main function. Returns true if optio...
Definition: HHO_DiffAdvecReac.cpp:324
std::string mesh_type
Definition: HHO_DiffAdvecReac.hpp:44
size_t L
Definition: HHO_DiffAdvecReac.hpp:46
std::string mesh_name
Definition: HHO_DiffAdvecReac.hpp:44
std::string plot_file
Definition: HHO_DiffAdvecReac.hpp:44
size_t K
Definition: HHO_DiffAdvecReac.hpp:46