FileMesh

Parameters

  • Required:
    • app (godzilla::LateRef<godzilla::App>) - Application we are part of

    • file (std::filesystem::__cxx11::path) - The name of the file.

  • Optional:
    • name (godzilla::String) - Name of the object

class FileMesh : public godzilla::Object

Object for loading meshes from files.

Public Functions

explicit FileMesh(const Parameters &pars)

Construct a FileMesh object.

Parameters:

parsParameters to build the object

fs::path get_file_name() const

Return file name.

Returns:

Name of the file

FileFormat get_file_format() const

Get mesh file format.

Returns:

Mesh file format

Qtr<UnstructuredMesh> create_mesh()

Create UnstructuredMesh object.

Returns:

UnstructuredMesh object