81 Scalar sou_eta = *
cmp[1] ;
83 sou_eta +=
cmp[1]->dsdt() +
cmp[2]->stdsdp();
112 Scalar tmp = *
cmp[2] ;
116 tmp +=
cmp[2]->dsdt() -
cmp[1]->stdsdp() ;
144 if (
p_eta == 0x0) { Scalar etatmp = this->
eta(); }
146 Scalar tmp = -*
cmp[0] ;
149 Scalar eta_tilde = *
p_eta ;
150 Scalar etad = eta_tilde.
dsdr() ;
153 tmp += etad + eta_tilde ;
155 p_A =
new Scalar (tmp) ;
172 assert( (
p_eta != 0x0) && (
p_mu != 0x0) ) ;
180 Scalar* p_eta_tmp =
p_eta ;
182 Scalar* p_mu_tmp =
p_mu ;
193 const Scalar& mu_i) {
204 p_eta =
new Scalar( eta_i ) ;
206 p_mu =
new Scalar( mu_i ) ;
Spherical orthonormal vectorial bases (triads).
void div_r_dzpuis(int ced_mult_r)
Division by r everywhere but with the output flag dzpuis set to ced_mult_r .
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
void div_tant()
Division by .
const Scalar & dsdr() const
Returns of *this .
void set_dzpuis(int)
Modifies the dzpuis flag.
virtual void del_deriv() const
Deletes the derived quantities.
virtual const Scalar & mu() const
Gives the field such that the angular components of the vector are written:
void update_vtvp()
Computes the components and from the potential and , according to:
Scalar * p_A
Field defined by.
virtual const Scalar & eta() const
Gives the field such that the angular components of the vector are written:
Scalar * p_mu
Field such that the angular components of the vector are written:
Scalar * p_eta
Field such that the angular components of the vector are written:
virtual const Scalar & A() const
Gives the field defined by.
void set_vr_eta_mu(const Scalar &vr_i, const Scalar &eta_i, const Scalar &mu_i)
Defines the components through potentials and (see members p_eta and p_mu ), as well as the compon...
const Map & get_mp() const
Returns the mapping.
Scalar ** cmp
Array of size n_comp of pointers onto the components.
const Base_vect * triad
Vectorial basis (triad) with respect to which the tensor components are defined.