20 #include "system_of_eqs.hpp"
22 #include "term_eq.hpp"
24 #include "tensor_impl.hpp"
25 #include "name_tools.hpp"
32 trim_spaces(auxicst, const_part) ;
36 char auxiinteg[LMAX] ;
37 trim_spaces(auxiinteg, integ_part) ;
50 assert (residus[conte]->get_type_data()==TERM_T) ;
91 assert (residus[conte]->get_type_data()==TERM_T) ;
reference set(const Index &pos)
Read/write of an element.
Abstract class that implements the fonctionnalities common to all the type of domains.
virtual void export_tau(const Tensor &eq, int dom, int order, Array< double > &res, int &pos_res, const Array< int > &ncond, int n_cmp=-1, Array< int > **p_cmp=0x0) const
Exports all the residual equations corresponding to a tensorial one in the bulk.
Dim_array const & get_nbr_points() const
Returns the number of points.
virtual Array< int > nbr_conditions(const Tensor &eq, int dom, int order, int n_cmp=-1, Array< int > **p_cmp=0x0) const
Computes number of discretized equations associated with a given tensorial equation in the bulk.
Array< int > do_nbr_conditions(const Tensor &tt) const override
Computes the number of conditions associated with the equation.
Eq_first_integral(const System_of_eqs *syst, const Domain *dom, int dommin, int dommax, const char *integ_part, const char *const_part)
Constructor.
int dom_min
Index of the first Domain.
void export_val(int &, Term_eq **, Array< double > &, int &) const override
Generates the discretized errors, from the various Term_eq computed by the equation.
void export_der(int &, Term_eq **, Array< double > &, int &) const override
Generates the discretized variations, from the various Term_eq computed by the equation.
int dom_max
Index of the last Domain.
bool take_into_account(int) const override
Check whether the variation of the residual has to be taken into account when computing a given colum...
virtual ~Eq_first_integral()
Destructor.
Class implementing an equation.
int ndom
Number of the domain.
Array< int > * n_cond
Number of discretized equations, component by component.
MMPtr_array< Ope_eq > parts
Array of pointers on the various terms.
Class that gives the position inside a multi-dimensional Array.
bool inc(int increm, int var=0)
Increments the position of the Index.
The class Scalar does not really implements scalars in the mathematical sense but rather tensorial co...
Val_domain & set_domain(int)
Read/write of a particular Val_domain.
The Space class is an ensemble of domains describing the whole space of the computation.
const Domain * get_domain(int i) const
returns a pointer on the domain.
Class used to describe and solve a system of equations.
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.
const Space & get_space() const
Returns the Space.
This class is intended to describe the manage objects appearing in the equations.
Tensor const & get_val_t() const
Tensor const & get_der_t() const
void coef_i() const
Computes the values in the configuration space.
double & set(const Index &pos)
Read/write the value of the field in the configuration space.