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

SurfaceMeshIrregularDecomp.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 */
00031 #ifndef __SPModel_SurfaceMeshIrregularDecomp_h__
00032 #define __SPModel_SurfaceMeshIrregularDecomp_h__
00033 
00034     #define __SurfaceMeshIrregularDecomp\
00035         struct{ __SurfaceMeshDecomp }; \
00036         LinkedList                  **processorCatchments; \
00037         CatchmentList               *catchmentList;
00038     struct SurfaceMeshIrregularDecomp{ __SurfaceMeshIrregularDecomp };
00039 
00040 SurfaceMeshIrregularDecomp          *SurfaceMeshIrregularDecomp_DefaultNew( Name name );
00041 
00042 SurfaceMeshIrregularDecomp          *SurfaceMeshIrregularDecomp_New( Name name, CatchmentList *cList,
00043                                                                         SurfaceMesh *mesh,
00044                                                                         Dictionary *dictionary );
00045 
00046 SurfaceMeshIrregularDecomp  *_SurfaceMeshIrregularDecomp_New( SizeT                         _sizeOfSelf,
00047                                     Type                            type,
00048                                     Stg_Class_DeleteFunction*               _delete,
00049                                     Stg_Class_PrintFunction*                _print,
00050                                     Stg_Class_CopyFunction*             _copy, 
00051                                     Stg_Component_DefaultConstructorFunction*   _defaultConstructor,
00052                                     Stg_Component_ConstructFunction*            _construct,
00053                                     Stg_Component_BuildFunction*        _build,
00054                                     Stg_Component_InitialiseFunction*       _initialise,
00055                                     Stg_Component_ExecuteFunction*      _execute,
00056                                     Stg_Component_DestroyFunction*      _destroy,
00057                                     Name                            name,
00058                                     Bool                            initFlag,
00059                                     Dictionary                      *dictionary,
00060                                     CatchmentList                   *_catchmentList,
00061                                     SurfaceMesh                     *_mesh,
00062                                     SurfaceMeshDecomp_SyncMeshFunction *_syncMesh,
00063                                     SurfaceMeshDecomp_ComputeHaloNodesFunction *_computeHaloNodes,
00064                                     SurfaceMeshDecomp_AllocateNodesFunction *_allocateNodes );
00065 
00066 void _SurfaceMeshIrregularDecomp_Init( SurfaceMeshIrregularDecomp *self );
00067 
00068 void _SurfaceMeshIrregularDecomp_Print( void *surfaceMeshDecomp, Stream *stream );
00069 
00070 void _SurfaceMeshIrregularDecomp_Delete( void *surfaceMeshDecomp );
00071 
00072 void _SurfaceMeshIrregularDecomp_Construct( void *surfaceMeshDecomp, Stg_ComponentFactory *cf );
00073 
00074 void _SurfaceMeshIrregularDecomp_Build( void *surfaceMeshDecomp, void *data );
00075 
00076 void _SurfaceMeshIrregularDecomp_Initialise( void *surfaceMeshDecomp, void *data );
00077 
00078 void _SurfaceMeshIrregularDecomp_Execute( void *surfaceMeshDecomp, void *data );
00079 
00080 void _SurfaceMeshIrregularDecomp_Destroy( void *surfaceMeshDecomp, void *data );
00081 
00084 void SurfaceMeshIrregularDecomp_SyncMesh( SurfaceMeshIrregularDecomp *surfaceMeshIrregularDecomp, SurfaceMesh *mesh );
00085 
00086 void SurfaceMeshIrregularDecomp_ComputeHaloNodes( SurfaceMeshIrregularDecomp *surfaceMeshIrregularDecomp );
00087 
00088 void SurfaceMeshIrregularDecomp_AllocateNodes( _SurfaceMeshDecomp *surfaceMeshIrregularDecomp );
00089 
00090 #endif
00091