HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Loading...
Searching...
No Matches
HHO_DiffAdvecReac.hpp
Go to the documentation of this file.
1// Implementation of the HHO scheme in 2D 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/HHO2D.hpp"
19#include "boost/program_options.hpp"
20#include <unsupported/Eigen/SparseExtra>
21
22const std::string mesh_dir = "../../typ2_meshes/";
23
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
45std::vector<int> id_tcase;
46size_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
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