Functions
other commands

Functions

SURFIT_EXPORT void surfit ()
 
SURFIT_EXPORT void clear_rules ()
 
void init_threads (int cnt)
 
int get_threads ()
 
char * file_info (const char *filename)
 
void file_load (const char *filename)
 
bool file_save (const char *filename)
 
void clear_data ()
 
void mem_info ()
 
const char * datafile_mode ()
 
const char * datafile_new ()
 
const char * datafile_append ()
 

Detailed Description

Function Documentation

void surfit::clear_data ( )
Tcl syntax:
clear_data
Description:
removes all data from memory
SURFIT_EXPORT void surfit::clear_rules ( )

removes all gridding rules

const char* surfit::datafile_append ( )
Tcl syntax:
datafile_append
Description
Sets datafile_mode to "append" mode. This means that each time you saving your data into datafile, data will be added to the end of datafile.
const char* surfit::datafile_mode ( )
Tcl syntax:
datafile_mode
Description
return current datafile mode. This mode tells how to use surfit datafiles for saving various data in surfit native format. Two modes allowed : datafile_new and datafile_append
const char* surfit::datafile_new ( )
Tcl syntax:
datafile_new
Description
Sets datafile_mode to "new" mode. This means that each time you saving your data into datafile, the datafile first will be cleaned up and then data will be saved.
char* surfit::file_info ( const char *  filename)
Tcl syntax:
file_info "filename"
Description:
prints info about surfit datafile contents
void surfit::file_load ( const char *  filename)
Tcl syntax:
file_load "filename"
Description:
automatically recognizes file format and loads data
bool surfit::file_save ( const char *  filename)
Tcl syntax:
file_save "filename"
Description:
saves all data to surfit datafile
int surfit::get_threads ( )
Tcl syntax:
get_threads
Description:
returns max number of threads to execute
void surfit::init_threads ( int  cnt)
Tcl syntax:
init_threads cnt
Description:
sets max number of threads to execute
void surfit::mem_info ( )
Tcl syntax:
mem_info
Description:
prints information about data in memory
SURFIT_EXPORT void surfit::surfit ( )

executes gridding procedure.

See Also
Description of the surfit gridding algorithm



surfit: gridding and contouring software.