124 assert(dynamic_cast<const Base_vect_spher*>(
triad) != 0x0) ;
150 assert(dynamic_cast<const Base_vect_spher*>(
triad) != 0x0) ;
155 int dzp_resu = ((dzp == 0) ? 0 : dzp-1) ;
181 int diff_dzp = source_eta.
get_dzpuis() - dzp_resu ;
182 assert( diff_dzp >= 0 ) ;
195 if (dynamic_cast<const Map_af*>(
mp) != 0x0) {
222 assert( dynamic_cast<const Base_vect_spher*>(
triad) != 0x0 ) ;
244 assert( dynamic_cast<const Base_vect_spher*>(
triad) != 0x0 ) ;
267 assert( dynamic_cast<const Base_vect_spher*>(
triad) != 0x0 ) ;
295 assert( dynamic_cast<const Base_vect_spher*>(
triad) != 0x0 ) ;
308 set(1,1).div_r_dzpuis(1) ;
309 set(1,1).div_r_dzpuis(2) ;
316 if (dynamic_cast<const Map_af*>(
mp) != 0x0) {
344 assert(dynamic_cast<const Base_vect_spher*>(
triad) != 0x0) ;
346 assert( (
p_eta != 0x0) && (
p_mu != 0x0) ) ;
433 if (dynamic_cast<const Map_af*>(
mp) != 0x0) {
458 if (dynamic_cast<const Map_af*>(
mp) != 0x0) {
494 zero.set_etat_zero() ;
Scalar * p_mu
Field such that the components of the tensor are written (has only meaning with spherical component...
int & set(int i)
Read/write of a particular element (index i ) (1D case)
void mult_r()
Multiplication by r everywhere; dzpuis is not changed.
void set_rr_eta_mu(const Scalar &hrr, const Scalar &eta_i, const Scalar &mu_i)
Sets the component , as well as the angular potentials and (see members p_eta and p_mu )...
const Scalar & dsdt() const
Returns of *this .
Tensor field of valence 0 (or component of a tensorial field).
void mult_sint()
Multiplication by .
Basic integer array class.
const Base_vect * triad
Vectorial basis (triad) with respect to which the tensor components are defined.
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
virtual void del_deriv() const
Deletes the derived quantities.
Scalar * p_eta
Field such that the components of the tensor are written (has only meaning with spherical component...
void set_A_tildeB(const Scalar &a_in, const Scalar &tb_in, Param *par_bc=0x0, Param *par_mat=0x0)
Assigns the derived members A and .
void set_AtB_trace(const Scalar &a_in, const Scalar &tb_in, const Scalar &trace, Param *par_bc=0x0, Param *par_mat=0x0)
Assigns the derived members A , and the trace.
void set_khi_eta_mu(const Scalar &khi_i, const Scalar &eta_i, const Scalar &mu_i)
Sets the component , as well as the angular potentials and (see members p_khi , p_eta and p_mu )...
const Scalar & khi() const
Gives the field such that the component .
void set_rr_mu(const Scalar &hrr, const Scalar &mu_i)
Sets the component , as well as the angular potential (see member p_mu ).
int get_dzpuis() const
Returns dzpuis.
Scalar ** cmp
Array of size n_comp of pointers onto the components.
virtual const Scalar & eta(Param *par=0x0) const
Gives the field (see member p_eta ).
const Scalar & stdsdp() const
Returns of *this .
void mult_cost()
Multiplication by .
void set_khi_mu(const Scalar &khi_i, const Scalar &mu_i, int dzp=0, Param *par1=0x0, Param *par2=0x0, Param *par3=0x0)
Sets the component , as well as the angular potential (see member p_khi and p_mu )...
void update(int dzp, Param *par1=0x0, Param *par2=0x0)
Computes the components , , , and , from and the potentials and .
const Scalar & srdsdt() const
Returns of *this .
Scalar * p_khi
Field such that the component .
virtual int position(const Itbl &ind) const
Returns the position in the array cmp of a component given by its indices.
const Scalar & dsdr() const
Returns of *this .
const Scalar & operator()(const Itbl &ind) const
Returns the value of a component (read-only version).
void div_sint()
Division by .
bool check_dzpuis(int dzi) const
Returns false if the last domain is compactified and *this is not zero in this domain and dzpuis is n...
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
void div_r_dzpuis(int ced_mult_r)
Division by r everywhere but with the output flag dzpuis set to ced_mult_r .
virtual void dec_dzpuis(int dec=1)
Decreases by dec units the value of dzpuis and changes accordingly the values of the Scalar in the co...
virtual void poisson_angu(const Scalar &source, Param &par, Scalar &uu, double lambda=0) const =0
Computes the solution of the generalized angular Poisson equation.
void mult_r_dzpuis(int ced_mult_r)
Multiplication by r everywhere but with the output flag dzpuis set to ced_mult_r ...
const Scalar & srstdsdp() const
Returns of *this .