www.mooseframework.org
phase_field
include
action
PolycrystalRandomICAction.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 "Action.h"
13
#include "InputParameters.h"
14
#include "MooseEnum.h"
15
19
class
PolycrystalRandomICAction
:
public
Action
20
{
21
public
:
22
PolycrystalRandomICAction
(
const
InputParameters & params);
23
24
virtual
void
act
();
25
26
private
:
27
const
unsigned
int
_op_num
;
28
const
std::string
_var_name_base
;
29
const
MooseEnum
_random_type
;
30
};
31
32
template
<>
33
InputParameters
validParams<PolycrystalRandomICAction>
();
34
PolycrystalRandomICAction::_random_type
const MooseEnum _random_type
Definition:
PolycrystalRandomICAction.h:29
PolycrystalRandomICAction::_op_num
const unsigned int _op_num
Definition:
PolycrystalRandomICAction.h:27
PolycrystalRandomICAction::act
virtual void act()
Definition:
PolycrystalRandomICAction.C:43
PolycrystalRandomICAction::_var_name_base
const std::string _var_name_base
Definition:
PolycrystalRandomICAction.h:28
PolycrystalRandomICAction::PolycrystalRandomICAction
PolycrystalRandomICAction(const InputParameters ¶ms)
Definition:
PolycrystalRandomICAction.C:34
validParams< PolycrystalRandomICAction >
InputParameters validParams< PolycrystalRandomICAction >()
Definition:
PolycrystalRandomICAction.C:19
PolycrystalRandomICAction
Automatically generates all variables to model a polycrystal with op_num orderparameters.
Definition:
PolycrystalRandomICAction.h:19
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16