20 #include "headcpp.hpp"
22 #include "system_of_eqs.hpp"
23 #include "name_tools.hpp"
26 sys.
add_eq_bc (0, INNER_BC, name, nused, pused) ;
30 sys.
add_eq_bc (1, OUTER_BC, name, nused, pused) ;
39 trim_spaces (auxi, name) ;
40 sys.
add_eq_mode (0, INNER_BC, auxi, pos_cf, value) ;
Class that gives the position inside a multi-dimensional Array.
int & set(int i)
Read/write of the position in a given dimension.
void add_bc_one(System_of_eqs &syst, const char *eq, int nused=-1, Array< int > **pused=0x0)
Sets a boundary condition at .
void add_eq_zero_mode_center(System_of_eqs &syst, const char *f, int jtarget)
Adds an equation saying that one coefficient of a field is zero (at )
void add_bc_zero(System_of_eqs &syst, const char *eq, int nused=-1, Array< int > **pused=0x0)
Sets a boundary condition at .
Domain ** domains
Pointers on the various Domains.
Class used to describe and solve a system of equations.
virtual void add_eq_mode(int dom, int bb, const char *eq, const Index &pos_cf, double val)
Addition of an equation prescribing the value of one coefficient of a scalar field,...
virtual void add_eq_bc(int dom, int bb, const char *eq, int n_cmp=-1, Array< int > **p_cmp=nullptr)
Addition of an equation describing a boundary condition.