www.mooseframework.org
MultiAuxVariablesAction.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 #include "AddAuxVariableAction.h"
13 
19 {
20 public:
22 
24 
25  virtual void act();
26 
27 protected:
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 };
const MultiMooseEnum & _data_type
list of material properties to be used
const std::vector< std::string > & _var_name_base
base name for the auxvariables
const unsigned int _num_var
number of auxvariables
static InputParameters validParams()
const unsigned int _grain_num
number of grains to create
Automatically generates all auxvariables given vectors telling it the names and how many to create...
const unsigned int _data_size
number of properties
MultiAuxVariablesAction(const InputParameters &params)