84 :
Vector(map, CON, triad_i),
95 Vector(source), met_div(source.met_div) {
107 const Metric& met, FILE* fd) :
Vector(mapping, triad_i, fd),
180 assert( dynamic_cast<const Base_vect_spher*>(
triad) != 0x0 ) ;
213 dvr -= 2. * (*
cmp[0]) ;
Metric for tensor calculation.
virtual void del_deriv() const
Deletes the derived quantities.
Tensor field of valence 0 (or component of a tensorial field).
Base class for coordinate mappings.
const Metric *const met_div
Metric with respect to which the divergence is defined.
const Base_vect * triad
Vectorial basis (triad) with respect to which the tensor components are defined.
void operator=(const Vector_divfree &a)
Assignment from another Vector_divfree.
void update_vtvp()
Computes the components and from the potential and , according to: .
Tensor field of valence 1.
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
Vectorial bases (triads) with respect to which the tensorial components are defined.
void set_der_0x0() const
Sets the pointers on derived quantities to 0x0.
virtual void del_deriv() const
Deletes the derived quantities.
int get_dzpuis() const
Returns dzpuis.
virtual ~Vector_divfree()
Destructor.
Scalar ** cmp
Array of size n_comp of pointers onto the components.
Scalar * p_mu
Field such that the angular components of the vector are written: .
virtual const Scalar & eta() const
Gives the field such that the angular components of the vector are written: .
Spherical orthonormal vectorial bases (triads).
virtual void operator=(const Vector &a)
Assignment from a Vector.
Vector_divfree(const Map &map, const Base_vect &triad_i, const Metric &met)
Standard constructor.
void set_vr_mu(const Scalar &vr_i, const Scalar &mu_i)
Sets the angular potentials (see member p_mu ), and the component of the vector.
const Scalar & dsdr() const
Returns of *this .
Scalar * p_eta
Field such that the angular components of the vector are written: .
void mult_r_dzpuis(int ced_mult_r)
Multiplication by r everywhere but with the output flag dzpuis set to ced_mult_r ...