www.mooseframework.org
NonconservedAction.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 // MOOSE includes
13 #include "Action.h"
14 #include "AddVariableAction.h"
15 
16 #include "libmesh/fe_type.h"
17 
18 class NonconservedAction : public Action
19 {
20 public:
22 
23  NonconservedAction(const InputParameters & params);
24 
25  virtual void act();
26 
27 protected:
29  const NonlinearVariableName _var_name;
31  const FEType _fe_type;
32 };
NonconservedAction(const InputParameters &params)
static InputParameters validParams()
const FEType _fe_type
FEType for the variable being created.
const NonlinearVariableName _var_name
Name of the variable being created.