#include "vtkPVAdaptorsPagosaModule.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... | |
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.
mx,my,mz | number of grid cells in each logical direction |
x0,y0,z0 | origin on this Processor Element (PE) |
dx,dy,dz | grid cell size |
my_id | this PE number |
tot_pes | total number of PEs |
nframe,nframelen | string and stringlength |
version,versionlen | string and stringlength |
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.
nframe,nframelen | string and stringlength |
version,versionlen | string and stringlength |
cycleNum | simulation cycle number |
simTime | simulation time |
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.
fname,len | name, namelength |
mx,my,mz | number of grid cells in each logical direction |
my_id | this PE number |
data | data |
down_convert | if .true. convert data to unsigned character |
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.
nvp | Total number of markers in simulation |
nframe,nframelen | string and stringlength |
version,versionlen | string and stringlength |
cycleNum | simulation cycle number |
simTime | simulation time |
void VTKPVADAPTORSPAGOSA_EXPORT addmarkergeometry_ | ( | int * | numberAdded, |
float * | xloc, | ||
float * | yloc, | ||
float * | zloc | ||
) |
Add a field to the unstructured grid of markers.
numberAdded | number of markers added on this PE |
xloc,yloc,zloc | coordinates for each marker added |
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.
fname,len | Name of data, len(fname) |
numberAdded | number of markers added on this PE |
data0,data1,data2 | Data by marker |
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.
fname,len | Name of data, len(fname) |
numberAdded | number of markers added on this PE |
data0,data1,data2,data3,data4,data5 | Data by marker |