NPICAdaptor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 
4 #ifndef Adaptors_NPICAdaptor_h
5 #define Adaptors_NPICAdaptor_h
6 
8 
9 // This code is meant to be used as an API for C simulation
10 // codes. To use with C codes, include this header file. Call the
11 // 'extern "C"' functions as named below for both Fortran and C.
12 // C code should include this header file to get the properly
13 // mangled function names.
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif
19 
21  int* myid, int* xdim, int* ystart, int* ystop, double* xspc, double* yspc);
22 
23  void VTKPVADAPTORSNPIC_EXPORT add_scalar_(char* fname, int* len, double* data, int* size);
24 
26  char* fname, int* len, double* data0, double* data1, double* data2, int* size);
27 
28  void VTKPVADAPTORSNPIC_EXPORT add_pressure_(int* index, double* data, int* size);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 #endif
void VTKPVADAPTORSNPIC_EXPORT add_pressure_(int *index, double *data, int *size)
void VTKPVADAPTORSNPIC_EXPORT add_vector_(char *fname, int *len, double *data0, double *data1, double *data2, int *size)
#define VTKPVADAPTORSNPIC_EXPORT
void VTKPVADAPTORSNPIC_EXPORT add_scalar_(char *fname, int *len, double *data, int *size)
void VTKPVADAPTORSNPIC_EXPORT createstructuredgrid_(int *myid, int *xdim, int *ystart, int *ystop, double *xspc, double *yspc)