https://mooseframework.inl.gov
GrainGrowthAction.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 
15 #include "libmesh/fe_type.h"
16 
17 class GrainGrowthAction : public Action
18 {
19 public:
21 
22  GrainGrowthAction(const InputParameters & params);
23 
24  virtual void act();
25 
26 protected:
27  void addVariables();
28  void addBnds(const std::string & name_base);
29 
31  const unsigned int _op_num;
32  const std::string _var_name_base;
33 
36 
38  const bool _initial_from_file;
39 
41  const bool _use_ad;
42 };
const bool _use_ad
use AD objects where possible
const libMesh::FEType _fe_type
FEType for the variable being created.
void addBnds(const std::string &name_base)
const unsigned int _op_num
number of variables and variable name base for variable creation
virtual void act()
const std::string _var_name_base
static InputParameters validParams()
GrainGrowthAction(const InputParameters &params)
const bool _initial_from_file
Take initial values from file?