31char param_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Param/param.C,v 1.9 2014/10/13 08:53:37 j_novak Exp $" ;
248 if (index >=
n_int) {
276 if (
p_int[index] != 0x0) {
277 cout <<
"Param::add_int : the position " << index
278 <<
" is already occupied !" <<
endl ;
297 return *(
p_int[index]) ;
346 cout <<
"Param::add_double : the position " << index
347 <<
" is already occupied !" <<
endl ;
415 cout <<
"Param::add_int_mod : the position " << index
416 <<
" is already occupied !" <<
endl ;
483 cout <<
"Param::add_double_mod : the position " << index
484 <<
" is already occupied !" <<
endl ;
524 if (index >=
n_tbl) {
551 if (
p_tbl[index] != 0x0) {
552 cout <<
"Param::add_tbl : the position " << index
553 <<
" is already occupied !" <<
endl ;
572 return *(
p_tbl[index]) ;
621 cout <<
"Param::add_tbl_mod : the position " << index
622 <<
" is already occupied !" <<
endl ;
689 if (
p_itbl[index] != 0x0) {
690 cout <<
"Param::add_itbl : the position " << index
691 <<
" is already occupied !" <<
endl ;
759 cout <<
"Param::add_itbl_mod : the position " << index
760 <<
" is already occupied !" <<
endl ;
827 cout <<
"Param::add_matrice : the position " << index
828 <<
" is already occupied !" <<
endl ;
896 cout <<
"Param::add_matrice_mod : the position " << index
897 <<
" is already occupied !" <<
endl ;
937 if (index >=
n_cmp) {
964 if (
p_cmp[index] != 0x0) {
965 cout <<
"Param::add_cmp : the position " << index
966 <<
" is already occupied !" <<
endl ;
985 return *(
p_cmp[index]) ;
1034 cout <<
"Param::add_cmp_mod : the position " << index
1035 <<
" is already occupied !" <<
endl ;
1103 cout <<
"Param::add_tenseur : the position " << index
1104 <<
" is already occupied !" <<
endl ;
1172 cout <<
"Param::add_tenseur_mod : the position " << index
1173 <<
" is already occupied !" <<
endl ;
1213 if (index >=
n_map) {
1240 if (
p_map[index] != 0x0) {
1241 cout <<
"Param::add_map : the position " << index
1242 <<
" is already occupied !" <<
endl ;
1261 return *(
p_map[index]) ;
1310 cout <<
"Param::add_mtbl_cf : the position " << index
1311 <<
" is already occupied !" <<
endl ;
1378 cout <<
"Param::add_scalar : the position " << index
1379 <<
" is already occupied !" <<
endl ;
1447 cout <<
"Param::add_scalar_mod : the position " << index
1448 <<
" is already occupied !" <<
endl ;
1516 cout <<
"Param::add_tensor : the position " << index
1517 <<
" is already occupied !" <<
endl ;
1585 cout <<
"Param::add_tensor_mod : the position " << index
1586 <<
" is already occupied !" <<
endl ;
1654 cout <<
"Param::add_etoile : the position " << index
1655 <<
" is already occupied !" <<
endl ;
1719 if (
p_star[index] != 0x0) {
1720 cout <<
"Param::add_star : the position " << index
1721 <<
" is already occupied !" <<
endl ;
1740 return *(
p_star[index]) ;
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Base class for stars *** DEPRECATED : use class Star instead ***.
Time evolution with partial storage (*** under development ***).
Basic integer array class.
Base class for coordinate mappings.
Coefficients storage for the multi-domain spectral method.
int get_n_cmp_mod() const
Returns the number of modifiable Cmp 's addresses in the list.
Tensor & get_tensor_mod(int position=0) const
Returns the reference of a modifiable Tensor stored in the list.
void add_double(const double &x, int position=0)
Adds the the address of a new double to the list.
const Itbl & get_itbl(int position=0) const
Returns the reference of a Itbl stored in the list.
int get_n_itbl() const
Returns the number of Itbl 's addresses in the list.
const Map ** p_map
Array (size n_map ) of the Map 's addresses.
int get_n_itbl_mod() const
Returns the number of modifiable Itbl 's addresses in the list.
const Mtbl_cf ** p_mtbl_cf
Array (size n_mtbl_cf ) of the Mtbl_cf 's addresses.
const int ** p_int
Array (size n_int ) of the int 's addresses.
int n_scalar
Number of Scalar 's
int n_matrice
Number of Matrice 's
void add_scalar_mod(Scalar &ti, int position=0)
Adds the address of a new modifiable Scalar to the list.
Cmp & get_cmp_mod(int position=0) const
Returns the reference of a modifiable Cmp stored in the list.
Scalar ** p_scalar_mod
Array (size n_scalar_mod ) of the modifiable Scalar 's addresses.
int get_n_matrice_mod() const
Returns the number of modifiable Matrice 's addresses in the list.
void add_matrice(const Matrice &ti, int position=0)
Adds the address of a new Matrice to the list.
Tbl ** p_tbl_mod
Array (size n_tbl_mod ) of the modifiable Tbl 's addresses.
const Matrice ** p_matrice
Array (size n_matrice ) of the Matrice 's addresses.
const double ** p_double
Array (size n_double ) of the double 's addresses.
void add_map(const Map &mi, int position=0)
Adds the address of a new Map to the list.
int n_int_mod
Number of modifiable int 's (integers).
Scalar & get_scalar_mod(int position=0) const
Returns the reference of a modifiable Scalar stored in the list.
const Star ** p_star
Array (size n_star ) of the Star 's addresses.
const Scalar ** p_scalar
Array (size n_scalar ) of the Scalar 's addresses.
const int & get_int(int position=0) const
Returns the reference of a int stored in the list.
const double & get_double(int position=0) const
Returns the reference of a double stored in the list.
void add_mtbl_cf(const Mtbl_cf &mi, int position=0)
Adds the address of a new Mtbl_cf to the list.
int get_n_tbl_mod() const
Returns the number of modifiable Tbl 's addresses in the list.
Itbl & get_itbl_mod(int position=0) const
Returns the reference of a stored modifiable Itbl .
int get_n_double_mod() const
Returns the number of stored modifiable double 's addresses.
void add_tensor_mod(Tensor &ti, int position=0)
Adds the address of a new modifiable Tensor to the list.
int get_n_tenseur() const
Returns the number of Tenseur 's addresses in the list.
void add_star(const Star &eti, int position=0)
Adds the address of a new Star to the list.
int get_n_int_mod() const
Returns the number of modifiable int 's addresses in the list.
Tbl & get_tbl_mod(int position=0) const
Returns the reference of a modifiable Tbl stored in the list.
const Star & get_star(int position=0) const
Returns the reference of a Star stored in the list.
int get_n_scalar_mod() const
Returns the number of modifiable Scalar 's addresses in the list.
Tensor ** p_tensor_mod
Array (size n_tensor_mod ) of the modifiable Tensor 's addresses.
void clean_all()
Deletes all the objects stored as modifiables, i.e.
const Tenseur & get_tenseur(int position=0) const
Returns the reference of a Tenseur stored in the list.
int get_n_etoile() const
Returns the number of Etoile 's addresses in the list.
void add_cmp_mod(Cmp &ti, int position=0)
Adds the address of a new modifiable Cmp to the list.
void add_etoile(const Etoile &eti, int position=0)
Adds the address of a new Etoile to the list.
int get_n_tenseur_mod() const
Returns the number of modifiable Tenseur 's addresses in the list.
int n_itbl
Number of Itbl 's
Tenseur ** p_tenseur_mod
Array (size n_tenseur_mod ) of the modifiable Tenseur 's addresses.
double ** p_double_mod
Array (size n_double_mod ) of the double 's addresses.
int n_tbl
Number of Tbl 's
void add_matrice_mod(Matrice &ti, int position=0)
Adds the address of a new modifiable Matrice to the list.
int get_n_tensor() const
Returns the number of Tensor 's addresses in the list.
int get_n_map() const
Returns the number of Map 's addresses in the list.
const Map & get_map(int position=0) const
Returns the reference of a Map stored in the list.
int get_n_cmp() const
Returns the number of Cmp 's addresses in the list.
int n_double_mod
Number of modifiable double 's (double precis.
void add_tensor(const Tensor &ti, int position=0)
Adds the address of a new Tensor to the list.
const Scalar & get_scalar(int position=0) const
Returns the reference of a Scalar stored in the list.
const Tensor ** p_tensor
Array (size n_tensor ) of the Tensor 's addresses.
int n_int
Number of int 's (integers).
Tenseur & get_tenseur_mod(int position=0) const
Returns the reference of a modifiable Tenseur stored in the list.
int get_n_mtbl_cf() const
Returns the number of Mtbl_cf 's addresses in the list.
void add_cmp(const Cmp &ti, int position=0)
Adds the address of a new Cmp to the list.
Matrice ** p_matrice_mod
Array (size n_matrice_mod ) of the modifiable Matrice 's addresses.
const Tbl ** p_tbl
Array (size n_tbl ) of the Tbl 's addresses.
int get_n_tensor_mod() const
Returns the number of modifiable Tensor 's addresses in the list.
void add_scalar(const Scalar &ti, int position=0)
Adds the address of a new Scalar to the list.
void add_double_mod(double &x, int position=0)
Adds the address of a new modifiable double to the list.
Matrice & get_matrice_mod(int position=0) const
Returns the reference of a modifiable Matrice stored in the list.
Cmp ** p_cmp_mod
Array (size n_cmp_mod ) of the modifiable Cmp 's addresses.
int get_n_matrice() const
Returns the number of Matrice 's addresses in the list.
void add_int_mod(int &n, int position=0)
Adds the address of a new modifiable int to the list.
int ** p_int_mod
Array (size n_int_mod ) of the modifiable int 's addresses.
Itbl ** p_itbl_mod
Array (size n_itbl_mod ) of the modifiable Itbl 's addresses.
int n_itbl_mod
Number of modifiable Itbl 's
const Tenseur ** p_tenseur
Array (size n_tenseur ) of the Tenseur 's addresses.
int n_mtbl_cf
Number of Mtbl_cf 's
void add_tenseur(const Tenseur &ti, int position=0)
Adds the address of a new Tenseur to the list.
void add_tbl_mod(Tbl &ti, int position=0)
Adds the address of a new modifiable Tbl to the list.
int n_tensor
Number of Tensor 's
int n_tenseur
Number of Tenseur 's
void add_itbl_mod(Itbl &ti, int position=0)
Adds the address of a new modifiable Itbl to the list.
const Cmp ** p_cmp
Array (size n_cmp ) of the Cmp 's addresses.
const Etoile ** p_etoile
Array (size n_etoile ) of the Etoile 's addresses.
void add_tenseur_mod(Tenseur &ti, int position=0)
Adds the address of a new modifiable Tenseur to the list.
const Tbl & get_tbl(int position=0) const
Returns the reference of a Tbl stored in the list.
int get_n_scalar() const
Returns the number of Scalar 's addresses in the list.
Param()
Default constructor is the only constructor.
int get_n_star() const
Returns the number of Star 's addresses in the list.
const Itbl ** p_itbl
Array (size n_itbl ) of the Itbl 's addresses.
int n_double
Number of double 's (double precis.
int n_etoile
Number of Etoile 's.
const Tensor & get_tensor(int position=0) const
Returns the reference of a Tensor stored in the list.
int get_n_double() const
Returns the number of stored double 's addresses.
int get_n_int() const
Returns the number of stored int 's addresses.
const Cmp & get_cmp(int position=0) const
Returns the reference of a Cmp stored in the list.
int n_tenseur_mod
Number of modifiable Tenseur 's
int n_cmp_mod
Number of modifiable Cmp 's
int n_matrice_mod
Number of modifiable Matrice 's
int & get_int_mod(int position=0) const
Returns the reference of a modifiable int stored in the list.
int n_tbl_mod
Number of modifiable Tbl 's
void add_itbl(const Itbl &ti, int position=0)
Adds the address of a new Itbl to the list.
double & get_double_mod(int position=0) const
Returns the reference of a stored modifiable double .
int n_star
Number of Star 's.
int n_map
Number of Map 's
void add_int(const int &n, int position=0)
Adds the address of a new int to the list.
int n_scalar_mod
Number of modifiable Scalar 's
const Etoile & get_etoile(int position=0) const
Returns the reference of a Etoile stored in the list.
const Matrice & get_matrice(int position=0) const
Returns the reference of a Matrice stored in the list.
int get_n_tbl() const
Returns the number of Tbl 's addresses in the list.
int n_tensor_mod
Number of modifiable Tensor 's
int n_cmp
Number of Cmp 's
void add_tbl(const Tbl &ti, int position=0)
Adds the address of a new Tbl to the list.
const Mtbl_cf & get_mtbl_cf(int position=0) const
Returns the reference of a Mtbl_cf stored in the list.
Tensor field of valence 0 (or component of a tensorial field).
Tensor handling *** DEPRECATED : use class Tensor instead ***.