20 #include "headcpp.hpp"
21 #include "adapted.hpp"
22 #include "utilities.hpp"
25 #include "tensor_impl.hpp"
26 #include "system_of_eqs.hpp"
27 #include "name_tools.hpp"
34 cerr <<
"add_eq_int_inf requires a compactified domain" << endl ;
42 bool indic = sys.
is_ope_bin(nom, p1, p2,
'=') ;
44 cerr <<
"= needed for equations" << endl ;
63 bool indic = sys.
is_ope_bin(nom, p1, p2,
'=') ;
65 cerr <<
"= needed for equations" << endl ;
73 for (
int d=0 ; d<nz ; d++)
Class for a spherical compactified domain and a symmetry with respect to the plane .
Class implementing an integral equation.
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_int_inf(System_of_eqs &syst, const char *eq)
Adds an equation being a surface integral at infinity.
void add_eq_int_volume(System_of_eqs &syst, int nz, const char *eq)
Adds an equation being a volume integral in the domains below a given number.
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(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.
int get_dom_max() const
Returns the highest index of the domains.
int nbr_conditions
Total number of conditions (the number of coefficients of all the equations, once regularities are ta...
int get_dom_min() const
Returns the smallest index of the domains.
MMPtr_array< Eq_int > eq_int
Pointers onto the integral equations.