30char 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),
104 const Metric& met, FILE* fd) :
Vector(mapping, triad_i, fd),
205 int dzp =
cmp[0]->get_dzpuis() ;
210 dvr -= 2. * (*
cmp[0]) ;
Spherical orthonormal vectorial bases (triads).
Vectorial bases (triads) with respect to which the tensorial components are defined.
Metric for tensor calculation.
Tensor field of valence 0 (or component of a tensorial field).
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
void mult_r_dzpuis(int ced_mult_r)
Multiplication by r everywhere but with the output flag dzpuis set to ced_mult_r .
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.
Vector_divfree(const Map &map, const Base_vect &triad_i, const Metric &met)
Standard constructor.
virtual void del_deriv() const
Deletes the derived quantities.
const Metric *const met_div
Metric with respect to which the divergence is defined.
virtual ~Vector_divfree()
Destructor.
virtual const Scalar & eta() const
Gives the field such that the angular components of the vector are written:
void operator=(const Vector_divfree &a)
Assignment from another Vector_divfree.
void set_der_0x0() const
Sets the pointers on derived quantities to 0x0.
virtual void del_deriv() const
Deletes the derived quantities.
void update_vtvp()
Computes the components and from the potential and , according to:
Vector(const Map &map, int tipe, const Base_vect &triad_i)
Standard constructor.
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 void operator=(const Vector &a)
Assignment from a Vector.
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.
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.