21char param_elliptic_val_lim_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Param_elliptic/param_elliptic_val_lim.C,v 1.3 2014/10/13 08:53:37 j_novak Exp $" ;
51#include "param_elliptic.h"
57 if (
done_F(zone, k, j) == 0)
65 if (
done_F(zone, k, j) == 0)
73 if (
done_F(zone, k, j) == 0)
81 if (
done_F(zone, k, j) == 0)
123 int nr =
get_mp().get_mg()->get_nr(zone) ;
129 if (
var_F.get_spectral_va().c_cf->get_etat() == ETATZERO)
132 if ((*
var_F.get_spectral_va().c_cf)(zone).get_etat() == ETATZERO)
140 for (
int i=0 ; i<nr ; i++)
141 coefs.
set(i) = (*
var_F.get_spectral_va().c_cf)(zone, k, j, i) ;
145 var_F.get_spectral_va().base.give_quant_numbers (zone, k,j, lq, mq, base_r) ;
147 double alpha = get_alpha(zone) ;
149 Tbl output (val_solp(coefs, alpha, base_r)) ;
156 done_F.set(zone, k, j) = 1 ;
162 int nr =
get_mp().get_mg()->get_nr(zone) ;
168 if (
var_G.get_spectral_va().c_cf->get_etat() == ETATZERO)
171 if ((*
var_G.get_spectral_va().c_cf)(zone).get_etat() == ETATZERO)
178 for (
int i=0 ; i<nr ; i++)
179 coefs.
set(i) = (*
var_G.get_spectral_va().c_cf)(zone, 0, 0, i) ;
183 var_G.get_spectral_va().base.give_quant_numbers (zone, 0, 0, lq, mq, base_r) ;
186 double alpha = get_alpha(zone) ;
188 Tbl output (val_solp(coefs, alpha, base_r)) ;
Scalar var_G
Multiplicative variable change that must be sphericaly symetric !
Itbl done_F
Stores what has been computed for F.
double G_plus(int zone) const
Returns the value of G, for a given angular point, at the outer boundary of the domain zone ;.
void compute_val_F(int, int, int) const
Computes the various values of F.
Tbl val_dG_minus
Values of the derivative of G at the inner boundaries of the various domains.
double dG_minus(int zone) const
Returns the value of the radial derivative of G, for a given angular point, at the inner boundary of ...
Tbl val_dF_minus
Values of the derivative of F at the inner boundaries of the various domains.
double dG_plus(int zone) const
Returns the value of the radial derivative of G, for a given angular point, at the outer boundary of ...
double F_minus(int zone, int k, int j) const
Returns the value of F, for a given angular point, at the inner boundary of the domain zone ;.
const Map_radial & get_mp() const
Returns the mapping.
Tbl val_F_minus
Values of F at the inner boundaries of the various domains.
Tbl val_F_plus
Values of F at the outer boundaries of the various domains.
double F_plus(int zone, int k, int j) const
Returns the value of F, for a given angular point, at the outer boundary of the domain zone ;.
Tbl val_G_minus
Values of G at the inner boundaries of the various domains.
Tbl val_dG_plus
Values of the derivative of G at the outer boundaries of the various domains.
double dF_plus(int zone, int k, int j) const
Returns the value of the radial derivative of F, for a given angular point, at the outer boundary of ...
double dF_minus(int zone, int k, int j) const
Returns the value of the radial derivative of F, for a given angular point, at the inner boundary of ...
void compute_val_G(int) const
Computes the various values of G.
Tbl val_dF_plus
Values of the derivative of F at the outer boundaries of the various domains.
Tbl val_G_plus
Values of G at the outer boundaries of the various domains.
double G_minus(int zone) const
Returns the value of G, for a given angular point, at the inner boundary of the domain zone ;.
Itbl done_G
Stores what has been computed for G.
Scalar var_F
Additive variable change function.
void annule_hard()
Sets the Tbl to zero in a hard way.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
double & set(int i)
Read/write of a particular element (index i) (1D case).