1#ifndef CHI_VOLUMEMESHER_H
2#define CHI_VOLUMEMESHER_H
73 std::array<size_t,3> ortho_Nis={0,0,0});
80 std::tuple<int,int,int>
89 bool sense,
int mat_id);
93 const std::string& bndry_name);
const VolumeMesherType type_
MeshContinuumPtr & GetContinuum()
static void SetBndryIDFromLogical(const chi_mesh::LogicalVolume &log_vol, bool sense, const std::string &bndry_name)
static void SetMatIDFromLogical(const chi_mesh::LogicalVolume &log_vol, bool sense, int mat_id)
void SetContinuum(MeshContinuumPtr &grid)
static void CreatePolygonCells(const chi_mesh::UnpartitionedMesh &umesh, chi_mesh::MeshContinuumPtr &grid)
static std::tuple< int, int, int > GetCellXYZPartitionID(chi_mesh::Cell *cell)
static void SetMatIDFromLuaFunction(const std::string &lua_fname)
void SetGridAttributes(MeshAttributes new_attribs, std::array< size_t, 3 > ortho_Nis={0, 0, 0})
static void SetupOrthogonalBoundaries()
virtual ~VolumeMesher()=default
VolumeMesher(VolumeMesherType type)
VolumeMesherType Type() const
static void SetBndryIDFromLuaFunction(const std::string &lua_fname)
VOLUME_MESHER_OPTIONS options
chi_mesh::MeshContinuumPtr grid_ptr_
static std::pair< int, int > GetCellXYPartitionID(chi_mesh::Cell *cell)
static void SetMatIDToAll(int mat_id)
@ MATID_FROM_LUA_FUNCTION
@ BNDRYID_FROM_LUA_FUNCTION
std::shared_ptr< MeshContinuum > MeshContinuumPtr
std::vector< double > zcuts
PartitionType partition_type
std::vector< double > xcuts
std::vector< double > ycuts