#include <chi_volumemesher.h>
Parent volume mesher class.
Definition at line 40 of file chi_volumemesher.h.
◆ PartitionType
◆ VolumeMesher()
◆ ~VolumeMesher()
virtual chi_mesh::VolumeMesher::~VolumeMesher |
( |
| ) |
|
|
virtualdefault |
◆ CreatePolygonCells()
◆ Execute()
void chi_mesh::VolumeMesher::Execute |
( |
| ) |
|
|
virtual |
◆ GetCellXYPartitionID()
std::pair< int, int > chi_mesh::VolumeMesher::GetCellXYPartitionID |
( |
chi_mesh::Cell * |
cell | ) |
|
|
static |
◆ GetCellXYZPartitionID()
std::tuple< int, int, int > chi_mesh::VolumeMesher::GetCellXYZPartitionID |
( |
chi_mesh::Cell * |
cell | ) |
|
|
static |
Obtains the xyz partition IDs of a cell. Cell xy_partition ids are obtained from the surface mesher. z id is obtained from the volume mesher.
Definition at line 102 of file chi_volumemesher_01a_get_PIDs.cc.
◆ GetContinuum()
◆ SetBndryIDFromLogical()
void chi_mesh::VolumeMesher::SetBndryIDFromLogical |
( |
const chi_mesh::LogicalVolume & |
log_vol, |
|
|
bool |
sense, |
|
|
const std::string & |
bndry_name |
|
) |
| |
|
static |
◆ SetBndryIDFromLuaFunction()
void chi_mesh::VolumeMesher::SetBndryIDFromLuaFunction |
( |
const std::string & |
lua_fname | ) |
|
|
static |
Sets boundary id's using a lua function. The lua function is called for each boundary face with 7 arguments, the face's centroid x,y,z values, the face's normal x,y,z values and the face's current boundary id. The function must return a new_bndry_name (string).
The lua function's prototype should be:
function LuaFuncName(x,y,z,nx,ny,nz,id)
--stuff
end
Definition at line 257 of file chi_volumemesher_01c_set_IDs.cc.
◆ SetContinuum()
◆ SetGridAttributes()
void chi_mesh::VolumeMesher::SetGridAttributes |
( |
MeshAttributes |
new_attribs, |
|
|
std::array< size_t, 3 > |
ortho_Nis = {0,0,0} |
|
) |
| |
Sets grid attributes. This is normally a private member of the grid but this class is a friend.
Definition at line 26 of file chi_volumemesher_01_utils.cc.
◆ SetMatIDFromLogical()
void chi_mesh::VolumeMesher::SetMatIDFromLogical |
( |
const chi_mesh::LogicalVolume & |
log_vol, |
|
|
bool |
sense, |
|
|
int |
mat_id |
|
) |
| |
|
static |
◆ SetMatIDFromLuaFunction()
void chi_mesh::VolumeMesher::SetMatIDFromLuaFunction |
( |
const std::string & |
lua_fname | ) |
|
|
static |
Sets material id's using a lua function. The lua function is called with for each cell with 4 arguments, the cell's centroid x,y,z values and the cell's current material id.
The lua function's prototype should be:
function LuaFuncName(x,y,z,id)
--stuff
end
Definition at line 152 of file chi_volumemesher_01c_set_IDs.cc.
◆ SetMatIDToAll()
void chi_mesh::VolumeMesher::SetMatIDToAll |
( |
int |
mat_id | ) |
|
|
static |
◆ SetupOrthogonalBoundaries()
void chi_mesh::VolumeMesher::SetupOrthogonalBoundaries |
( |
| ) |
|
|
static |
◆ Type()
◆ grid_ptr_
◆ options
◆ type_
The documentation for this class was generated from the following files: