PhastaAdaptor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: PhastaAdaptor.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkPhastaAdaptor_h
23 #define vtkPhastaAdaptor_h
24 
26 
27 // This code is meant to be used as an API for C simulation
28 // codes. To use with C codes, include this header file. Call the
29 // 'extern "C"' functions as named below for both Fortran and C.
30 // C code should include this header file to get the properly
31 // mangled function names.
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
38  int* numPoints, double* coordsArray, int* numCells);
39 
41  int* numCellsInBlock, int* numPointsPerCell, int* cellConnectivity);
42 
44  int* nshg, int* ndof, double* dofArray, int* compressibleFlow);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 #endif
void VTKPVADAPTORSPHASTA_EXPORT addfields(int *nshg, int *ndof, double *dofArray, int *compressibleFlow)
#define VTKPVADAPTORSPHASTA_EXPORT
void VTKPVADAPTORSPHASTA_EXPORT createpointsandallocatecells(int *numPoints, double *coordsArray, int *numCells)
Simulation code.
void VTKPVADAPTORSPHASTA_EXPORT insertblockofcells(int *numCellsInBlock, int *numPointsPerCell, int *cellConnectivity)