23 virtual std::unique_ptr<MooseMesh>
safeClone()
const override;
27 void read(
const std::string & file_name);
virtual std::unique_ptr< MooseMesh > safeClone() const override
A safer version of the clone() method that hands back an allocated object wrapped in a smart pointer...
virtual void buildMesh() override
Must be overridden by child classes.
std::string _file_name
the file_name from whence this mesh came
void setFileName(const std::string &file_name)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
FileMesh(const InputParameters ¶meters)
void read(const std::string &file_name)
static InputParameters validParams()
std::unique_ptr< libMesh::ExodusII_IO > _exreader
Auxiliary object for restart.
const InputParameters & parameters() const
Get the parameters of the object.
virtual std::string getFileName() const override
Returns the name of the mesh file read to produce this mesh if any or an empty string otherwise...