20 #include "headcpp.hpp"
22 #include "utilities.hpp"
25 #include "tensor_impl.hpp"
26 #include "system_of_eqs.hpp"
27 #include "name_tools.hpp"
86 for (
int d=6 ; d<=10 ; d++)
152 for (
int d=6 ; d<=10 ; d++)
156 for (
int d=0 ; d<
nshells ; d++) {
235 cerr <<
"add_eq_int_inf requires a compactified domain" << endl ;
243 bool indic = sys.
is_ope_bin(nom, p1, p2,
'=') ;
245 cerr <<
"= needed for equations" << endl ;
250 indic = ((p2[0]==
'0') && (p2[1]==
' ') && (p2[2]==
'\0')) ?
272 trim_spaces (auxi, name) ;
280 trim_spaces (auxi, name) ;
Class for a spherical compactified domain and a symmetry with respect to the plane .
Class implementing an integral equation.
Class that gives the position inside a multi-dimensional Array.
Class for storing a list of tensorial components.
int get_ncomp() const
Returns the number of components.
Array< int > ** get_pcomp() const
Returns a pointer of the liste.
The operator substraction.
void add_eq(System_of_eqs &syst, const char *eq, const char *rac, const char *rac_der, int nused=-1, Array< int > **pused=0x0)
Adds a bulk equation and two matching conditions.
void add_eq_noshell(System_of_eqs &syst, const char *eq, const char *rac, const char *rac_der, int nused=-1, Array< int > **pused=0x0)
Adds a bulk equation and two matching conditions.
void add_eq_ori_two(System_of_eqs &syst, const char *eq)
Adds an equation being the value of some field at the origin of the first nucleus.
void add_eq_nozec(System_of_eqs &syst, const char *eq, const char *rac, const char *rac_der, int nused=-1, Array< int > **pused=0x0)
Adds a bulk equation and two matching conditions.
int nshells
Number of outer shells.
void add_eq_ori_one(System_of_eqs &syst, const char *eq)
Adds an equation being the value of some field at the origin of the first nucleus.
void add_eq_int_inf(System_of_eqs &syst, const char *eq)
Adds an equation being a surface integral at infinity.
Domain ** domains
Pointers on the various Domains.
int nbr_domains
Number od Domains.
Class used to describe and solve a system of equations.
virtual void add_eq_inside(int dom, const char *eq, int n_cmp=-1, Array< int > **p_cmp=nullptr)
Addition of an equation to be solved inside a domain (assumed to be second order).
virtual void add_eq_matching_import(int dom, int bb, const char *eq, int n_cmp=-1, Array< int > **p_cmp=nullptr)
Addition of an equation describing a matching condition between domains using the ("import" setting) ...
virtual void add_eq_matching(int dom, int bb, const char *eq, int n_cmp=-1, Array< int > **p_cmp=nullptr)
Addition of an equation describing a matching condition between two domains (standard setting)
int neq_int
Number of integral equations (i.e. which are doubles)
bool is_ope_bin(const char *input, char *p1, char *p2, char symb) const
Checks if a string represents an operator of the type "a + b".
Ope_eq * give_ope(int dom, const char *name, int bb=0) const
Function that reads a string and returns a pointer on the generated Ope_eq.
virtual void add_eq_val(int dom, const char *eq, const Index &pos)
Addition of an equation saying that the value of a field must be zero at one collocation point.
int nbr_conditions
Total number of conditions (the number of coefficients of all the equations, once regularities are ta...
MMPtr_array< Eq_int > eq_int
Pointers onto the integral equations.