https://mooseframework.inl.gov
Loading...
Searching...
No Matches
phase_field
include
userobjects
PolycrystalHex.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
#include "
PolycrystalVoronoi.h
"
13
#include "
MooseRandom.h
"
14
15
// Forward Declarations
16
21
class
PolycrystalHex
:
public
PolycrystalVoronoi
22
{
23
public
:
24
static
InputParameters
validParams
();
25
26
PolycrystalHex
(
const
InputParameters
&
parameters
);
27
28
virtual
void
precomputeGrainStructure
();
29
30
private
:
31
const
Real
_x_offset
;
32
const
Real
_perturbation_percent
;
33
MooseRandom
_random
;
34
};
MooseRandom.h
PolycrystalVoronoi.h
GeneralPostprocessor::parameters
const InputParameters & parameters() const
MooseRandom
PolycrystalHex
PolycrystalHex creates a hexagonal polycrystal initial condition.
Definition
PolycrystalHex.h:22
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:46
PolycrystalHex::_random
MooseRandom _random
Definition
PolycrystalHex.h:33
PolycrystalHex::_x_offset
const Real _x_offset
Definition
PolycrystalHex.h:31
PolycrystalHex::_perturbation_percent
const Real _perturbation_percent
Definition
PolycrystalHex.h:32
PolycrystalHex::validParams
static InputParameters validParams()
Definition
PolycrystalHex.C:18
PolycrystalVoronoi
Definition
PolycrystalVoronoi.h:18
InputParameters
Generated on Fri Aug 21 2026 13:41:20 for https://mooseframework.inl.gov by
1.9.8