Functions
PagosaAdaptor.h File Reference
#include "vtkPVAdaptorsPagosaModule.h"
Include dependency graph for PagosaAdaptor.h:

Go to the source code of this file.

Functions

void VTKPVADAPTORSPAGOSA_EXPORT setcoprocessorgeometry_ (int *mx, int *my, int *mz, double *x0, double *y0, double *z0, double *dx, double *dy, double *dz, int *my_id, const int *tot_pes, char *nframe, int *nframelen, char *version, int *versionlen)
 Simulation code. More...
 
void VTKPVADAPTORSPAGOSA_EXPORT setgridgeometry_ (char *nframe, int *nframelen, char *version, int *versionlen, int *cycleNum, double *simTime)
 Update the vtkNonOverlappingAMR headers for every frame (time step) This holds ImageData which does not change size, but frame, version, cycle and simulation time change with each frame. More...
 
void VTKPVADAPTORSPAGOSA_EXPORT addgridfield_ (char *fname, int *len, int *mx, int *my, int *mz, int *my_id, float *data, bool *down_convert)
 Add field data in the first grid of nonoverlapping AMR. More...
 
void VTKPVADAPTORSPAGOSA_EXPORT setmarkergeometry_ (int *nvp, char *nframe, int *nframelen, char *version, int *versionlen, int *cycleNum, double *simTime)
 Initialize unstructured grid for ALL markers and allocate total size. More...
 
void VTKPVADAPTORSPAGOSA_EXPORT addmarkergeometry_ (int *numberAdded, float *xloc, float *yloc, float *zloc)
 Add a field to the unstructured grid of markers. More...
 
void VTKPVADAPTORSPAGOSA_EXPORT addmarkerscalarfield_ (char *fname, int *len, int *numberAdded, float *data)
 
void VTKPVADAPTORSPAGOSA_EXPORT addmarkervectorfield_ (char *fname, int *len, int *numberAdded, float *data0, float *data1, float *data2)
 Set a 3 element vector field in the unstructured grid of markers. More...
 
void VTKPVADAPTORSPAGOSA_EXPORT addmarkertensorfield_ (char *fname, int *len, int *numberAdded, float *data0, float *data1, float *data2, float *data3, float *data4, float *data5)
 Set a 6 element tensor field in the unstructured grid of markers. More...
 

Function Documentation

◆ setcoprocessorgeometry_()

void VTKPVADAPTORSPAGOSA_EXPORT setcoprocessorgeometry_ ( int *  mx,
int *  my,
int *  mz,
double *  x0,
double *  y0,
double *  z0,
double *  dx,
double *  dy,
double *  dz,
int *  my_id,
const int *  tot_pes,
char *  nframe,
int *  nframelen,
char *  version,
int *  versionlen 
)

Simulation code.

Pagosa is a simulation code. It is a closed source code. A copy of the Physics Manual is at http://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-14425-M Define the data structures to hold the in situ output VTK data vtkNonOverlappingAMR is required for using the MaterialInterface filter vtkUnstructuredGrid will hold the data currently written to .cosmo files.

Parameters
mx,my,mznumber of grid cells in each logical direction
x0,y0,z0origin on this Processor Element (PE)
dx,dy,dzgrid cell size
my_idthis PE number
tot_pestotal number of PEs
nframe,nframelenstring and stringlength
version,versionlenstring and stringlength

◆ setgridgeometry_()

void VTKPVADAPTORSPAGOSA_EXPORT setgridgeometry_ ( char *  nframe,
int *  nframelen,
char *  version,
int *  versionlen,
int *  cycleNum,
double *  simTime 
)

Update the vtkNonOverlappingAMR headers for every frame (time step) This holds ImageData which does not change size, but frame, version, cycle and simulation time change with each frame.

Parameters
nframe,nframelenstring and stringlength
version,versionlenstring and stringlength
cycleNumsimulation cycle number
simTimesimulation time

◆ addgridfield_()

void VTKPVADAPTORSPAGOSA_EXPORT addgridfield_ ( char *  fname,
int *  len,
int *  mx,
int *  my,
int *  mz,
int *  my_id,
float *  data,
bool *  down_convert 
)

Add field data in the first grid of nonoverlapping AMR.

Parameters
fname,lenname, namelength
mx,my,mznumber of grid cells in each logical direction
my_idthis PE number
datadata
down_convertif .true. convert data to unsigned character

◆ setmarkergeometry_()

void VTKPVADAPTORSPAGOSA_EXPORT setmarkergeometry_ ( int *  nvp,
char *  nframe,
int *  nframelen,
char *  version,
int *  versionlen,
int *  cycleNum,
double *  simTime 
)

Initialize unstructured grid for ALL markers and allocate total size.

Parameters
nvpTotal number of markers in simulation
nframe,nframelenstring and stringlength
version,versionlenstring and stringlength
cycleNumsimulation cycle number
simTimesimulation time

◆ addmarkergeometry_()

void VTKPVADAPTORSPAGOSA_EXPORT addmarkergeometry_ ( int *  numberAdded,
float *  xloc,
float *  yloc,
float *  zloc 
)

Add a field to the unstructured grid of markers.

Parameters
numberAddednumber of markers added on this PE
xloc,yloc,zloccoordinates for each marker added

◆ addmarkerscalarfield_()

void VTKPVADAPTORSPAGOSA_EXPORT addmarkerscalarfield_ ( char *  fname,
int *  len,
int *  numberAdded,
float *  data 
)

◆ addmarkervectorfield_()

void VTKPVADAPTORSPAGOSA_EXPORT addmarkervectorfield_ ( char *  fname,
int *  len,
int *  numberAdded,
float *  data0,
float *  data1,
float *  data2 
)

Set a 3 element vector field in the unstructured grid of markers.

Parameters
fname,lenName of data, len(fname)
numberAddednumber of markers added on this PE
data0,data1,data2Data by marker

◆ addmarkertensorfield_()

void VTKPVADAPTORSPAGOSA_EXPORT addmarkertensorfield_ ( char *  fname,
int *  len,
int *  numberAdded,
float *  data0,
float *  data1,
float *  data2,
float *  data3,
float *  data4,
float *  data5 
)

Set a 6 element tensor field in the unstructured grid of markers.

Parameters
fname,lenName of data, len(fname)
numberAddednumber of markers added on this PE
data0,data1,data2,data3,data4,data5Data by marker