30 char vector_divfree_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/vector_divfree.C,v 1.8 2014/10/13 08:53:44 j_novak Exp $" ;
81 :
Vector(map, CON, triad_i),
92 Vector(source), met_div(source.met_div) {
104 const Metric& met, FILE* fd) :
Vector(mapping, triad_i, fd),
210 dvr -= 2. * (*
cmp[0]) ;
Metric for tensor calculation.
virtual void del_deriv() const
Deletes the derived quantities.
const Scalar & dsdr() const
Returns of *this .
virtual const Scalar & eta() 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 ** cmp
Array of size n_comp of pointers onto the components.
void mult_r_dzpuis(int ced_mult_r)
Multiplication by r everywhere but with the output flag dzpuis set to ced_mult_r .
Tensor field of valence 0 (or component of a tensorial field).
Spherical orthonormal vectorial bases (triads).
void set_der_0x0() const
Sets the pointers on derived quantities to 0x0.
const Base_vect * triad
Vectorial basis (triad) with respect to which the tensor components are defined.
virtual ~Vector_divfree()
Destructor.
Tensor field of valence 1.
virtual void operator=(const Vector &a)
Assignment from a Vector.
void operator=(const Vector_divfree &a)
Assignment from another Vector_divfree.
const Metric *const met_div
Metric with respect to which the divergence is defined.
Scalar * p_mu
Field such that the angular components of the vector are written:
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.
virtual void del_deriv() const
Deletes the derived quantities.
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
int get_dzpuis() const
Returns dzpuis.
Base class for coordinate mappings.
Vectorial bases (triads) with respect to which the tensorial components are defined.
Scalar * p_eta
Field such that the angular components of the vector are written: