3.5.16. horton/grid/rtransform.h
– Transformation from uniform 1D to non-uniform 1D grids¶
-
class
RTransform
¶ Public Functions
-
RTransform
(int npoint)¶
-
virtual
~RTransform
()¶
-
virtual double
radius
(double t) = 0¶
-
virtual double
deriv
(double t) = 0¶
-
virtual double
deriv2
(double t) = 0¶
-
virtual double
deriv3
(double t) = 0¶
-
virtual double
inv
(double r) = 0¶
-
void
radius_array
(double *t, double *r, int n)¶
-
void
deriv_array
(double *t, double *d, int n)¶
-
void
deriv2_array
(double *t, double *d, int n)¶
-
void
deriv3_array
(double *t, double *d, int n)¶
-
void
inv_array
(double *r, double *t, int n)¶
-
int
get_npoint
()¶
Protected Attributes
-
int
npoint
¶
-
-
class
IdentityRTransform
¶
-
class
LinearRTransform
¶
-
class
ExpRTransform
¶
-
class
ShiftedExpRTransform
¶ Public Functions
-
ShiftedExpRTransform
(double rmin, double rshift, double rmax, int npoint)¶
-
virtual double
radius
(double t)¶
-
virtual double
deriv
(double t)¶
-
virtual double
deriv2
(double t)¶
-
virtual double
deriv3
(double t)¶
-
virtual double
inv
(double r)¶
-
double
get_rmin
()¶
-
double
get_rshift
()¶
-
double
get_rmax
()¶
-
double
get_r0
()¶
-
double
get_alpha
()¶
-
-
class
PowerRTransform
¶