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

Go to the source code of this file.

Functions

void VTKPVADAPTORSCAM_EXPORT fv_coprocessorinitializewithpython_ (const char *pythonScriptName)
 Initializes the Catalyst Coprocessor. More...
 
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. More...
 
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. More...
 
void VTKPVADAPTORSCAM_EXPORT fv_catalyst_finalize_ ()
 
int VTKPVADAPTORSCAM_EXPORT fv_requestdatadescription_ (int *timeStep, double *time)
 Checks if Catalyst needs to coprocess data. More...
 
int VTKPVADAPTORSCAM_EXPORT fv_needtocreategrid_ ()
 Checks if the grids need to be created. More...
 
void VTKPVADAPTORSCAM_EXPORT fv_coprocess_ ()
 Calls the coprocessor. More...
 

Function Documentation

◆ fv_coprocessorinitializewithpython_()

void VTKPVADAPTORSCAM_EXPORT fv_coprocessorinitializewithpython_ ( const char *  pythonScriptName)

Initializes the Catalyst Coprocessor.

Warning
Make sure you pass a zero terminated string

◆ fv_create_grid_()

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.

◆ fv_add_chunk_()

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.

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

◆ fv_catalyst_finalize_()

void VTKPVADAPTORSCAM_EXPORT fv_catalyst_finalize_ ( )

◆ fv_requestdatadescription_()

int VTKPVADAPTORSCAM_EXPORT fv_requestdatadescription_ ( int timeStep,
double time 
)

Checks if Catalyst needs to coprocess data.

◆ fv_needtocreategrid_()

int VTKPVADAPTORSCAM_EXPORT fv_needtocreategrid_ ( )

Checks if the grids need to be created.

◆ fv_coprocess_()

void VTKPVADAPTORSCAM_EXPORT fv_coprocess_ ( )

Calls the coprocessor.