#define smoothing_error()
frees allocated memory in case of error in hs_smoothing
#define TIME_VAL_INIT { (time_t)0,(suseconds_t)0 }
const char ** hs_list_smoothing (size_t *sz)
list all available smoothing methods a smoothing method always take a radius and a distance (in kilometers) as input and returns a new distance (possibly zero)
unsigned long hs_status ()
observer of the execution of the computation
hs_potential_t * hs_smooth (int _resoLat, int _resoLon, hs_coord_t visu, FILE *pFileReference)
perform the smoothing of target area inside visu, using potentials from pFileReference pFileReference is either in raw or precomputed format, as given by hs_set(HS_LOAD_RAW|HS_LOAD_PRECOMPUTED) the smoothing is performed using smoothing method given by hs_set(HS_SMOOTH_FUNC, ... ) the resolution of the output matrix will be resoLat x resoLon
hs_potential_t * hs_smoothing (int _resoLat, int _resoLon, const char *function_name, double function_param, hs_coord_t visu, FILE *pFileReference)
perform the smoothing of target area inside visu, using potentials from pFileReference the smoothing is performed using function_name smoothing method, with a radius of function_param the resolution of the output matrix will be resoLat x resoLon
front end part
Author:
Date:
Value:
if( ptrees != NULL ) free(ptrees); if( pReference != NULL ) free(pReference); if( out != NULL ) free(out); return NULL;frees allocated memory in case of error in hs_smoothing
Returns:
Definition at line 42 of file hyantes.c.
list all available smoothing methods a smoothing method always take a radius and a distance (in kilometers) as input and returns a new distance (possibly zero)
Parameters:
Returns:
Definition at line 57 of file hyantes.c.
perform the smoothing of target area inside visu, using potentials from pFileReference pFileReference is either in raw or precomputed format, as given by hs_set(HS_LOAD_RAW|HS_LOAD_PRECOMPUTED) the smoothing is performed using smoothing method given by hs_set(HS_SMOOTH_FUNC, ... ) the resolution of the output matrix will be resoLat x resoLon
Parameters:
Returns:
Definition at line 93 of file hyantes.c.
References build_quadtree(), qt::coords, create_planartree(), do_smoothing(), free_quadtree(), hs_potential::lat, hs_potential::lon, hs_coord::MLat, hs_coord::mLat, hs_coord::MLon, hs_coord::mLon, read_input(), ptree::size, and smoothing_error.
perform the smoothing of target area inside visu, using potentials from pFileReference the smoothing is performed using function_name smoothing method, with a radius of function_param the resolution of the output matrix will be resoLat x resoLon
Parameters:
Returns:
Definition at line 300 of file hyantes.c.
References HS_LOAD_RAW, hs_smooth(), and HS_SMOOTH_FUNC.
observer of the execution of the computation
Returns:
Definition at line 68 of file hyantes.c.
Generated automatically by Doxygen for Hyantes from the source code.