HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Functions | Variables
HHO_DiffAdvecReac

HHO scheme for a diffusion-advection-reaction scheme. More...

Functions

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 options are valid, false otherwise. More...
 

Variables

std::string mesh_name
 
std::string bc_id
 
std::string plot_file
 
std::vector< int > id_tcase
 
size_t L
 
size_t K
 
bool use_threads
 
bool export_matrix
 

Detailed Description

HHO scheme for a diffusion-advection-reaction scheme.

Function Documentation

◆ program_options()

bool program_options ( const int  argc,
const char *  argv[],
std::string &  mesh_name,
std::string &  bc_id,
std::vector< int > &  id_tcase,
size_t &  L,
size_t &  K,
std::string &  plot_file,
bool &  use_threads,
bool &  export_matrix 
)

A method to set all program paramters from options passed to the main function. Returns true if options are valid, false otherwise.

Parameters
argcThe number of options passed to the main function
argvAn array of all options passed to the main function
mesh_nameThe mesh name
bc_idThe boundary condition ID
id_tcaseThe test case ID
LCell polynomial degree
KEdge polynomial degree
plot_fileFile to plot to
use_threadsOption to use multi-threading
export_matrixOption to export the system matrix

Variable Documentation

◆ bc_id

std::string bc_id

◆ export_matrix

bool export_matrix

◆ id_tcase

std::vector<int> id_tcase

◆ K

size_t K

◆ L

size_t L

◆ mesh_name

std::string mesh_name

◆ plot_file

std::string plot_file

◆ use_threads

bool use_threads