46 double xmin, xmax, ymin, ymax, zmin, zmax ;
49 mutable bool coefs_up_to_date ;
50 mutable bool values_up_to_date ;
59 explicit FuncSpec(
int=2,
int=2,
int=2) ;
64 explicit FuncSpec(
const string& coord_name,
const string& field) ;
67 void set_grids(
double,
double,
double,
double,
double,
double) ;
72 void del_deriv()
const ;
78 void operator=(
const TabSpec&) ;
79 void operator=(
double) ;
81 void set_coefs(
const TabSpec&) ;
85 void compute_coefs()
const ;
86 double compute_in_xyz(
double,
double,
double)
const ;
87 void compute_values()
const ;
108 void write_grids(
const string&) ;
109 void write_values(
const string&) ;
119 void interpolate_from_Tab(
const TabSpec& values,
const TabSpec& x_coord,
122 friend ostream& operator<<(ostream&,
const FuncSpec&) ;
146 friend double max(
const FuncSpec&) ;
150 ostream& operator<<(ostream&,
const FuncSpec&) ;
FuncSpec primitive_x() const
Computes the primitive with respect to which is 0 at the left boundary of the interval (xmin )...
Cmp log(const Cmp &)
Neperian logarithm.
Cmp exp(const Cmp &)
Exponential.
Cmp sqrt(const Cmp &)
Square root.
3-indices array to be used with the representation of functions with Cartesian coordinates.
Base_val operator*(const Base_val &, const Base_val &)
This operator is used when calling multiplication or division of Valeur .
Cmp operator/(const Cmp &, const Cmp &)
Cmp / Cmp.
Cmp cos(const Cmp &)
Cosine.
Cmp tan(const Cmp &)
Tangent.
Class for representing functions of 3 variables, supposed to be Cartesian coordinates ...
Cmp operator+(const Cmp &)
Tbl max(const Cmp &)
Maximum values of a Cmp in each domain.
FuncSpec primitive_y() const
Computes the primitive with respect to which is 0 at the left boundary of the interval (ymin )...
Cmp pow(const Cmp &, int)
Power .
FuncSpec primitive_z() const
Computes the primitive with respect to which is 0 at the left boundary of the interval (zmin )...
FuncSpec get_partial_x() const
Computes partial derivative .
Cmp abs(const Cmp &)
Absolute value.
FuncSpec get_partial_z() const
Computes partial derivative .
Cmp operator-(const Cmp &)
- Cmp
Cmp sin(const Cmp &)
Sine.
virtual ~FuncSpec()
Destructor.
FuncSpec get_partial_y() const
Computes partial derivative .