www.mooseframework.org
MortarPeriodicAction.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 #ifndef MORTARPERIODICACTION_H
8 #define MORTARPERIODICACTION_H
9 
10 #include "Action.h"
11 
13 
14 template <>
15 InputParameters validParams<MortarPeriodicAction>();
16 
20 class MortarPeriodicAction : public Action
21 {
22 public:
23  MortarPeriodicAction(const InputParameters & parameters);
24 
25  virtual void act();
26 
27 protected:
28  // all variables this action operates on
29  std::vector<VariableName> _variables;
30 
31  // type of the periodic constraint to apply (value, gradient)
32  const unsigned int _periodicity;
33 };
34 
35 #endif // MORTARPERIODICACTION_H
MortarPeriodicAction(const InputParameters &parameters)
Set up Mortar based periodicity in an input file with a MortarPeriodicMesh.
std::vector< VariableName > _variables
const unsigned int _periodicity
InputParameters validParams< MortarPeriodicAction >()