|
Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
This file contains helper functions for importing and managing various mesh objects. More...


Go to the source code of this file.
Classes | |
| struct | serac::mesh::FileInputOptions |
| Input options for meshes read from files. More... | |
| struct | serac::mesh::BoxInputOptions |
| Input options for generated meshes. More... | |
| struct | serac::mesh::NBallInputOptions |
| Input options for generated meshes. More... | |
Namespaces | |
| serac | |
| Accelerator functionality. | |
| serac::mesh | |
| Mesh related input options. | |
Functions | |
| mfem::Mesh | serac::buildMeshFromFile (const std::string &mesh_file) |
| Constructs an MFEM mesh from a file. More... | |
| mfem::Mesh | serac::buildDiskMesh (int approx_number_of_elements) |
| Constructs a 2D MFEM mesh of a unit disk, centered at the origin. More... | |
| mfem::Mesh | serac::buildBallMesh (int approx_number_of_elements) |
| Constructs a 3D MFEM mesh of a unit ball, centered at the origin. More... | |
| mfem::Mesh | serac::buildRectangleMesh (int elements_in_x, int elements_in_y, double size_x=1., double size_y=1.) |
| Constructs a 2D MFEM mesh of a rectangle. More... | |
| mfem::Mesh | serac::buildCuboidMesh (int elements_in_x, int elements_in_y, int elements_in_z, double size_x=1., double size_y=1., double size_z=1.) |
| Constructs a 3D MFEM mesh of a cuboid. More... | |
| mfem::Mesh | serac::buildCylinderMesh (int radial_refinement, int elements_lengthwise, double radius, double height) |
| Constructs a 3D MFEM mesh of a cylinder. More... | |
| mfem::Mesh | serac::buildHollowCylinderMesh (int radial_refinement, int elements_lengthwise, double inner_radius, double outer_radius, double height, double total_angle=M_PI, int sectors=8) |
| Constructs a 3D MFEM mesh of a hollow cylinder. More... | |
| mfem::Mesh | serac::build_hollow_quarter_cylinder (std::size_t radial_divisions, std::size_t angular_divisions, std::size_t vertical_divisions, double inner_radius, double outer_radius, double height) |
| Constructs an MFEM mesh of a hollow cylinder restricted to the first orthant. More... | |
| mfem::Mesh | serac::buildRingMesh (int radial_refinement, double inner_radius, double outer_radius, double total_angle=M_PI, int sectors=8) |
| Constructs a 2D MFEM mesh of a ring. More... | |
| 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. More... | |
This file contains helper functions for importing and managing various mesh objects.
Definition in file mesh_utils_base.hpp.