https://mooseframework.inl.gov
SubChannelAddVariablesAction.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 #include "Action.h"
13 #include "MooseEnum.h"
14 #include "MooseTypes.h"
15 
20 {
21 public:
23 
25 
26  virtual void act() override;
27 
28 protected:
30  void addAuxVariable(const std::string & var_name, const std::vector<SubdomainName> & blocks);
31 
36 };
const MooseEnum _fe_order
FE order of the aux variables added by this action.
char ** blocks
const InputParameters & parameters() const
void addAuxVariable(const std::string &var_name, const std::vector< SubdomainName > &blocks)
Add a block-restricted auxiliary variable unless the user already defined it.
const MooseEnum _fe_family
FE family of the aux variables added by this action.
SubChannelAddVariablesAction(const InputParameters &parameters)
Action that adds SubChannel variables needs for the solve.