www.mooseframework.org
AddPeriodicBCAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef ADDPERIODICBCACTION_H
16 #define ADDPERIODICBCACTION_H
17 
18 #include "Action.h"
19 
21 class MooseMesh;
22 namespace libMesh
23 {
24 class PeriodicBoundaryBase;
25 }
26 
27 template <>
29 
36 {
37 public:
39 
40  virtual void act() override;
41 
42 protected:
48  bool autoTranslationBoundaries();
49 
50  void setPeriodicVars(PeriodicBoundaryBase & p, const std::vector<VariableName> & var_names);
51 
53 };
54 
55 #endif // ADDPERIODICBCACTION_H
This Action adds a periodic boundary to the problem.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Base class for actions.
Definition: Action.h:39
InputParameters validParams< AddPeriodicBCAction >()
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:74