Functions
se_create_data.h File Reference
#include "vtkPVAdaptorsCamModule.h"
Include dependency graph for se_create_data.h:

Go to the source code of this file.

Functions

void VTKPVADAPTORSCAM_EXPORT se_coprocessorinitializewithpython_ (const char *pythonScriptName)
 Initializes the Catalyst Coprocessor. More...
 
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. More...
 
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. More...
 
int VTKPVADAPTORSCAM_EXPORT se_requestdatadescription_ (int *timeStep, double *time)
 Checks if Catalyst needs to coprocess data. More...
 
int VTKPVADAPTORSCAM_EXPORT se_needtocreategrid_ ()
 Checks if the grids need to be created. More...
 
void VTKPVADAPTORSCAM_EXPORT se_coprocess_ ()
 calls the coprocessor More...
 
void VTKPVADAPTORSCAM_EXPORT se_catalyst_finalize_ ()
 

Function Documentation

◆ se_coprocessorinitializewithpython_()

void VTKPVADAPTORSCAM_EXPORT se_coprocessorinitializewithpython_ ( const char *  pythonScriptName)

Initializes the Catalyst Coprocessor.

Warning
Make sure you pass a zero terminated string

◆ se_create_grid_()

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.

◆ se_add_chunk_()

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.

for all timesteps: copies data from the simulation to Catalyst.

◆ se_requestdatadescription_()

int VTKPVADAPTORSCAM_EXPORT se_requestdatadescription_ ( int timeStep,
double time 
)

Checks if Catalyst needs to coprocess data.

◆ se_needtocreategrid_()

int VTKPVADAPTORSCAM_EXPORT se_needtocreategrid_ ( )

Checks if the grids need to be created.

◆ se_coprocess_()

void VTKPVADAPTORSCAM_EXPORT se_coprocess_ ( )

calls the coprocessor

◆ se_catalyst_finalize_()

void VTKPVADAPTORSCAM_EXPORT se_catalyst_finalize_ ( )