Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
Mesh related input options. More...
Classes | |
struct | InputOptions |
Container for the mesh input options. More... | |
struct | FileInputOptions |
Input options for meshes read from files. More... | |
struct | BoxInputOptions |
Input options for generated meshes. More... | |
struct | NBallInputOptions |
Input options for generated meshes. More... | |
Functions | |
std::unique_ptr< mfem::ParMesh > | buildParallelMesh (const InputOptions &options, const MPI_Comm comm=MPI_COMM_WORLD) |
Constructs an MFEM parallel mesh from a set of input options. More... | |
std::unique_ptr< mfem::ParMesh > | refineAndDistribute (mfem::Mesh &&serial_mesh, const int refine_serial=0, const int refine_parallel=0, const MPI_Comm comm=MPI_COMM_WORLD) |
Finalizes a serial mesh into a refined parallel mesh. More... | |
Mesh related input options.
std::unique_ptr< mfem::ParMesh > serac::mesh::buildParallelMesh | ( | const InputOptions & | options, |
const MPI_Comm | comm = MPI_COMM_WORLD |
||
) |
Constructs an MFEM parallel mesh from a set of input options.
[in] | options | The options used to construct the mesh |
[in] | comm | The MPI communicator to use with the parallel mesh |
Definition at line 423 of file mesh_utils.cpp.
std::unique_ptr< mfem::ParMesh > serac::mesh::refineAndDistribute | ( | mfem::Mesh && | serial_mesh, |
const int | refine_serial = 0 , |
||
const int | refine_parallel = 0 , |
||
const MPI_Comm | comm = MPI_COMM_WORLD |
||
) |
Finalizes a serial mesh into a refined parallel mesh.
[in] | serial_mesh | The "base" serial mesh |
[in] | refine_serial | The number of serial refinements |
[in] | refine_parallel | The number of parallel refinements |
[in] | comm | The MPI communicator |
Definition at line 452 of file mesh_utils.cpp.