32 char scalar_poisson_regu_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_poisson_regu.C,v 1.3 2014/10/13 08:53:47 j_novak Exp $" ;
69 Cmp cuu_regu(uu_regu) ;
71 Cmp csource_regu(source_regu) ;
72 Cmp csource_div(source_div) ;
80 for (
int i=0; i<3; i++) {
82 Cmp tmp( duu_div(ind) ) ;
83 cduu_div.
set(i) = tmp ;
87 cuu, cuu_regu, cuu_div, cduu_div,
88 csource_regu, csource_div) ;
93 for (
int i=1; i<=3; i++) {
95 duu_div.
set(ind) = cduu_div(i-1) ;
98 source_regu = csource_regu ;
99 source_div = csource_div ;
Tensor handling *** DEPRECATED : use class Tensor instead ***.
int & set(int i)
Read/write of a particular element (index i ) (1D case)
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Basic integer array class.
Tensor field of valence 0 (or component of a tensorial field).
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.
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
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...
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Vectorial bases (triads) with respect to which the tensorial components are defined.