Scalar mathematics
[Tensorial fields]

() More...

Functions

Scalar Lorene::operator+ (const Scalar &)
 + Scalar
Scalar Lorene::operator- (const Scalar &)
 - Scalar
Scalar Lorene::operator+ (const Scalar &, const Scalar &)
 Scalar + Scalar.
Scalar Lorene::operator+ (const Scalar &, const Mtbl &)
 Scalar + Mbtl.
Scalar Lorene::operator+ (const Mtbl &, const Scalar &)
 Mtbl + Scalar.
Scalar Lorene::operator+ (const Scalar &, double)
 Scalar + double.
Scalar Lorene::operator+ (double, const Scalar &)
 double + Scalar
Scalar Lorene::operator+ (const Scalar &, int)
 Scalar + int.
Scalar Lorene::operator+ (int, const Scalar &)
 int + Scalar
Scalar Lorene::operator- (const Scalar &, const Scalar &)
 Scalar - Scalar.
Scalar Lorene::operator- (const Scalar &, const Mtbl &)
 Scalar - Mbtl.
Scalar Lorene::operator- (const Mtbl &, const Scalar &)
 Mtbl - Scalar.
Scalar Lorene::operator- (const Scalar &, double)
 Scalar - double.
Scalar Lorene::operator- (double, const Scalar &)
 double - Scalar
Scalar Lorene::operator- (const Scalar &, int)
 Scalar - int.
Scalar Lorene::operator- (int, const Scalar &)
 int - Scalar
Scalar Lorene::operator* (const Scalar &, const Scalar &)
 Scalar * Scalar.
Scalar Lorene::operator% (const Scalar &, const Scalar &)
 Scalar * Scalar with desaliasing.
Scalar Lorene::operator| (const Scalar &, const Scalar &)
 Scalar * Scalar with desaliasing only in r.
Scalar Lorene::operator* (const Mtbl &, const Scalar &)
 Mtbl * Scalar.
Scalar Lorene::operator* (const Scalar &, const Mtbl &)
 Scalar * Mtbl.
Scalar Lorene::operator* (const Scalar &, double)
 Scalar * double.
Scalar Lorene::operator* (double, const Scalar &)
 double * Scalar
Scalar Lorene::operator* (const Scalar &, int)
 Scalar * int.
Scalar Lorene::operator* (int, const Scalar &)
 int * Scalar
Scalar Lorene::operator/ (const Scalar &, const Scalar &)
 Scalar / Scalar.
Scalar Lorene::operator/ (const Scalar &, double)
 Scalar / double.
Scalar Lorene::operator/ (double, const Scalar &)
 double / Scalar
Scalar Lorene::operator/ (const Scalar &, int)
 Scalar / int.
Scalar Lorene::operator/ (int, const Scalar &)
 int / Scalar
Scalar Lorene::operator/ (const Scalar &, const Mtbl &)
 Scalar / Mtbl.
Scalar Lorene::operator/ (const Mtbl &, const Scalar &)
 Mtbl / Scalar.
Scalar Lorene::sin (const Scalar &)
 Sine.
Scalar Lorene::cos (const Scalar &)
 Cosine.
Scalar Lorene::tan (const Scalar &)
 Tangent.
Scalar Lorene::asin (const Scalar &)
 Arcsine.
Scalar Lorene::acos (const Scalar &)
 Arccosine.
Scalar Lorene::atan (const Scalar &)
 Arctangent.
Scalar Lorene::exp (const Scalar &)
 Exponential.
Scalar Lorene::Heaviside (const Scalar &)
 Heaviside function.
Scalar Lorene::log (const Scalar &)
 Neperian logarithm.
Scalar Lorene::log10 (const Scalar &)
 Basis 10 logarithm.
Scalar Lorene::sqrt (const Scalar &)
 Square root.
Scalar Lorene::racine_cubique (const Scalar &)
 Cube root.
Scalar Lorene::pow (const Scalar &, int)
 Power ${\tt Scalar}^{\tt int}$.
Scalar Lorene::pow (const Scalar &, double)
 Power ${\tt Scalar}^{\tt double}$.
Scalar Lorene::abs (const Scalar &)
 Absolute value.
double Lorene::totalmax (const Scalar &)
 Maximum values of a Scalar in each domain.
double Lorene::totalmin (const Scalar &)
 Minimum values of a Scalar in each domain.
Tbl Lorene::max (const Scalar &)
 Maximum values of a Scalar in each domain.
Tbl Lorene::min (const Scalar &)
 Minimum values of a Scalar in each domain.
Tbl Lorene::norme (const Scalar &)
 Sums of the absolute values of all the values of the Scalar in each domain.
Tbl Lorene::diffrel (const Scalar &a, const Scalar &b)
 Relative difference between two Scalar (norme version).
Tbl Lorene::diffrelmax (const Scalar &a, const Scalar &b)
 Relative difference between two Scalar (max version).
void Lorene::exp_filter_ylm_all_domains (Scalar &ss, int p, double alpha=-16.)
 Applies an exponential filter in angular directions in all domains.

Detailed Description

()


Function Documentation

Scalar Lorene::abs ( const Scalar &  ci  ) 
Scalar Lorene::acos ( const Scalar &  ci  ) 
Scalar Lorene::asin ( const Scalar &  ci  ) 
Scalar Lorene::atan ( const Scalar &  ci  ) 
Scalar Lorene::cos ( const Scalar &  ci  ) 
Tbl Lorene::diffrel ( const Scalar &  a,
const Scalar &  b 
)

Relative difference between two Scalar (norme version).

Returns:
1-D Tbl of size the number of domains, the elements of which are norme[a(l)-b(l)]/norme[b(l)] if b(l)!=0 and norme[a(l)-b(l)] if b(l)=0 , where a(l) and b(l) denote symbolically the values of a and b in domain no. l .

Definition at line 698 of file scalar_math.C.

References Lorene::Tbl::get_etat(), Lorene::Scalar::get_etat(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::norme(), Lorene::Tbl::set(), and Lorene::Tbl::set_etat_qcq().

Tbl Lorene::diffrelmax ( const Scalar &  a,
const Scalar &  b 
)

Relative difference between two Scalar (max version).

Returns:
1-D Tbl of size the number of domains, the elements of which are max[abs(a(l)-b(l))]/max[abs(b(l))] if b(l)!=0 and max[abs(a(l)-b(l))] if b(l)=0 , where a(l) and b(l) denote symbolically the values of a and b in domain no. l .

Definition at line 733 of file scalar_math.C.

References Lorene::abs(), Lorene::Tbl::get_etat(), Lorene::Scalar::get_etat(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::max(), Lorene::Tbl::set(), and Lorene::Tbl::set_etat_qcq().

Scalar Lorene::exp ( const Scalar &  ci  ) 
void Lorene::exp_filter_ylm_all_domains ( Scalar &  ss,
int  p,
double  alpha = -16. 
)

Applies an exponential filter in angular directions in all domains.

(see Scalar:exponential_filter_ylm ).

Definition at line 189 of file scalar_exp_filter.C.

References Lorene::Scalar::exponential_filter_ylm(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), and Lorene::Mg3d::get_nzone().

Scalar Lorene::Heaviside ( const Scalar &  ci  ) 
Scalar Lorene::log ( const Scalar &  ci  ) 

Neperian logarithm.

Definition at line 388 of file scalar_math.C.

References Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::log(), and Lorene::Scalar::va.

Scalar Lorene::log10 ( const Scalar &  ci  ) 

Basis 10 logarithm.

Definition at line 421 of file scalar_math.C.

References Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::log10(), and Lorene::Scalar::va.

Tbl Lorene::max ( const Scalar &  ci  ) 

Maximum values of a Scalar in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the maximum values in each domain.

Definition at line 614 of file scalar_math.C.

References Lorene::Tbl::annule_hard(), Lorene::Scalar::get_etat(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::max(), and Lorene::Scalar::va.

Tbl Lorene::min ( const Scalar &  ci  ) 

Minimum values of a Scalar in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the minimum values in each domain.

Definition at line 642 of file scalar_math.C.

References Lorene::Tbl::annule_hard(), Lorene::Scalar::get_etat(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::min(), and Lorene::Scalar::va.

Tbl Lorene::norme ( const Scalar &  ci  ) 

Sums of the absolute values of all the values of the Scalar in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the sums of the absolute values in each domain.

Definition at line 670 of file scalar_math.C.

References Lorene::Tbl::annule_hard(), Lorene::Scalar::get_etat(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::norme(), and Lorene::Scalar::va.

Scalar Lorene::operator% ( const Scalar &  c1,
const Scalar &  c2 
)
Scalar Lorene::operator* ( int  m,
const Scalar &  t1 
)

int * Scalar

Definition at line 622 of file scalar_arithm.C.

Scalar Lorene::operator* ( const Scalar &  t1,
int  m 
)

Scalar * int.

Definition at line 615 of file scalar_arithm.C.

Scalar Lorene::operator* ( double  a,
const Scalar &  c1 
)
Scalar Lorene::operator* ( const Scalar &  t1,
double  x 
)

Scalar * double.

Definition at line 608 of file scalar_arithm.C.

Scalar Lorene::operator* ( const Scalar &  c1,
const Mtbl &  mi 
)

Scalar * Mtbl.

Definition at line 564 of file scalar_arithm.C.

Scalar Lorene::operator* ( const Mtbl &  mi,
const Scalar &  c1 
)
Scalar Lorene::operator* ( const Scalar &  c1,
const Scalar &  c2 
)
Scalar Lorene::operator+ ( int  m,
const Scalar &  t1 
)

int + Scalar

Definition at line 258 of file scalar_arithm.C.

Scalar Lorene::operator+ ( const Scalar &  t1,
int  m 
)

Scalar + int.

Definition at line 251 of file scalar_arithm.C.

Scalar Lorene::operator+ ( double  x,
const Scalar &  t1 
)

double + Scalar

Definition at line 244 of file scalar_arithm.C.

Scalar Lorene::operator+ ( const Scalar &  t1,
double  x 
)

Scalar + double.

Definition at line 210 of file scalar_arithm.C.

References Lorene::Scalar::check_dzpuis(), and Lorene::Scalar::get_etat().

Scalar Lorene::operator+ ( const Mtbl &  mi,
const Scalar &  c1 
)

Mtbl + Scalar.

Definition at line 203 of file scalar_arithm.C.

Scalar Lorene::operator+ ( const Scalar &  c1,
const Mtbl &  mi 
)
Scalar Lorene::operator+ ( const Scalar &  c1,
const Scalar &  c2 
)
Scalar Lorene::operator+ ( const Scalar &  ci  ) 

+ Scalar

Definition at line 89 of file scalar_arithm.C.

Scalar Lorene::operator- ( int  m,
const Scalar &  t1 
)

int - Scalar

Definition at line 410 of file scalar_arithm.C.

Scalar Lorene::operator- ( const Scalar &  t1,
int  m 
)

Scalar - int.

Definition at line 403 of file scalar_arithm.C.

Scalar Lorene::operator- ( double  x,
const Scalar &  t1 
)

double - Scalar

Definition at line 396 of file scalar_arithm.C.

Scalar Lorene::operator- ( const Scalar &  t1,
double  x 
)

Scalar - double.

Definition at line 363 of file scalar_arithm.C.

References Lorene::Scalar::check_dzpuis(), and Lorene::Scalar::get_etat().

Scalar Lorene::operator- ( const Mtbl &  mi,
const Scalar &  t1 
)

Mtbl - Scalar.

Definition at line 356 of file scalar_arithm.C.

Scalar Lorene::operator- ( const Scalar &  t1,
const Mtbl &  mi 
)
Scalar Lorene::operator- ( const Scalar &  c1,
const Scalar &  c2 
)
Scalar Lorene::operator- ( const Scalar &  ci  ) 
Scalar Lorene::operator/ ( const Mtbl &  mi,
const Scalar &  c2 
)
Scalar Lorene::operator/ ( const Scalar &  c1,
const Mtbl &  mi 
)
Scalar Lorene::operator/ ( int  m,
const Scalar &  c2 
)

int / Scalar

Definition at line 822 of file scalar_arithm.C.

Scalar Lorene::operator/ ( const Scalar &  c1,
int  m 
)

Scalar / int.

Definition at line 813 of file scalar_arithm.C.

Scalar Lorene::operator/ ( double  x,
const Scalar &  c2 
)
Scalar Lorene::operator/ ( const Scalar &  c1,
double  x 
)
Scalar Lorene::operator/ ( const Scalar &  c1,
const Scalar &  c2 
)
Scalar Lorene::operator| ( const Scalar &  c1,
const Scalar &  c2 
)
Scalar Lorene::pow ( const Scalar &  ci,
double  x 
)
Scalar Lorene::pow ( const Scalar &  ci,
int  n 
)
Scalar Lorene::racine_cubique ( const Scalar &  ci  ) 
Scalar Lorene::sin ( const Scalar &  ci  ) 
Scalar Lorene::sqrt ( const Scalar &  ci  ) 
Scalar Lorene::tan ( const Scalar &  ci  ) 
double Lorene::totalmax ( const Scalar &  ci  ) 

Maximum values of a Scalar in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the maximum values in each domain.

Definition at line 556 of file scalar_math.C.

References Lorene::Scalar::get_etat(), Lorene::totalmax(), and Lorene::Scalar::va.

double Lorene::totalmin ( const Scalar &  ci  ) 

Minimum values of a Scalar in each domain.

Returns:
1-D Tbl of size the number of domains, the elements of which are the set of the minimum values in each domain.

Definition at line 585 of file scalar_math.C.

References Lorene::Scalar::get_etat(), Lorene::totalmin(), and Lorene::Scalar::va.


Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1