https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18{
19public:
21
22 GrainGrowthAction(const InputParameters & params);
23
24 virtual void act();
25
26protected:
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
39
41 const bool _use_ad;
42};
const bool _initial_from_file
Take initial values from file?
const bool _use_ad
use AD objects where possible
const std::string _var_name_base
static InputParameters validParams()
const unsigned int _op_num
number of variables and variable name base for variable creation
void addBnds(const std::string &name_base)
const libMesh::FEType _fe_type
FEType for the variable being created.