www.mooseframework.org
NonconservedAction.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 NONCONSERVEDACTION_H
8 #define NONCONSERVEDACTION_H
9 
10 // MOOSE includes
11 #include "Action.h"
12 #include "AddVariableAction.h"
13 
14 #include "libmesh/fe_type.h"
15 
16 // Forward declaration
17 class NonconservedAction;
18 
19 template <>
20 InputParameters validParams<NonconservedAction>();
21 
22 class NonconservedAction : public Action
23 {
24 public:
25  NonconservedAction(const InputParameters & params);
26 
27  virtual void act();
28 
29 protected:
31  const NonlinearVariableName _var_name;
33  const FEType _fe_type;
34 };
35 
36 #endif // NONCONSERVEDACTION_H
NonconservedAction(const InputParameters &params)
InputParameters validParams< NonconservedAction >()
const FEType _fe_type
FEType for the variable being created.
const NonlinearVariableName _var_name
Name of the variable being created.