fv_create_data.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: fv_create_data.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 =========================================================================*/
19 #ifndef Adaptors_fv_create_data_h
20 #define Adaptors_fv_create_data_h
21 
22 #include "vtkPVAdaptorsCamModule.h"
23 
24 // This code is meant to be used as an API for C simulation
25 // codes. To use with C codes, include this header file. Call the
26 // 'extern "C"' functions as named below for both Fortran and C.
27 // C code should include this header file to get the properly
28 // mangled function names.
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 void VTKPVADAPTORSCAM_EXPORT fv_coprocessorinitializewithpython_(const char* pythonScriptName);
39 
43 void VTKPVADAPTORSCAM_EXPORT fv_create_grid_(int* dim, double* lonCoord, double* latCoord,
44  double* levCoord, int* nCells2d, int* maxNcols, int* myRank);
45 
50 void VTKPVADAPTORSCAM_EXPORT fv_add_chunk_(int* nstep, int* chunkSize, double* lonRad,
51  double* latRad, double* psScalar, double* tScalar, double* uScalar, double* vScalar);
52 
54 
58 int VTKPVADAPTORSCAM_EXPORT fv_requestdatadescription_(int* timeStep, double* time);
59 
63 int VTKPVADAPTORSCAM_EXPORT fv_requestdatadescription_(int* timeStep, double* time);
64 
69 
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 #endif
void VTKPVADAPTORSCAM_EXPORT fv_coprocess_()
Calls the coprocessor.
#define VTKPVADAPTORSCAM_EXPORT
int VTKPVADAPTORSCAM_EXPORT fv_requestdatadescription_(int *timeStep, double *time)
Checks if Catalyst needs to coprocess data.
void VTKPVADAPTORSCAM_EXPORT fv_add_chunk_(int *nstep, int *chunkSize, double *lonRad, double *latRad, double *psScalar, double *tScalar, double *uScalar, double *vScalar)
for timestep 0: creates the points and cells for the grids.
int VTKPVADAPTORSCAM_EXPORT fv_needtocreategrid_()
Checks if the grids need to be created.
void VTKPVADAPTORSCAM_EXPORT fv_create_grid_(int *dim, double *lonCoord, double *latCoord, double *levCoord, int *nCells2d, int *maxNcols, int *myRank)
Creates the Grids for 2D, 3D rectilinear and 2D, 3D spherical.
void VTKPVADAPTORSCAM_EXPORT fv_catalyst_finalize_()
void VTKPVADAPTORSCAM_EXPORT fv_coprocessorinitializewithpython_(const char *pythonScriptName)
Initializes the Catalyst Coprocessor.