Class OrthogonalMeshGenerator

Inheritance Relationships

Base Type

Class Documentation

class OrthogonalMeshGenerator : public opensn::MeshGenerator

Public Functions

explicit OrthogonalMeshGenerator(const InputParameters &params)

Public Static Functions

static InputParameters GetInputParameters()
static std::shared_ptr<OrthogonalMeshGenerator> Create(const ParameterBlock &params)

Protected Functions

virtual std::shared_ptr<UnpartitionedMesh> GenerateUnpartitionedMesh(std::shared_ptr<UnpartitionedMesh> input_umesh) override

Virtual method to generate the unpartitioned mesh for the next step.

Default behavior here is to return the input umesh unaltered.

Protected Attributes

const CoordinateSystemType coord_sys_
std::vector<std::vector<double>> node_sets_

Protected Static Functions

static std::shared_ptr<UnpartitionedMesh> CreateUnpartitioned1DOrthoMesh(const std::vector<double> &vertices, CoordinateSystemType coord_sys = CARTESIAN)
static std::shared_ptr<UnpartitionedMesh> CreateUnpartitioned2DOrthoMesh(const std::vector<double> &vertices_1d_x, const std::vector<double> &vertices_1d_y, CoordinateSystemType coord_sys = CARTESIAN)
static std::shared_ptr<UnpartitionedMesh> CreateUnpartitioned3DOrthoMesh(const std::vector<double> &vertices_1d_x, const std::vector<double> &vertices_1d_y, const std::vector<double> &vertices_1d_z, CoordinateSystemType coord_sys = CARTESIAN)