Class FromFileMeshGenerator

Inheritance Relationships

Base Type

Class Documentation

class FromFileMeshGenerator : public opensn::MeshGenerator

Public Functions

explicit FromFileMeshGenerator(const InputParameters &params)

Public Static Functions

static InputParameters GetInputParameters()
static std::shared_ptr<FromFileMeshGenerator> 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 std::string filename_
const std::string block_id_fieldname_
const std::string boundary_id_fieldname_
const CoordinateSystemType coord_sys_