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
29 const int,
30 const char *[],
31 std::string &,
32 std::string &,
33 std::vector<int> &,
34 size_t &,
35 size_t &,
36 std::string &,
37 bool &,
38 bool &
39);
40
41// Parameters that get passed to program options
43std::vector<int> id_tcase;
44size_t L, K;
46
47// @}
std::string bc_id
Definition HHO_DiffAdvecReac.hpp:42
std::vector< int > id_tcase
Definition HHO_DiffAdvecReac.hpp:43
bool export_matrix
Definition HHO_DiffAdvecReac.hpp:45
bool use_threads
Definition HHO_DiffAdvecReac.hpp:45
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:44
std::string mesh_name
Definition HHO_DiffAdvecReac.hpp:42
std::string plot_file
Definition HHO_DiffAdvecReac.hpp:42
size_t K
Definition HHO_DiffAdvecReac.hpp:44