30 char sym_tensor_tt_etamu_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/sym_tensor_tt_etamu.C,v 1.18 2014/10/13 08:53:44 j_novak Exp $" ;
152 int dzp_resu = ((dzp == 0) ? 0 : dzp-1) ;
178 int diff_dzp = source_eta.
get_dzpuis() - dzp_resu ;
179 assert( diff_dzp >= 0 ) ;
192 if (
dynamic_cast<const Map_af*
>(
mp) != 0x0) {
313 if (
dynamic_cast<const Map_af*
>(
mp) != 0x0) {
343 assert( (
p_eta != 0x0) && (
p_mu != 0x0) ) ;
430 if (
dynamic_cast<const Map_af*
>(
mp) != 0x0) {
455 if (
dynamic_cast<const Map_af*
>(
mp) != 0x0) {
491 zero.set_etat_zero() ;
Spherical orthonormal vectorial bases (triads).
Basic integer array class.
int & set(int i)
Read/write of a particular element (index i ) (1D case)
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.
Tensor field of valence 0 (or component of a tensorial field).
const Scalar & srdsdt() const
Returns of *this .
void div_r_dzpuis(int ced_mult_r)
Division by r everywhere but with the output flag dzpuis set to ced_mult_r .
const Scalar & dsdt() const
Returns of *this .
void div_sint()
Division by .
int get_dzpuis() const
Returns dzpuis.
void mult_cost()
Multiplication by .
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
const Scalar & srstdsdp() const
Returns of *this .
const Scalar & stdsdp() const
Returns of *this .
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...
void div_r()
Division by r everywhere; dzpuis is not changed.
const Scalar & dsdr() const
Returns of *this .
void mult_sint()
Multiplication by .
void mult_r_dzpuis(int ced_mult_r)
Multiplication 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...
void mult_r()
Multiplication by r everywhere; dzpuis is not changed.
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.
virtual void del_deriv() const
Deletes the derived quantities.
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 set_rr_mu(const Scalar &hrr, const Scalar &mu_i)
Sets the component , as well as the angular potential (see member p_mu ).
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 .
Scalar * p_khi
Field such that the component .
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 ).
void update(int dzp, Param *par1=0x0, Param *par2=0x0)
Computes the components , , , and , from and the potentials and .
virtual const Scalar & eta(Param *par=0x0) const
Gives the field (see member p_eta ).
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 & khi() const
Gives the field such that the component .
Scalar * p_mu
Field such that the components of the tensor are written (has only meaning with spherical component...
Scalar * p_eta
Field such that the components of the tensor are written (has only meaning with spherical component...
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
const Scalar & operator()(const Itbl &ind) const
Returns the value of a component (read-only version).
Scalar ** cmp
Array of size n_comp of pointers onto the components.
virtual int position(const Itbl &ind) const
Returns the position in the array cmp of a component given by its indices.
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
const Base_vect * triad
Vectorial basis (triad) with respect to which the tensor components are defined.