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

FaultModel.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_FaultModel_h__
00035 #define __SPModel_FaultModel_h__
00036 
00037 typedef enum CoordinateType_t{
00038     NORMALISED,
00039     NATURAL
00040 }CoordinateType;
00041 
00042 typedef struct Arc_t{
00043     int index[3];
00044 }Arc;
00045 
00046 typedef struct {
00047     __Codelet
00048 }SPModelFaultModel;
00049 
00050 typedef struct SPModelFaultModelContextExtension_t{
00051     CoordinateType  *coordType;
00052     int             numFaultModel;
00053     int             *faultBounds;
00054     Coord           **arcPoints;
00055     Arc             **arcs;
00056     Coord           **circleCentrePoints;
00057     double          **radiusSq;
00058     int             **nodeIndices;
00059     double          **distFromBoundary;
00060     ParameterTimeSeries **fmUpliftRate;
00061 }SPModelFaultModelContextExtension;
00062 
00063 extern ExtensionInfo_Index SPModel_FaultModel_ContextExtHandle;
00064 extern const Type SPModelFaultModel_Type;
00065 
00066 void* _SPModelFaultModel_DefaultNew( Name name );
00067 
00068 void _SPModelFaultModel_Construct( void* component, Stg_ComponentFactory* data );
00069 
00070 void _SPModelFaultModel_Init( void* _context );
00071 
00072 void SPModelFaultModel_Solve( void* _context );
00073 
00074 void SPModelFaultModel_RefreshNodeIndices( void *_context );
00075 
00076 Index SPModel_FaultModel_Register( PluginsManager* pluginsManager );
00077 
00078 #endif