Modules | Functions
mathematical operations

Modules

 wavelets analysis
 

Functions

vec * surf_getValue (REAL x, REAL y, const char *surface_name="*")
 
vec * surf_getValueIJ (int I, int J, const char *surface_name="*")
 
boolvec * surf_resid (const char *filename, const char *surface_name="*", const char *points_name="*")
 
vec * surf_D1 (const char *surface_name="*")
 
vec * surf_D2 (const char *surface_name="*")
 
boolvec * surf_gradient (const char *surface_name="*", const char *newname=NULL)
 
boolvec * surf_project (const char *surface_name="*", const char *newname=NULL)
 
void surf_add_noise (REAL std, const char *surface_name="*")
 
vec * surf_minz (const char *surface_name="*")
 
vec * surf_area_minz (const char *area_name="*", const char *surface_name="*")
 
vec * surf_maxz (const char *surface_name="*")
 
vec * surf_area_maxz (const char *area_name="*", const char *surface_name="*")
 
vec * surf_mean (const char *surface_name="*")
 
vec * surf_area_mean (const char *area_name="*", const char *surface_name="*")
 
vec * surf_mask_mean (const char *mask_name="*", const char *surface_name="*")
 
vec * surf_wmean (const char *wsurface_name="*", const char *surface_name="*")
 
vec * surf_area_wmean (const char *area_name="*", const char *wsurface_name="*", const char *surface_name="*")
 
vec * surf_mask_wmean (const char *mask_name="*", const char *wsurface_name="*", const char *surface_name="*")
 
vec * surf_sum (const char *surface_name="*")
 
vec * surf_sum_area (const char *area_name="*", const char *surface_name="*")
 
intvec * surf_cells_in_area (const char *area_name="*", const char *surface_name="*")
 
vec * surf_std (REAL mean, const char *surface_name="*")
 
boolvec * surf_plus (const char *surface1_name, const char *surface2_name)
 
boolvec * surf_plus_area (const char *surface1_name, const char *area_name, const char *surface2_name)
 
boolvec * surf_minus (const char *surface1_name, const char *surface2_name)
 
boolvec * surf_minus_area (const char *surface1_name, const char *area_name, const char *surface2_name)
 
boolvec * surf_mult (const char *surface1_name, const char *surface2_name)
 
boolvec * surf_mult_area (const char *surface1_name, const char *area_name, const char *surface2_name)
 
boolvec * surf_div (const char *surface1_name, const char *surface2_name)
 
boolvec * surf_div_area (const char *surface1_name, const char *area_name, const char *surface2_name)
 
boolvec * surf_set (const char *surface1_name, const char *surface2_name)
 
boolvec * surf_set_area (const char *surface1_name, const char *area_name, const char *surface2_name)
 
boolvec * surf_plus_value (REAL val, const char *surface_name="*")
 
boolvec * surf_plus_value_area (REAL val, const char *surface_name="*", const char *area_name="*")
 
boolvec * surf_minus_value (REAL val, const char *surface_name="*")
 
boolvec * surf_minus_value_area (REAL val, const char *area_name="*", const char *surface_name="*")
 
boolvec * surf_mult_value (REAL val, const char *surface_name="*")
 
boolvec * surf_mult_value_area (REAL val, const char *area_name="*", const char *surface_name="*")
 
boolvec * surf_div_value (REAL val, const char *surface_name="*")
 
boolvec * surf_div_value_area (REAL val, const char *area_name="*", const char *surface_name="*")
 
boolvec * surf_set_value (REAL val, const char *surface_name="*")
 
boolvec * surf_set_value_area (const char *val, const char *area_name="*", const char *surface_name="*")
 
boolvec * surf_filter_by_mask (const char *surface_name="*", const char *mask_name="*")
 
boolvec * surf_filter_in_area (const char *surface_name="*", const char *area_name="*")
 
boolvec * surf_filter_out_area (const char *surface_name="*", const char *area_name="*")
 
boolvec * surf_filter_by_surf (REAL eps, const char *surface1_name="*", const char *surface2_name="*")
 
boolvec * surf_swapxy (const char *surface_name="*")
 

Detailed Description

Function Documentation

void surfit::surf_add_noise ( REAL  std,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_add_noise std surface_name
Description:
adds normally-distributed noise with parameters N(0,std) to coeff
Parameters
surface_namename of the surface object
stdstandart deviation
vec* surfit::surf_area_maxz ( const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_area_maxz area_name surface_name
Description:
returns maximum value for surface in area
vec* surfit::surf_area_mean ( const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_area_mean area_name surface_name
Description:
returns mean value for surface in area
vec* surfit::surf_area_minz ( const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_area_minz area_name surface_name
Description:
returns minimum value for surface in area
vec* surfit::surf_area_wmean ( const char *  area_name = "*",
const char *  wsurface_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_area_wmean area_name wsurface_name surface_name
Description:
returns weighted mean value for surface in area, where wsurface - weight function
intvec* surfit::surf_cells_in_area ( const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_cells_in_area area_name surface_name
Description:
returns number of cells in area
vec* surfit::surf_D1 ( const char *  surface_name = "*")
Tcl syntax:
surf_D1 surface_name
Description:
calculates value of $ \int\limits_\Omega \left[ f_x^2 + f_y^2 \right] dx dy $ for surface, where f is a surface.
vec* surfit::surf_D2 ( const char *  surface_name = "*")
Tcl syntax:
surf_D2 surface_name
Description:
calculates value of $ \int\limits_\Omega \left[ f_{xx}^2 + 2f_{xy}^2 + f_{yy}^2 \right] dx dy $ for surface, where f is a surface.
boolvec* surfit::surf_div ( const char *  surface1_name,
const char *  surface2_name 
)
Tcl syntax:
surf_mult surface1_name surface2_name
Description:
Performs operation with surfaces cells values: surface1 = surface1 / surface2
boolvec* surfit::surf_div_area ( const char *  surface1_name,
const char *  area_name,
const char *  surface2_name 
)
Tcl syntax:
surf_div_area surface1_name area_name surface2_name
Description:
Performs operation with surfaces cells values for cells in area: surface1 = surface1 / surface2
boolvec* surfit::surf_div_value ( REAL  val,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_div_value val surface_name
Description:
Performs operation with surfaces cells values: surface = surface / val
boolvec* surfit::surf_div_value_area ( REAL  val,
const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_div_value_area val area_name surface_name
Description:
Performs operation with surfaces cells values for cells in area: surface = surface / val
boolvec* surfit::surf_filter_by_mask ( const char *  surface_name = "*",
const char *  mask_name = "*" 
)
Tcl syntax:
surf_filter_by_mask surface_name mask_name
Description:
makes all cells values undefined for which mask is false
boolvec* surfit::surf_filter_by_surf ( REAL  eps,
const char *  surface1_name = "*",
const char *  surface2_name = "*" 
)
Tcl syntax:
surf_filter_by_surf eps surface1_name surface2_name
Description:
modifies surface1 cells values. Makes cells values undefined if $ |f_1(x,y) - f_2(x,y)| > \varepsilon $, where $f_1(x,y)$ - first surface, $f_2(x,y)$ - second surface
boolvec* surfit::surf_filter_in_area ( const char *  surface_name = "*",
const char *  area_name = "*" 
)
Tcl syntax:
surf_filter_in_area surface_name area_name
Description:
makes all cells values undefined which are inside of area
boolvec* surfit::surf_filter_out_area ( const char *  surface_name = "*",
const char *  area_name = "*" 
)
Tcl syntax:
surf_filter_out_area surface_name area_name
Description:
makes all cells values undefined which are outside of area
vec* surfit::surf_getValue ( REAL  x,
REAL  y,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_getValue x y surface_name
Description:
calculates surface value at point (x,y)
vec* surfit::surf_getValueIJ ( int  I,
int  J,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_getValueIJ I J surface_name
Description:
returns surface value at node (I,J)
Parameters
Inode number in X direction
Jnode number in Y direction
surface_namename of the surface object
boolvec* surfit::surf_gradient ( const char *  surface_name = "*",
const char *  newname = NULL 
)
Tcl syntax:
surf_gradient surface_name "newname"
Description:
calculates surface of "gradients lengths" for surface and saves result to new surface named "newname"
vec* surfit::surf_mask_mean ( const char *  mask_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_mask_mean mask_name surface_name
Description:
returns mean value for surface where mask is "true"
vec* surfit::surf_mask_wmean ( const char *  mask_name = "*",
const char *  wsurface_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_mask_wmean mask_name wsurface_name surface_name
Description:
returns weighted mean value for surface where mask is "true", wsurface - weight surface
vec* surfit::surf_maxz ( const char *  surface_name = "*")
Tcl syntax:
surf_maxz surface_name
Description:
returns maximum value for surface
vec* surfit::surf_mean ( const char *  surface_name = "*")
Tcl syntax:
surf_mean surface_name
Description:
returns mean value for surface
boolvec* surfit::surf_minus ( const char *  surface1_name,
const char *  surface2_name 
)
Tcl syntax:
surf_minus surface1_name surface2_name
Description:
Performs operation with surfaces cells values: surface1 = surface1 - surface2
boolvec* surfit::surf_minus_area ( const char *  surface1_name,
const char *  area_name,
const char *  surface2_name 
)
Tcl syntax:
surf_minus_area surface1_name area_name surface2_name
Description:
Performs operation with surfaces cells values for cells in area: surface1 = surface1 - surface2
boolvec* surfit::surf_minus_value ( REAL  val,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_minus_value val surface_name
Description:
Performs operation with surfaces cells values: surface = surface - val
boolvec* surfit::surf_minus_value_area ( REAL  val,
const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_minus_value_area val area_name surface_name
Description:
Performs operation with surfaces cells values for cells in area: surface = surface - val
vec* surfit::surf_minz ( const char *  surface_name = "*")
Tcl syntax:
surf_minz surface_name
Description:
returns minimum value for surface
boolvec* surfit::surf_mult ( const char *  surface1_name,
const char *  surface2_name 
)
Tcl syntax:
surf_mult surface1_name surface2_name
Description:
Performs operation with surfaces cells values: surface1 = surface1 * surface2
boolvec* surfit::surf_mult_area ( const char *  surface1_name,
const char *  area_name,
const char *  surface2_name 
)
Tcl syntax:
surf_mult_area surface1_name area_name surface2_name
Description:
Performs operation with surfaces cells values for cells in area: surface1 = surface1 * surface2
boolvec* surfit::surf_mult_value ( REAL  val,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_mult_value val surface_name
Description:
Performs operation with surfaces cells values: surface = surface * val
boolvec* surfit::surf_mult_value_area ( REAL  val,
const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_mult_value_area val area_name surface_name
Description:
Performs operation with surfaces cells values for cells in area: surface = surface * val
boolvec* surfit::surf_plus ( const char *  surface1_name,
const char *  surface2_name 
)
Tcl syntax:
surf_plus surface1_name surface2_name
Description:
Performs operation with surfaces cells values: surface1 = surface1 + surface2
boolvec* surfit::surf_plus_area ( const char *  surface1_name,
const char *  area_name,
const char *  surface2_name 
)

bool surf_plus_area(const char * surface1_name, const char * area_name, const char * surface2_name);

Tcl syntax:
surf_plus_area surface1_name area_name surface2_name
Description:
Performs operation with surfaces cells values for cells in area: surface1 = surface1 + surface2
boolvec* surfit::surf_plus_value ( REAL  val,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_plus_value val surface_name
Description:
Performs operation with surfaces cells values: surface = surface + val
boolvec* surfit::surf_plus_value_area ( REAL  val,
const char *  surface_name = "*",
const char *  area_name = "*" 
)
Tcl syntax:
surf_plus_value_area val area_name surface_name
Description:
Performs operation with surfaces cells values for cells in area: surface = surface + val
boolvec* surfit::surf_project ( const char *  surface_name = "*",
const char *  newname = NULL 
)
Tcl syntax:
surf_project surface_name "newname"
Description:
recalculates surface on current grid using bilinear interpolation algorithm
boolvec* surfit::surf_resid ( const char *  filename,
const char *  surface_name = "*",
const char *  points_name = "*" 
)
Tcl syntax:
surf_resid filename surface_name points_name
Description:
calculates residuals between points values and surface values, calculated at points (x,y) coordinates. Saves result to text file.
boolvec* surfit::surf_set ( const char *  surface1_name,
const char *  surface2_name 
)
Tcl syntax:
surf_set surface1_name surface2_name
Description:
Performs operation with surfaces cells values: surface1 = surface2
boolvec* surfit::surf_set_area ( const char *  surface1_name,
const char *  area_name,
const char *  surface2_name 
)
Tcl syntax:
surf_set_area surface1_name area_name surface2_name
Description:
Performs operation with surfaces cells values for cells in area: surface1 = surface2
boolvec* surfit::surf_set_value ( REAL  val,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_set_value val surface_name
Description:
Performs operation with surfaces cells values: surface = val
boolvec* surfit::surf_set_value_area ( const char *  val,
const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_set_value_area val area_name surface_name
Description:
Performs operation with surfaces cells values for cells in area: surface = val
vec* surfit::surf_std ( REAL  mean,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_std mean surface_name
Description:
calculates standard deviation for surface cells values with respect to surface mean value
vec* surfit::surf_sum ( const char *  surface_name = "*")
Tcl syntax:
surf_sum surface_name
Description:
returns sum of all surface cell values
vec* surfit::surf_sum_area ( const char *  area_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_sum_area area_name surface_name
Description:
returns sum of all surface cells values in area
boolvec* surfit::surf_swapxy ( const char *  surface_name = "*")
Tcl syntax:
surf_swapxy surface_name
Description:
swaps X and Y coordinates
vec* surfit::surf_wmean ( const char *  wsurface_name = "*",
const char *  surface_name = "*" 
)
Tcl syntax:
surf_wmean wsurface_name surface_name
Description:
returns weighted mean value for surface



surfit: gridding and contouring software.