28 void Initialize(
int igm,
int n_blocks,
int nmat,
int max_mat,
int NCFields,
int NMFields,
29 double* x0,
double* x1,
int max_level);
32 void InitializeBlock(
int block_id,
int Nx,
int Ny,
int Nz,
double* x,
double* y,
double* z,
33 int allocated,
int active,
int level);
36 void SetCellFieldName(
int field_id,
char* field_name,
char* comment,
int matid);
37 void SetMaterialFieldName(
int field_id,
char* field_name,
char* command);
40 void SetCellFieldPointer(
int block_id,
int field_id,
int k,
int j,
double* istrip);
41 void SetMaterialFieldPointer(
int block_id,
int field_id,
int mat,
int k,
int j,
double* istrip);
44 void UpdateBlock(
int block_id,
int allocated,
int active,
int level,
int max_level,
int bxbot,
45 int bxtop,
int bybot,
int bytop,
int bzbot,
int bztop,
int* neighb_proc,
int* neighb_block);
50 void UpdateRepresentation();
54 double MinLevelSpacing[3];
55 int GlobalBlockSize[3];
76 int neighbor_proc[24];
77 int neighbor_block[24];
78 std::vector<vtkSmartPointer<vtkCTHDataArray>>
CFieldData;
80 std::vector<std::vector<vtkSmartPointer<vtkCTHDataArray>>>
MFieldData;
87 void AllocateBlock(
Block& b);
88 bool GetBounds(
Block& b,
int loCorner[3],
int hiCorner[3]);
89 void AddGhostArray(
Block& b,
int dx,
int dy,
int dz);
90 void AddBlockIdArray(
Block& b,
int dx,
int dy,
int dz);
91 void AddNeighborArray(
Block& b);
92 void AddAMRLevelArray(
Block& b,
int dx,
int dy,
int dz);
93 void AddFieldArrays(
Block& b);
94 void AddFieldArrays(
Block& b,
int loCorner[3],
int hiCorner[3]);
95 void AddActivationArray(
Block& b);
vtkIntArray * NeighborArray
#define VTKPVADAPTORSCTH_EXPORT
std::vector< std::vector< std::string > > MFieldNames
vtkSmartPointer< vtkNonOverlappingAMR > AMRSet
std::vector< std::vector< vtkSmartPointer< vtkCTHDataArray > > > MFieldData
std::vector< std::string > CFieldNames
std::vector< vtkSmartPointer< vtkCTHDataArray > > CFieldData
std::vector< Block > Blocks