SPModel: libSPModel/src/Misc.h Source File
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Misc.h

Go to the documentation of this file.
00001 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00002 **
00003 ** Copyright (C), 2004, Victorian Partnership for Advanced Computing (VPAC) Ltd, 110 Victoria Street, Melbourne, 3053, Australia.
00004 **
00005 ** Authors:
00006 **  Ogar R. Widjaja, Computational Scientist, VPAC.
00007 **  Raquibul Hassan, Software Engineer, VPAC. (raq@vpac.org)
00008 **  Keith Hsuan, Computational Scientist, VPAC (keith@vpac.org)
00009 **  William F. Appelbe, Director, VPAC. (bill@vpac.org)
00010 **  Stevan M. Quenette, Senior Software Engineer, VPAC. (steve@vpac.org)
00011 **  Patrick D. Sunter, Software Engineer, VPAC. (patrick@vpac.org)
00012 **
00013 ** This file may be distributed under the terms of the VPAC Public License
00014 ** as defined by VPAC of Australia and appearing in the file
00015 ** LICENSE.VPL included in the packaging of this file.
00016 **
00017 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00018 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00019 **
00020 */
00030 #ifndef __Misc_h__
00031 #define __Misc_h__
00032 
00033 #define NR_END 1
00034 #define FREE_ARG char*
00035 
00036 /* used in SurfaceMesh.c */
00037 int providersCompareFunction(void *data1, void *data2);
00038 
00039 void providersDataDeleteFunction( void *data );
00040 
00041 /* used in SurfaceMesh.c */
00042 void providersDataPrintFunction( void *nodeData, void *args );
00043 
00044 /* used in SurfaceMesh.c */
00045 void providersDataCopyFunction( void **nodeData, void *newData, SizeT dataSize);
00046 
00047 /* used in Catchment.c */
00048 int catchmentCompareFunction( void *data1, void *data2 );
00049 
00050 /* used in Catchment.c */
00051 void catchmentPrintFunction( void *data, Stream *stream );
00052 
00053 void providerSyncDataCopyFunction( void **nodeData, void *newData, SizeT dataSize);
00054 
00055 int providerSyncCompareFunction( void *data1, void *data2 );
00056 
00057 void providerSyncDataPrintFunction( void *nodeData, void *args );
00058 
00059 double **dmatrix(long nrl, long nrh, long ncl, long nch);
00060 void free_dmatrix(double **m, long nrl, long nrh, long ncl, long nch);
00061 double ***d3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh);
00062 void free_d3tensor(double ***t, long nrl, long nrh, long ncl, long nch,
00063     long ndl, long ndh);
00064 
00065 #endif /* __Misc_h__ */