https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TiledMesh.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "MooseMesh.h"
13
14class TiledMesh : public MooseMesh
15{
16public:
18
20 TiledMesh(const TiledMesh & other_mesh);
21
22 virtual std::unique_ptr<MooseMesh> safeClone() const override;
23
24 virtual void buildMesh() override;
25
26 virtual std::string getFileName() const override;
27
28protected:
29 const Real _x_width;
30 const Real _y_width;
31 const Real _z_width;
32};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition MooseMesh.h:95
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.
Definition TiledMesh.C:87
const Real _y_width
Definition TiledMesh.h:30
static InputParameters validParams()
Definition TiledMesh.C:22
const Real _z_width
Definition TiledMesh.h:31
const Real _x_width
Definition TiledMesh.h:29
virtual void buildMesh() override
Must be overridden by child classes.
Definition TiledMesh.C:93
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.
Definition TiledMesh.C:81