LORENE
Base_val Mathematics

() More...

Functions

Base_val Lorene::operator* (const Base_val &, const Base_val &)
 This operator is used when calling multiplication or division of Valeur . More...
 

Detailed Description

()

Function Documentation

◆ operator*()

Base_val Lorene::operator* ( const Base_val b1,
const Base_val b2 
)

This operator is used when calling multiplication or division of Valeur .

It returns the appropriate base, taking into account the symmetry of the result. The calculation propreties are those of the multiplication of -1 for antisymmetry and 1 for symmetry.

Should the product of the Base_val not be possible, the result is set to ETATNONDEF , (state not defined). It would be the case, for example, if one and only one of the Valeur is given in spherical harmonics.

Definition at line 105 of file base_val_mult.C.

References Lorene::Base_val::b, MSQ_P, MSQ_R, MSQ_T, Lorene::Base_val::nzone, P_COSSIN, P_COSSIN_I, P_COSSIN_P, R_CHEB, R_CHEBI, R_CHEBP, R_CHEBPI_I, R_CHEBPI_P, R_CHEBPIM_I, R_CHEBPIM_P, R_CHEBU, R_JACO02, R_LEG, R_LEGI, R_LEGP, Lorene::Base_val::set_base_nondef(), T_COS, T_COS_I, T_COS_P, T_COSSIN_C, T_COSSIN_CI, T_COSSIN_CP, T_COSSIN_S, T_COSSIN_SI, T_COSSIN_SP, T_LEG, T_LEG_I, T_LEG_MI, T_LEG_MP, T_LEG_P, T_SIN, T_SIN_I, and T_SIN_P.