166 explicit GeneratedMesh(
const std::string ¶meters,
int proc_count = 1,
int my_proc = 0);
167 GeneratedMesh(int64_t num_x, int64_t num_y, int64_t num_z,
int proc_count = 1,
int my_proc = 0);
177 void create_tets(
bool yesno);
183 void create_pyramids(
bool yesno);
247 void set_scale(
double scl_x,
double scl_y,
double scl_z);
248 void set_offset(
double off_x,
double off_y,
double off_z);
249 void set_bbox(
double xmin,
double ymin,
double zmin,
double xmax,
double ymax,
double zmax);
257 void set_rotation(
const std::string &axis,
double angle_degrees);
287 IOSS_NODISCARD virtual int64_t nodeset_node_count_proc(int64_t
id)
const;
308 IOSS_NODISCARD virtual int64_t sideset_side_count_proc(int64_t
id)
const;
336 IOSS_NODISCARD virtual int64_t element_count(int64_t block_number)
const;
343 IOSS_NODISCARD virtual int64_t element_count_proc(int64_t block_number)
const;
350 IOSS_NODISCARD virtual std::pair<std::string, int> topology_type(int64_t block_number)
const;
352 void build_node_map(
Ioss::Int64Vector &map, std::vector<int> &proc, int64_t slab,
353 size_t slabOffset,
size_t adjacentProc,
size_t index);
354 IOSS_NODISCARD virtual int64_t communication_node_count_proc()
const;
355 virtual void node_communication_map(
Ioss::Int64Vector &map, std::vector<int> &proc);
356 virtual void owning_processor(
int *owner, int64_t num_node);
372 virtual void element_map(int64_t block_number,
Ioss::IntVector &map)
const;
402 void connectivity(int64_t block_number,
Ioss::IntVector &connect)
const;
403 void connectivity(int64_t block_number, int64_t *connect)
const;
404 virtual void connectivity(int64_t block_number,
int *connect)
const;
413 virtual void coordinates(std::vector<double> &coord)
const;
414 virtual void coordinates(
double *coord)
const;
422 virtual void coordinates(std::vector<double> &x, std::vector<double> &y,
423 std::vector<double> &z)
const;
434 virtual void coordinates(
int component, std::vector<double> &xyz)
const;
435 virtual void coordinates(
int component,
double *xyz)
const;
453 virtual void sideset_elem_sides(int64_t
id,
Ioss::Int64Vector &elem_sides)
const;
455 virtual Ioss::NameList sideset_touching_blocks(int64_t set_id)
const;
463 return variableCount.find(type) != variableCount.end() ? variableCount.find(type)->second : 0;
467 template <
typename INT>
void raw_element_map(int64_t block_number, std::vector<INT> &map)
const;
468 template <
typename INT>
void raw_element_map(std::vector<INT> &map)
const;
469 template <
typename INT>
void raw_connectivity(int64_t block_number, INT *connect)
const;
471 void set_variable_count(
const std::string &type,
size_t count);
473 void show_parameters()
const;
479 std::array<std::array<double, 3>, 3>
rotmat;
480 int64_t numX{0}, numY{0}, numZ{0};
481 int64_t myNumZ{0}, myStartZ{0};
483 int processorCount{0};
486 int timestepCount{0};
489 double offX{0}, offY{0}, offZ{0};
490 double sclX{1}, sclY{1}, sclZ{1};
494 bool doRotation{
false};
495 bool createTets{
false};
496 bool createPyramids{
false};