72 Cmp cuu_regu(uu_regu) ;
74 Cmp csource_regu(source_regu) ;
75 Cmp csource_div(source_div) ;
83 for (
int i=0; i<3; i++) {
85 Cmp tmp( duu_div(ind) ) ;
86 cduu_div.
set(i) = tmp ;
90 cuu, cuu_regu, cuu_div, cduu_div,
91 csource_regu, csource_div) ;
96 for (
int i=1; i<=3; i++) {
98 duu_div.
set(ind) = cduu_div(i-1) ;
101 source_regu = csource_regu ;
102 source_div = csource_div ;
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
int & set(int i)
Read/write of a particular element (index i ) (1D case)
Tensor field of valence 0 (or component of a tensorial field).
Basic integer array class.
void poisson_regular(int k_div, int nzet, double unsgam1, Param &par, Scalar &uu, Scalar &uu_regu, Scalar &uu_div, Tensor &duu_div, Scalar &source_regu, Scalar &source_div) const
Solves the scalar Poisson equation with *this as a source (version with parameters to control the res...
Vectorial bases (triads) with respect to which the tensorial components are defined.
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
virtual void poisson_regular(const Cmp &source, int k_div, int nzet, double unsgam1, Param &par, Cmp &uu, Cmp &uu_regu, Cmp &uu_div, Tenseur &duu_div, Cmp &source_regu, Cmp &source_div) const =0
Computes the solution of a scalar Poisson equation.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
Tensor handling *** DEPRECATED : use class Tensor instead ***.