MOAB: Mesh Oriented datABase  (version 5.3.0)
imoab_protos.h
Go to the documentation of this file.
00001 #ifndef IMOAB_PROTOS_H
00002 #define IMOAB_PROTOS_H
00003 
00004 #include "moab/MOABConfig.h"
00005 
00006 #if defined( MOAB_FC_FUNC_ )
00007 #define IMOAB_FC_WRAPPER MOAB_FC_FUNC_
00008 #elif defined( MOAB_FC_FUNC )
00009 #define IMOAB_FC_WRAPPER MOAB_FC_FUNC
00010 #else
00011 #define IMOAB_FC_WRAPPER( name, NAME ) name
00012 #endif
00013 
00014 /* remove the methods that will not be called from fortran; need to expose/declare only Fortran bindings ! */
00015 /*#define iMOAB_Initialize          IMOAB_FC_WRAPPER( imoab_initialize, IMOAB_INITIALIZE ) */
00016 #define iMOAB_InitializeFortran   IMOAB_FC_WRAPPER( imoab_initializefortran, IMOAB_INITIALIZEFORTRAN )
00017 #define iMOAB_Finalize            IMOAB_FC_WRAPPER( imoab_finalize, IMOAB_FINALIZE )
00018 /*#define iMOAB_RegisterApplication IMOAB_FC_WRAPPER( imoab_registerapplication, IMOAB_REGISTERAPPLICATION ) */
00019 #define iMOAB_RegisterApplicationFortran \
00020     IMOAB_FC_WRAPPER( imoab_registerapplicationfortran, IMOAB_REGISTERAPPLICATIONFORTRAN )
00021 #define iMOAB_DeregisterApplication IMOAB_FC_WRAPPER( imoab_deregisterapplication, IMOAB_DEREGISTERAPPLICATION )
00022 #define iMOAB_ReadHeaderInfo        IMOAB_FC_WRAPPER( imoab_readheaderinfo, IMOAB_READHEADERINFO )
00023 #define iMOAB_LoadMesh              IMOAB_FC_WRAPPER( imoab_loadmesh, IMOAB_LOADMESH )
00024 #define iMOAB_WriteMesh             IMOAB_FC_WRAPPER( imoab_writemesh, IMOAB_WRITEMESH )
00025 #define iMOAB_WriteLocalMesh        IMOAB_FC_WRAPPER( imoab_writelocalmesh, IMOAB_WRITELOCALMESH )
00026 #define iMOAB_UpdateMeshInfo        IMOAB_FC_WRAPPER( imoab_updatemeshinfo, IMOAB_UPDATEMESHINFO )
00027 #define iMOAB_GetMeshInfo           IMOAB_FC_WRAPPER( imoab_getmeshinfo, IMOAB_GETMESHINFO )
00028 #define iMOAB_GetVertexID           IMOAB_FC_WRAPPER( imoab_getvertexid, IMOAB_GETVERTEXID )
00029 #define iMOAB_GetVertexOwnership    IMOAB_FC_WRAPPER( imoab_getvertexownership, IMOAB_GETVERTEXOWNERSHIP )
00030 #define iMOAB_GetVisibleVerticesCoordinates \
00031     IMOAB_FC_WRAPPER( imoab_getvisibleverticescoordinates, IMOAB_GETVISIBLEVERTICESCOORDINATES )
00032 #define iMOAB_GetBlockID             IMOAB_FC_WRAPPER( imoab_getblockid, IMOAB_GETBLOCKID )
00033 #define iMOAB_GetBlockInfo           IMOAB_FC_WRAPPER( imoab_getblockinfo, IMOAB_GETBLOCKINFO )
00034 #define iMOAB_GetVisibleElementsInfo IMOAB_FC_WRAPPER( imoab_getvisibleelementsinfo, IMOAB_GETVISIBLEELEMENTSINFO )
00035 #define iMOAB_GetBlockElementConnectivities \
00036     IMOAB_FC_WRAPPER( imoab_getblockelementconnectivities, IMOAB_GETBLOCKELEMENTCONNECTIVITIES )
00037 #define iMOAB_GetElementConnectivity IMOAB_FC_WRAPPER( imoab_getelementconnectivity, IMOAB_GETELEMENTCONNECTIVITY )
00038 #define iMOAB_GetElementOwnership    IMOAB_FC_WRAPPER( imoab_getelementownership, IMOAB_GETELEMENTOWNERSHIP )
00039 #define iMOAB_GetElementID           IMOAB_FC_WRAPPER( imoab_getelementid, IMOAB_GETELEMENTID )
00040 #define iMOAB_GetPointerToSurfaceBC  IMOAB_FC_WRAPPER( imoab_getpointertosurfacebc, IMOAB_GETPOINTERTOSURFACEBC )
00041 #define iMOAB_GetPointerToVertexBC   IMOAB_FC_WRAPPER( imoab_getpointertovertexbc, IMOAB_GETPOINTERTOVERTEXBC )
00042 #define iMOAB_DefineTagStorage       IMOAB_FC_WRAPPER( imoab_definetagstorage, IMOAB_DEFINETAGSTORAGE )
00043 #define iMOAB_SetIntTagStorage       IMOAB_FC_WRAPPER( imoab_setinttagstorage, IMOAB_SETINTTAGSTORAGE )
00044 #define iMOAB_GetIntTagStorage       IMOAB_FC_WRAPPER( imoab_getinttagstorage, IMOAB_GETINTTAGSTORAGE )
00045 #define iMOAB_SetDoubleTagStorage    IMOAB_FC_WRAPPER( imoab_setdoubletagstorage, IMOAB_SETDOUBLETAGSTORAGE )
00046 #define iMOAB_GetDoubleTagStorage    IMOAB_FC_WRAPPER( imoab_getdoubletagstorage, IMOAB_GETDOUBLETAGSTORAGE )
00047 #define iMOAB_SynchronizeTags        IMOAB_FC_WRAPPER( imoab_synchronizetags, IMOAB_SYNCHRONIZETAGS )
00048 #define iMOAB_ReduceTagsMax          IMOAB_FC_WRAPPER( imoab_reducetagsmax, IMOAB_REDUCETAGSMAX )
00049 #define iMOAB_GetNeighborElements    IMOAB_FC_WRAPPER( imoab_getneighborelements, IMOAB_GETNEIGHBORELEMENTS )
00050 #define iMOAB_GetNeighborVertices    IMOAB_FC_WRAPPER( imoab_getneighborvertices, IMOAB_GETNEIGHBORVERTICES )
00051 
00052 #define iMOAB_CreateVertices         IMOAB_FC_WRAPPER( imoab_createvertices, IMOAB_CREATEVERTICES )
00053 #define iMOAB_CreateElements         IMOAB_FC_WRAPPER( imoab_createelements, IMOAB_CREATEELEMENTS )
00054 #define iMOAB_ResolveSharedEntities  IMOAB_FC_WRAPPER( imoab_resolvesharedentities, IMOAB_RESOLVESHAREDENTITIES )
00055 #define iMOAB_DetermineGhostEntities IMOAB_FC_WRAPPER( imoab_determineghostentities, IMOAB_DETERMINEGHOSTENTITIES )
00056 #define iMOAB_SetGlobalInfo          IMOAB_FC_WRAPPER( imoab_setglobalinfo, IMOAB_SETGLOBALINFO )
00057 #define iMOAB_GetGlobalInfo          IMOAB_FC_WRAPPER( imoab_getglobalinfo, IMOAB_GETGLOBALINFO )
00058 /*#define iMOAB_SendMesh               IMOAB_FC_WRAPPER( imoab_sendmesh, IMOAB_SENDMESH ) */
00059 #define iMOAB_SendMeshFortran        IMOAB_FC_WRAPPER( imoab_sendmeshfortran, IMOAB_SENDMESHFORTRAN )
00060 #define iMOAB_FreeSenderBuffers      IMOAB_FC_WRAPPER( imoab_freesenderbuffers, IMOAB_FREESENDERBUFFERS )
00061 /*#define iMOAB_ReceiveMesh            IMOAB_FC_WRAPPER( imoab_receivemesh, IMOAB_RECEIVEMESH ) */
00062 #define iMOAB_ReceiveMeshFortran     IMOAB_FC_WRAPPER( imoab_receivemeshfortran, IMOAB_RECEIVEMESHFORTRAN )
00063 /*#define iMOAB_SendElementTag         IMOAB_FC_WRAPPER( imoab_sendelementtag, IMOAB_SENDELEMENTTAG ) */
00064 #define iMOAB_SendElementTagFortran  IMOAB_FC_WRAPPER( imoab_sendelementtagfortran, IMOAB_SENDELEMENTTAGFORTRAN )
00065 /*#define iMOAB_ReceiveElementTag      IMOAB_FC_WRAPPER( imoab_receiveelementtag, IMOAB_RECEIVEELEMENTTAG )*/
00066 #define iMOAB_ReceiveElementTagFortran  IMOAB_FC_WRAPPER( imoab_receiveelementtagfortran, IMOAB_RECEIVEELEMENTTAGFORTRAN )
00067 #define iMOAB_DumpCommGraph          IMOAB_FC_WRAPPER( imoab_dumpcommgraph, IMOAB_DUMPCOMMGRAPH )
00068 /*#define iMOAB_ComputeCommGraph       IMOAB_FC_WRAPPER( imoab_computecommgraph, IMOAB_COMPUTECOMMGRAPH )*/
00069 #define iMOAB_ComputeCommGraphFortran   IMOAB_FC_WRAPPER( imoab_computecommgraphfortran, IMOAB_COMPUTECOMMGRAPHFORTRAN )
00070 #define iMOAB_MergeVertices          IMOAB_FC_WRAPPER( imoab_mergevertices, IMOAB_MERGEVERTICES )
00071 
00072 #ifdef MOAB_HAVE_TEMPESTREMAP
00073 
00074 #define iMOAB_ComputeMeshIntersectionOnSphere \
00075     IMOAB_FC_WRAPPER( imoab_computemeshintersectiononsphere, IMOAB_COMPUTEMESHINTERSECTIONONSPHERE )
00076 #define iMOAB_ComputePointDoFIntersection \
00077     IMOAB_FC_WRAPPER( imoab_computepointdofintersection, IMOAB_COMPUTEPOINTDOFINTERSECTION )
00078 #define iMOAB_ComputeScalarProjectionWeights \
00079     IMOAB_FC_WRAPPER( imoab_computescalarprojectionweights, IMOAB_COMPUTESCALARPROJECTIONWEIGHTS )
00080 #define iMOAB_ApplyScalarProjectionWeights \
00081     IMOAB_FC_WRAPPER( imoab_applyscalarprojectionweights, IMOAB_APPLYSCALARPROJECTIONWEIGHTS )
00082 
00083 /*#define iMOAB_MigrateMapMesh IMOAB_FC_WRAPPER( imoab_migratemapmesh, IMOAB_MIGRATEMAPMESH )*/
00084 #define iMOAB_MigrateMapMeshFortran IMOAB_FC_WRAPPER( imoab_migratemapmeshfortran, IMOAB_MIGRATEMAPMESHFORTRAN )
00085 
00086 /* #define iMOAB_CoverageGraph IMOAB_FC_WRAPPER( imoab_coveragegraph, IMOAB_COVERAGEGRAPH )
00087  */
00088 #define iMOAB_CoverageGraphFortran IMOAB_FC_WRAPPER( imoab_coveragegraphfortran, IMOAB_COVERAGEGRAPHFORTRAN )
00089 
00090 #ifdef MOAB_HAVE_NETCDF
00091 
00092 #define iMOAB_LoadMappingWeightsFromFile \
00093     IMOAB_FC_WRAPPER( imoab_loadmappingweightsfromfile, IMOAB_LOADMAPPINGWEIGHTSFROMFILE )
00094 #define iMOAB_LoadMappingWeights \
00095     IMOAB_FC_WRAPPER( imoab_loadmappingweights, IMOAB_LOADMAPPINGWEIGHTS )
00096 #define iMOAB_WriteMappingWeightsToFile \
00097     IMOAB_FC_WRAPPER( imoab_writemappingweightstofile, IMOAB_WRITEMAPPINGWEIGHTSTOFILE )
00098 #endif /* MOAB_HAVE_NETCDF */
00099 
00100 #endif /* MOAB_HAVE_TEMPESTREMAP */
00101 
00102 #endif /*IMOAB_PROTOS_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines