se_create_data.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: se_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_se_create_data_h
20 #define Adaptors_se_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 se_coprocessorinitializewithpython_(const char* pythonScriptName);
39 
43 void VTKPVADAPTORSCAM_EXPORT se_create_grid_(int* ne, int* np, int* nlon, double* lonRad, int* nlat,
44  double* latRad, int* nlev, double* lev, int* nCells2d, int* maxNcols, int* mpiRank);
45 
50 void VTKPVADAPTORSCAM_EXPORT se_add_chunk_(int* nstep, int* chunkSize, double* lonRad,
51  double* latRad, double* psScalar, double* tScalar, double* uScalar, double* vScalar);
52 
56 int VTKPVADAPTORSCAM_EXPORT se_requestdatadescription_(int* timeStep, double* time);
57 
62 
67 
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 #endif
void VTKPVADAPTORSCAM_EXPORT se_create_grid_(int *ne, int *np, int *nlon, double *lonRad, int *nlat, double *latRad, int *nlev, double *lev, int *nCells2d, int *maxNcols, int *mpiRank)
Creates grids for 2d and 3d cubed-spheres.
#define VTKPVADAPTORSCAM_EXPORT
void VTKPVADAPTORSCAM_EXPORT se_coprocessorinitializewithpython_(const char *pythonScriptName)
Initializes the Catalyst Coprocessor.
int VTKPVADAPTORSCAM_EXPORT se_requestdatadescription_(int *timeStep, double *time)
Checks if Catalyst needs to coprocess data.
void VTKPVADAPTORSCAM_EXPORT se_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 se_needtocreategrid_()
Checks if the grids need to be created.
void VTKPVADAPTORSCAM_EXPORT se_coprocess_()
calls the coprocessor
void VTKPVADAPTORSCAM_EXPORT se_catalyst_finalize_()