https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NonconservedAction.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
19{
20public:
22
23 NonconservedAction(const InputParameters & params);
24
25 virtual void act();
26
27protected:
29 const NonlinearVariableName _var_name;
32};
const NonlinearVariableName _var_name
Name of the variable being created.
const libMesh::FEType _fe_type
FEType for the variable being created.
static InputParameters validParams()