SPModel: plugins/faultBlocks/FaultBlocks.h Source File
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FaultBlocks.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 */
00034 #ifndef __SPModel_FaultBlocks_h__
00035 #define __SPModel_FaultBlocks_h__
00036 
00037 typedef struct {
00038     __Codelet
00039 }SPModelFaultBlocks;
00040 
00041 typedef struct SPModelFaultBlocksContextExtension_t{
00042     int     numFaultBlocks;
00043     int     maxNumFaultBlockNodes;
00044     int     maxNat;
00045     int     *numFaultBlockNodes;
00046     int     *faultBlockNat;
00047     int     **faultBlockNodes;
00048     double  **faultBlockWeights;
00049     double  ***faultBlockTimes;
00050 }SPModelFaultBlocksContextExtension;
00051 
00052 extern ExtensionInfo_Index SPModel_FaultBlocks_ContextExtHandle;
00053 extern const Type SPModelFaultBlocks_Type;
00054 
00055 
00056 
00057 void* _SPModelFaultBlocks_DefaultNew( Name name );
00058 
00059 void _SPModelFaultBlocks_Construct( void* component, Stg_ComponentFactory* data );
00060 
00061 void _SPModelFaultBlocks_Init( void* _context );
00062 
00063 void SPModelFaultBlocks_Solve( void* _context );
00064 
00065 Index SPModel_FaultBlocks_Register( PluginsManager* pluginsManager );
00066 
00067 #endif