![]() |
OGS
|
|
Namespaces | |
| namespace | AddFaultToVoxelGrid |
| namespace | VoxelGridFromMesh |
Functions | |
| std::vector< MeshLib::Node * > | generateRegularPyramidTopNodes (std::vector< double > const &x_coords, std::vector< double > const &y_coords, std::vector< double > const &z_coords, const MathLib::Point3d &origin) |
| std::vector< MeshLib::Node * > | generateRegularNodes (const std::vector< const std::vector< double > * > &vec_xyz_coords, const MathLib::Point3d &origin=MathLib::ORIGIN) |
| std::vector< MeshLib::Node * > | generateRegularNodes (const std::vector< double > &vec_x_coords, const MathLib::Point3d &origin=MathLib::ORIGIN) |
| std::vector< MeshLib::Node * > | generateRegularNodes (std::vector< double > &vec_x_coords, std::vector< double > &vec_y_coords, const MathLib::Point3d &origin=MathLib::ORIGIN) |
| std::vector< MeshLib::Node * > | generateRegularNodes (std::vector< double > &vec_x_coords, std::vector< double > &vec_y_coords, std::vector< double > &vec_z_coords, const MathLib::Point3d &origin=MathLib::ORIGIN) |
| std::vector< MeshLib::Node * > | generateRegularNodes (const std::array< unsigned, 3 > &n_cells, const std::array< double, 3 > &cell_size, const MathLib::Point3d &origin) |
| MeshLib::Mesh * | generateLineMesh (const BaseLib::ISubdivision &div, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateLineMesh (const double length, const std::size_t subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateLineMesh (const unsigned n_cells, const double cell_size, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularQuadMesh (const BaseLib::ISubdivision &div_x, const BaseLib::ISubdivision &div_y, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularQuadMesh (const double length, const std::size_t subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularQuadMesh (const double x_length, const double y_length, const std::size_t x_subdivision, const std::size_t y_subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularQuadMesh (const unsigned n_x_cells, const unsigned n_y_cells, const double cell_size, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularQuadMesh (const unsigned n_x_cells, const unsigned n_y_cells, const double cell_size_x, const double cell_size_y, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularHexMesh (const BaseLib::ISubdivision &div_x, const BaseLib::ISubdivision &div_y, const BaseLib::ISubdivision &div_z, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularHexMesh (const double length, const std::size_t subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularHexMesh (const double x_length, const double y_length, const double z_length, const std::size_t x_subdivision, const std::size_t y_subdivision, const std::size_t z_subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularHexMesh (const unsigned n_x_cells, const unsigned n_y_cells, const unsigned n_z_cells, const double cell_size, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularHexMesh (const unsigned n_x_cells, const unsigned n_y_cells, const unsigned n_z_cells, const double cell_size_x, const double cell_size_y, const double cell_size_z, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularPyramidMesh (const BaseLib::ISubdivision &div_x, const BaseLib::ISubdivision &div_y, const BaseLib::ISubdivision &div_z, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTriMesh (const BaseLib::ISubdivision &div_x, const BaseLib::ISubdivision &div_y, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTriMesh (const double length, const std::size_t subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTriMesh (const double x_length, const double y_length, const std::size_t x_subdivision, const std::size_t y_subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTriMesh (const unsigned n_x_cells, const unsigned n_y_cells, const double cell_size, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTriMesh (const unsigned n_x_cells, const unsigned n_y_cells, const double cell_size_x, const double cell_size_y, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularPrismMesh (const double x_length, const double y_length, const double z_length, const std::size_t x_subdivision, const std::size_t y_subdivision, const std::size_t z_subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularPrismMesh (const unsigned n_x_cells, const unsigned n_y_cells, const unsigned n_z_cells, const double cell_size, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularPrismMesh (const unsigned n_x_cells, const unsigned n_y_cells, const unsigned n_z_cells, const double cell_size_x, const double cell_size_y, const double cell_size_z, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTetMesh (const BaseLib::ISubdivision &div_x, const BaseLib::ISubdivision &div_y, const BaseLib::ISubdivision &div_z, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTetMesh (const double x_length, const double y_length, const double z_length, const std::size_t x_subdivision, const std::size_t y_subdivision, const std::size_t z_subdivision, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | generateRegularTetMesh (const unsigned n_x_cells, const unsigned n_y_cells, const unsigned n_z_cells, const double cell_size_x, const double cell_size_y, const double cell_size_z, MathLib::Point3d const &origin=MathLib::ORIGIN, std::string const &mesh_name="mesh") |
| MeshLib::Mesh * | createSurfaceMesh (std::string const &mesh_name, MathLib::Point3d const &ll, MathLib::Point3d const &ur, std::array< std::size_t, 2 > const &n_steps, const std::function< double(double, double)> &f) |
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::createSurfaceMesh | ( | std::string const & | mesh_name, |
| MathLib::Point3d const & | ll, | ||
| MathLib::Point3d const & | ur, | ||
| std::array< std::size_t, 2 > const & | n_steps, | ||
| const std::function< double(double, double)> & | f ) |
Constructs a surface mesh approximating a surface in the 3d space given by a function. The surface within the xy-domain \([ll[0], ur[0]] \times [ll[1], ur[1]\) is described using the function \(f(x,y)\).
Definition at line 741 of file MeshGenerator.cpp.
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateLineMesh | ( | const BaseLib::ISubdivision & | div, |
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate an 1D Line-Element mesh. The mesh is generated in x-direction.
| div | Subdivision operator |
| origin | Optional mesh's origin (the left-most point) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 172 of file MeshGenerator.cpp.
References generateRegularNodes().
Referenced by CreateStructuredGridDialog::accept(), generateLineMesh(), generateLineMesh(), and main().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateLineMesh | ( | const double | length, |
| const std::size_t | subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate an 1D Line-Element mesh. The mesh is generated in x-direction.
| length | Mesh's length in x-direction. |
| subdivision | Number of subdivisions. |
| origin | Optional mesh's origin (the left-most point) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 153 of file MeshGenerator.cpp.
References generateLineMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateLineMesh | ( | const unsigned | n_cells, |
| const double | cell_size, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate an 1D Line-Element mesh. The mesh is generated in x-direction.
| n_cells | Number of cells. |
| cell_size | Length of Line elements |
| origin | Optional mesh's origin (the left-most point) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 162 of file MeshGenerator.cpp.
References generateLineMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularHexMesh | ( | const BaseLib::ISubdivision & | div_x, |
| const BaseLib::ISubdivision & | div_y, | ||
| const BaseLib::ISubdivision & | div_z, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Hex-Element mesh.
| div_x | Subdivision operator in x direction |
| div_y | Subdivision operator in y direction |
| div_z | Subdivision operator in z direction |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 332 of file MeshGenerator.cpp.
References generateRegularNodes().
Referenced by CreateStructuredGridDialog::accept(), Vtu2GridDialog::accept(), MeshToolsLib::RasterToMesh::convert(), generateInitialMesh(), generateRegularHexMesh(), generateRegularHexMesh(), generateRegularHexMesh(), generateRegularHexMesh(), and main().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularHexMesh | ( | const double | length, |
| const std::size_t | subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Hex-Element mesh.
| length | Mesh dimensions in x- and y- and z-directions. |
| subdivision | Number of subdivisions. |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 276 of file MeshGenerator.cpp.
References generateRegularHexMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularHexMesh | ( | const double | x_length, |
| const double | y_length, | ||
| const double | z_length, | ||
| const std::size_t | x_subdivision, | ||
| const std::size_t | y_subdivision, | ||
| const std::size_t | z_subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Hex-Element mesh.
| x_length | Mesh dimension in x-direction. |
| y_length | Mesh dimension in y-direction. |
| z_length | Mesh dimension in z-direction. |
| x_subdivision | Number of subdivisions in x-direction. |
| y_subdivision | Number of subdivisions in y-direction. |
| z_subdivision | Number of subdivisions in z-direction. |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 287 of file MeshGenerator.cpp.
References generateRegularHexMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularHexMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const unsigned | n_z_cells, | ||
| const double | cell_size, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Hex-Element mesh.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| n_z_cells | Number of cells in z-direction. |
| cell_size | Edge length of Hex elements |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 302 of file MeshGenerator.cpp.
References generateRegularHexMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularHexMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const unsigned | n_z_cells, | ||
| const double | cell_size_x, | ||
| const double | cell_size_y, | ||
| const double | cell_size_z, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Hex-Element mesh.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| n_z_cells | Number of cells in z-direction. |
| cell_size_x | Edge length of Hex elements in x-direction. |
| cell_size_y | Edge length of Hex elements in y s-direction. |
| cell_size_z | Edge length of Hex elements in z-direction |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 315 of file MeshGenerator.cpp.
References generateRegularHexMesh().
| std::vector< MeshLib::Node * > MeshToolsLib::MeshGenerator::generateRegularNodes | ( | const std::array< unsigned, 3 > & | n_cells, |
| const std::array< double, 3 > & | cell_size, | ||
| const MathLib::Point3d & | origin ) |
Generate regularly placed mesh nodes in 3D spaces
| n_cells | an array of the number of cells in x,y,z directions |
| cell_size | an array of cell sizes in x,y,z directions |
| origin | coordinates of the left-most point |
Definition at line 96 of file MeshGenerator.cpp.
| std::vector< MeshLib::Node * > MeshToolsLib::MeshGenerator::generateRegularNodes | ( | const std::vector< const std::vector< double > * > & | vec_xyz_coords, |
| const MathLib::Point3d & | origin = MathLib::ORIGIN ) |
Generate regularly placed mesh nodes in 3D spaces
| vec_xyz_coords | a vector of coordinates in x,y,z directions |
| origin | coordinates of the left-most point |
Definition at line 21 of file MeshGenerator.cpp.
References MeshLib::Node.
Referenced by generateLineMesh(), generateRegularHexMesh(), generateRegularNodes(), generateRegularNodes(), generateRegularNodes(), generateRegularPyramidMesh(), generateRegularQuadMesh(), generateRegularTetMesh(), and generateRegularTriMesh().
| std::vector< MeshLib::Node * > MeshToolsLib::MeshGenerator::generateRegularNodes | ( | const std::vector< double > & | vec_x_coords, |
| const MathLib::Point3d & | origin = MathLib::ORIGIN ) |
Generate regularly placed mesh nodes in 1D space
| vec_x_coords | a vector of x coordinates |
| origin | coordinates of the left-most point |
Definition at line 54 of file MeshGenerator.cpp.
References generateRegularNodes().
| std::vector< MeshLib::Node * > MeshToolsLib::MeshGenerator::generateRegularNodes | ( | std::vector< double > & | vec_x_coords, |
| std::vector< double > & | vec_y_coords, | ||
| const MathLib::Point3d & | origin = MathLib::ORIGIN ) |
Generate regularly placed mesh nodes in 1D space
| vec_x_coords | a vector of x coordinates |
| vec_y_coords | a vector of y coordinates |
| origin | coordinates of the left-most point |
Definition at line 67 of file MeshGenerator.cpp.
References generateRegularNodes().
| std::vector< MeshLib::Node * > MeshToolsLib::MeshGenerator::generateRegularNodes | ( | std::vector< double > & | vec_x_coords, |
| std::vector< double > & | vec_y_coords, | ||
| std::vector< double > & | vec_z_coords, | ||
| const MathLib::Point3d & | origin = MathLib::ORIGIN ) |
Generate regularly placed mesh nodes in 1D space
| vec_x_coords | a vector of x coordinates |
| vec_y_coords | a vector of y coordinates |
| vec_z_coords | a vector of z coordinates |
| origin | coordinates of the left-most point |
Definition at line 83 of file MeshGenerator.cpp.
References generateRegularNodes().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularPrismMesh | ( | const double | x_length, |
| const double | y_length, | ||
| const double | z_length, | ||
| const std::size_t | x_subdivision, | ||
| const std::size_t | y_subdivision, | ||
| const std::size_t | z_subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Prism-Element mesh.
| x_length | Mesh's dimension in x-direction. |
| y_length | Mesh's dimension in y-direction. |
| z_length | Mesh's dimension in z-direction. |
| x_subdivision | Number of subdivisions in x-direction. |
| y_subdivision | Number of subdivisions in y-direction. |
| z_subdivision | Number of subdivisions in z-direction. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 568 of file MeshGenerator.cpp.
References generateRegularPrismMesh().
Referenced by CreateStructuredGridDialog::accept(), MeshToolsLib::RasterToMesh::convert(), generateRegularPrismMesh(), generateRegularPrismMesh(), and main().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularPrismMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const unsigned | n_z_cells, | ||
| const double | cell_size, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Prism-Element mesh.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| n_z_cells | Number of cells in z-direction. |
| cell_size | Edge length of two equal sides of isosceles triangles + height of prism |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 583 of file MeshGenerator.cpp.
References generateRegularPrismMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularPrismMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const unsigned | n_z_cells, | ||
| const double | cell_size_x, | ||
| const double | cell_size_y, | ||
| const double | cell_size_z, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Prism-Element mesh.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| n_z_cells | Number of cells in z-direction. |
| cell_size_x | Edge length of triangles in x-direction. |
| cell_size_y | Edge length of triangles in y-direction. |
| cell_size_z | Edge length of triangles in z-direction. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 595 of file MeshGenerator.cpp.
References MeshToolsLib::addLayerToMesh(), generateRegularTriMesh(), and MeshToolsLib::removeElements().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularPyramidMesh | ( | const BaseLib::ISubdivision & | div_x, |
| const BaseLib::ISubdivision & | div_y, | ||
| const BaseLib::ISubdivision & | div_z, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D mesh that consists of pyramid elements.
This algorithm generates regular grid points as well as middle points of the virtual hexahedra cells and split each hex grid cell into six pyramids.
| div_x | Subdivision operator in x direction |
| div_y | Subdivision operator in y direction |
| div_z | Subdivision operator in z direction |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 384 of file MeshGenerator.cpp.
References generateRegularNodes(), and generateRegularPyramidTopNodes().
Referenced by main().
| std::vector< MeshLib::Node * > MeshToolsLib::MeshGenerator::generateRegularPyramidTopNodes | ( | std::vector< double > const & | x_coords, |
| std::vector< double > const & | y_coords, | ||
| std::vector< double > const & | z_coords, | ||
| const MathLib::Point3d & | origin ) |
Definition at line 122 of file MeshGenerator.cpp.
Referenced by generateRegularPyramidMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularQuadMesh | ( | const BaseLib::ISubdivision & | div_x, |
| const BaseLib::ISubdivision & | div_y, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Quad-Element mesh. The mesh is generated in the x-y-plane.
| div_x | Subdivision operator in x direction |
| div_y | Subdivision operator in y direction |
| origin | Optional mesh's origin (the left-most point) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 242 of file MeshGenerator.cpp.
References generateRegularNodes().
Referenced by CreateStructuredGridDialog::accept(), MeshToolsLib::RasterToMesh::convert(), generateRegularQuadMesh(), generateRegularQuadMesh(), generateRegularQuadMesh(), generateRegularQuadMesh(), and main().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularQuadMesh | ( | const double | length, |
| const std::size_t | subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Quad-Element mesh. The mesh is generated in the x-y-plane.
| length | Mesh's dimensions in x- and y-directions. |
| subdivision | Number of subdivisions. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 193 of file MeshGenerator.cpp.
References generateRegularQuadMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularQuadMesh | ( | const double | x_length, |
| const double | y_length, | ||
| const std::size_t | x_subdivision, | ||
| const std::size_t | y_subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Quad-Element mesh. The mesh is generated in the x-y-plane.
| x_length | Mesh's dimension in x-direction. |
| y_length | Mesh's dimension in y-direction. |
| x_subdivision | Number of subdivisions in x-direction. |
| y_subdivision | Number of subdivisions in y-direction. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 204 of file MeshGenerator.cpp.
References generateRegularQuadMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularQuadMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const double | cell_size, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Quad-Element mesh. The mesh is generated in the x-y-plane.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| cell_size | Edge length of Quad elements |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 217 of file MeshGenerator.cpp.
References generateRegularQuadMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularQuadMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const double | cell_size_x, | ||
| const double | cell_size_y, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Quad-Element mesh. The mesh is generated in the x-y-plane.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| cell_size_x | Edge length of Quad elements in x-direction |
| cell_size_y | Edge length of Quad elements in y-direction |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 228 of file MeshGenerator.cpp.
References generateRegularQuadMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTetMesh | ( | const BaseLib::ISubdivision & | div_x, |
| const BaseLib::ISubdivision & | div_y, | ||
| const BaseLib::ISubdivision & | div_z, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Tet-Element mesh.
This algorithm generates regular grid points and split each grid cell into six tetrahedrals.
| div_x | Subdivision operator in x direction |
| div_y | Subdivision operator in y direction |
| div_z | Subdivision operator in z direction |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 652 of file MeshGenerator.cpp.
References generateRegularNodes().
Referenced by generateRegularTetMesh(), generateRegularTetMesh(), and main().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTetMesh | ( | const double | x_length, |
| const double | y_length, | ||
| const double | z_length, | ||
| const std::size_t | x_subdivision, | ||
| const std::size_t | y_subdivision, | ||
| const std::size_t | z_subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Tet-Element mesh.
This algorithm generates regular grid points and split each grid cell into six tetrahedrals.
| x_length | Mesh dimension in x-direction. |
| y_length | Mesh dimension in y-direction. |
| z_length | Mesh dimension in z-direction. |
| x_subdivision | Number of subdivisions in x-direction. |
| y_subdivision | Number of subdivisions in y-direction. |
| z_subdivision | Number of subdivisions in z-direction. |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 620 of file MeshGenerator.cpp.
References generateRegularTetMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTetMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const unsigned | n_z_cells, | ||
| const double | cell_size_x, | ||
| const double | cell_size_y, | ||
| const double | cell_size_z, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 3D Tet-Element mesh.
This algorithm generates regular grid points and split each grid cell into six tetrahedrals.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| n_z_cells | Number of cells in z-direction. |
| cell_size_x | Edge length of Tet elements in x-direction. |
| cell_size_y | Edge length of Tet elements in y s-direction. |
| cell_size_z | Edge length of Tet elements in z-direction |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 635 of file MeshGenerator.cpp.
References generateRegularTetMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTriMesh | ( | const BaseLib::ISubdivision & | div_x, |
| const BaseLib::ISubdivision & | div_y, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Triangle-Element mesh. The mesh is generated in the x-y-plane.
| div_x | Subdivision operator in x direction |
| div_y | Subdivision operator in y direction |
| origin | Optional mesh's origin (the bottom lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 530 of file MeshGenerator.cpp.
References generateRegularNodes().
Referenced by CreateStructuredGridDialog::accept(), MeshToolsLib::RasterToMesh::convert(), generateRegularPrismMesh(), generateRegularTriMesh(), generateRegularTriMesh(), generateRegularTriMesh(), generateRegularTriMesh(), and main().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTriMesh | ( | const double | length, |
| const std::size_t | subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Triangle-Element mesh. The mesh is generated in the x-y-plane.
| length | Mesh's dimensions in x- and y-directions. |
| subdivision | Number of subdivisions. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 482 of file MeshGenerator.cpp.
References generateRegularTriMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTriMesh | ( | const double | x_length, |
| const double | y_length, | ||
| const std::size_t | x_subdivision, | ||
| const std::size_t | y_subdivision, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Triangle-Element mesh. The mesh is generated in the x-y-plane.
| x_length | Mesh's dimension in x-direction. |
| y_length | Mesh's dimension in y-direction. |
| x_subdivision | Number of subdivisions in x-direction. |
| y_subdivision | Number of subdivisions in y-direction. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 492 of file MeshGenerator.cpp.
References generateRegularTriMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTriMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const double | cell_size, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Triangle-Element mesh. The mesh is generated in the x-y-plane.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| cell_size | Edge length of two equal sides of isosceles triangles |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 505 of file MeshGenerator.cpp.
References generateRegularTriMesh().
| MeshLib::Mesh * MeshToolsLib::MeshGenerator::generateRegularTriMesh | ( | const unsigned | n_x_cells, |
| const unsigned | n_y_cells, | ||
| const double | cell_size_x, | ||
| const double | cell_size_y, | ||
| MathLib::Point3d const & | origin = MathLib::ORIGIN, | ||
| std::string const & | mesh_name = "mesh" ) |
Generate a regular 2D Triangle-Element mesh. The mesh is generated in the x-y-plane.
| n_x_cells | Number of cells in x-direction. |
| n_y_cells | Number of cells in y-direction. |
| cell_size_x | Edge length of triangles in x-direction. |
| cell_size_y | Edge length of triangles in y-direction. |
| origin | Optional mesh's origin (the lower left corner) with MathLib::ORIGIN default. |
| mesh_name | Name of the new mesh. |
Definition at line 516 of file MeshGenerator.cpp.
References generateRegularTriMesh().