se_create_data.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
7 #ifndef Adaptors_se_create_data_h
8 #define Adaptors_se_create_data_h
9 
10 #include "vtkPVAdaptorsCamModule.h"
11 
12 // This code is meant to be used as an API for C simulation
13 // codes. To use with C codes, include this header file. Call the
14 // 'extern "C"' functions as named below for both Fortran and C.
15 // C code should include this header file to get the properly
16 // mangled function names.
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
27  void VTKPVADAPTORSCAM_EXPORT se_coprocessorinitializewithpython_(const char* pythonScriptName);
28 
32  void VTKPVADAPTORSCAM_EXPORT se_create_grid_(int* ne, int* np, int* nlon, double* lonRad,
33  int* nlat, double* latRad, int* nlev, double* lev, int* nCells2d, int* maxNcols, int* mpiRank);
34 
39  void VTKPVADAPTORSCAM_EXPORT se_add_chunk_(int* nstep, int* chunkSize, double* lonRad,
40  double* latRad, double* psScalar, double* tScalar, double* uScalar, double* vScalar);
41 
45  int VTKPVADAPTORSCAM_EXPORT se_requestdatadescription_(int* timeStep, double* time);
46 
51 
56 
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 #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_()