www.mooseframework.org
phase_field
include
userobjects
PolycrystalHex.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 "
PolycrystalVoronoi.h
"
13
#include "MooseRandom.h"
14
15
// Forward Declarations
16
class
PolycrystalHex
;
17
18
template
<>
19
InputParameters
validParams<PolycrystalHex>
();
20
25
class
PolycrystalHex
:
public
PolycrystalVoronoi
26
{
27
public
:
28
PolycrystalHex
(
const
InputParameters & parameters);
29
30
virtual
void
precomputeGrainStructure
();
31
32
private
:
33
const
Real
_x_offset
;
34
const
Real
_perturbation_percent
;
35
MooseRandom
_random
;
36
};
37
PolycrystalHex::_random
MooseRandom _random
Definition:
PolycrystalHex.h:35
PolycrystalHex::PolycrystalHex
PolycrystalHex(const InputParameters ¶meters)
Definition:
PolycrystalHex.C:32
PolycrystalHex
PolycrystalHex creates a hexagonal polycrystal initial condition.
Definition:
PolycrystalHex.h:25
validParams< PolycrystalHex >
InputParameters validParams< PolycrystalHex >()
Definition:
PolycrystalHex.C:19
PolycrystalHex::precomputeGrainStructure
virtual void precomputeGrainStructure()
This callback is triggered after the object is initialized and may be optionally overridden to do pre...
Definition:
PolycrystalHex.C:41
PolycrystalHex::_perturbation_percent
const Real _perturbation_percent
Definition:
PolycrystalHex.h:34
PolycrystalVoronoi
Definition:
PolycrystalVoronoi.h:20
PolycrystalVoronoi.h
PolycrystalHex::_x_offset
const Real _x_offset
Definition:
PolycrystalHex.h:33
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16