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