www.mooseframework.org
NSAction.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 NSACTION_H
8 #define NSACTION_H
9 
10 #include "Action.h"
11 
12 class NSAction;
13 
14 template <>
15 InputParameters validParams<NSAction>();
16 
23 class NSAction : public Action
24 {
25 public:
26  NSAction(InputParameters parameters);
27  virtual ~NSAction();
28 
29  virtual void act();
30 
31 protected:
32  std::vector<std::string> _vars;
33  std::vector<std::string> _auxs;
34 
35  // The Mesh dimension. Derived classes may need to this when adding
36  // variables and Kernels.
37  unsigned int _dim;
38 
39  // Type that we use in Actions for declaring coupling
40  typedef std::vector<VariableName> CoupledName;
41 };
42 
43 #endif
std::vector< VariableName > CoupledName
Definition: NSAction.h:40
std::vector< std::string > _auxs
Definition: NSAction.h:33
InputParameters validParams< NSAction >()
Definition: NSAction.C:17
unsigned int _dim
Definition: NSAction.h:37
std::vector< std::string > _vars
Definition: NSAction.h:32
virtual void act()
Definition: NSAction.C:33
NSAction(InputParameters parameters)
Definition: NSAction.C:28
This is a base Action class for the Navier-Stokes module which is responsible for building lists of n...
Definition: NSAction.h:23
virtual ~NSAction()
Definition: NSAction.C:30