www.mooseframework.org
MortarPeriodicMesh.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef MORTARPERIODICMESH_H
9 #define MORTARPERIODICMESH_H
10 
11 #include "GeneratedMesh.h"
12 #include "MultiMooseEnum.h"
13 
14 class MortarPeriodicMesh;
15 
16 template <>
17 InputParameters validParams<MortarPeriodicMesh>();
18 
23 class MortarPeriodicMesh : public GeneratedMesh
24 {
25 public:
26  MortarPeriodicMesh(const InputParameters & parameters);
27  MortarPeriodicMesh(const MortarPeriodicMesh & other_mesh);
28  virtual ~MortarPeriodicMesh();
29 
30  virtual MooseMesh & clone() const;
31 
33  const std::vector<SubdomainID> & getMortarSubdomains() const { return _mortar_subdomains; }
34  const MultiMooseEnum & getPeriodicDirections() const { return _periodic_dirs; }
36 
37 protected:
38  virtual void buildMesh();
39 
41  MultiMooseEnum _periodic_dirs;
42 
43  // subdomain IDs for the mortar interfaces for each dimension
44  std::vector<SubdomainID> _mortar_subdomains;
45 };
46 
47 #endif // MORTARPERIODICMESH_H
virtual void buildMesh()
Mesh generated from parameters with additional subdomains for mortar interfaces to enforce periodicit...
const MultiMooseEnum & getPeriodicDirections() const
virtual MooseMesh & clone() const
MortarPeriodicMesh(const InputParameters &parameters)
const std::vector< SubdomainID > & getMortarSubdomains() const
{@ public interfaces for the mortar periodicity action
InputParameters validParams< MortarPeriodicMesh >()
MultiMooseEnum _periodic_dirs
periodic directions
std::vector< SubdomainID > _mortar_subdomains