30char vector_etamu_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/vector_etamu.C,v 1.4 2014/10/13 08:53:45 j_novak Exp $" ;
78 Scalar sou_eta = *
cmp[1] ;
80 sou_eta +=
cmp[1]->dsdt() +
cmp[2]->stdsdp();
109 Scalar tmp = *
cmp[2] ;
113 tmp +=
cmp[2]->dsdt() -
cmp[1]->stdsdp() ;
141 if (
p_eta == 0x0) { Scalar etatmp = this->
eta(); }
143 Scalar tmp = -*
cmp[0] ;
146 Scalar eta_tilde = *
p_eta ;
147 Scalar etad = eta_tilde.
dsdr() ;
150 tmp += etad + eta_tilde ;
152 p_A =
new Scalar (tmp) ;
169 assert( (
p_eta != 0x0) && (
p_mu != 0x0) ) ;
177 Scalar* p_eta_tmp =
p_eta ;
179 Scalar* p_mu_tmp =
p_mu ;
190 const Scalar& mu_i) {
201 p_eta =
new Scalar( eta_i ) ;
203 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.