NPICAdaptor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: NPICAdaptor.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 =========================================================================*/
15 
16 #ifndef Adaptors_NPICAdaptor_h
17 #define Adaptors_NPICAdaptor_h
18 
20 
21 // This code is meant to be used as an API for C simulation
22 // codes. To use with C codes, include this header file. Call the
23 // 'extern "C"' functions as named below for both Fortran and C.
24 // C code should include this header file to get the properly
25 // mangled function names.
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
32  int* myid, int* xdim, int* ystart, int* ystop, double* xspc, double* yspc);
33 
34 void VTKPVADAPTORSNPIC_EXPORT add_scalar_(char* fname, int* len, double* data, int* size);
35 
37  char* fname, int* len, double* data0, double* data1, double* data2, int* size);
38 
39 void VTKPVADAPTORSNPIC_EXPORT add_pressure_(int* index, double* data, int* size);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 #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)