PhastaAdaptor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPhastaAdaptor_h
11 #define vtkPhastaAdaptor_h
12 
14 
15 // This code is meant to be used as an API for C simulation
16 // codes. To use with C codes, include this header file. Call the
17 // 'extern "C"' functions as named below for both Fortran and C.
18 // C code should include this header file to get the properly
19 // mangled function names.
20 
21 #ifdef __cplusplus
22 extern "C"
23 {
24 #endif
25 
27  int* numPoints, double* coordsArray, int* numCells);
28 
30  int* numCellsInBlock, int* numPointsPerCell, int* cellConnectivity);
31 
33  int* nshg, int* ndof, double* dofArray, int* compressibleFlow);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 #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)