https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MultiAuxVariablesAction.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
13
19{
20public:
22
24
25 virtual void act();
26
27protected:
29 const unsigned int _grain_num;
30
32 const std::vector<std::string> & _var_name_base;
33
35 const unsigned int _num_var;
36
39
41 const unsigned int _data_size;
42};
Automatically generates all auxvariables given vectors telling it the names and how many to create.
const unsigned int _grain_num
number of grains to create
const std::vector< std::string > & _var_name_base
base name for the auxvariables
const unsigned int _data_size
number of properties
static InputParameters validParams()
const unsigned int _num_var
number of auxvariables
const MultiMooseEnum & _data_type
list of material properties to be used