www.mooseframework.org
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 
22 {
23 public:
25 
27 
28  virtual void precomputeGrainStructure();
29 
30 private:
31  const Real _x_offset;
34 };
MooseRandom _random
const Real _perturbation_percent
virtual void precomputeGrainStructure()
This callback is triggered after the object is initialized and may be optionally overridden to do pre...
PolycrystalHex(const InputParameters &parameters)
PolycrystalHex creates a hexagonal polycrystal initial condition.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _x_offset
const InputParameters & parameters() const