Function lili::mesh::UpdateMeshSizeDim¶
Defined in File mesh.cpp
Function Documentation¶
-
void lili::mesh::UpdateMeshSizeDim(MeshSize &mesh_size)¶
Function to recalculate the dimension of the MeshSize.
Recalculate the dimension of the MeshSize based on the number of cells in each axis.
\[\begin{split} \text{dim} = \begin{cases} 3 & \text{if } n_z > 1 \\ 2 & \text{if } n_y > 1 \\ 1 & \text{otherwise} \end{cases} \end{split}\]- Parameters:
mesh_size – Mesh size information