www.mooseframework.org
PolycrystalRandomIC.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 "RandomICBase.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<PolycrystalRandomIC>();
19 
23 class PolycrystalRandomIC : public RandomICBase
24 {
25 public:
26  PolycrystalRandomIC(const InputParameters & parameters);
27 
28  virtual Real value(const Point & p);
29 
30 private:
31  const unsigned int _op_num;
32  const unsigned int _op_index;
33  const unsigned int _random_type;
34 };
validParams< PolycrystalRandomIC >
InputParameters validParams< PolycrystalRandomIC >()
Definition: PolycrystalRandomIC.C:17
PolycrystalRandomIC::PolycrystalRandomIC
PolycrystalRandomIC(const InputParameters &parameters)
Definition: PolycrystalRandomIC.C:27
PolycrystalRandomIC::_op_num
const unsigned int _op_num
Definition: PolycrystalRandomIC.h:31
PolycrystalRandomIC::_random_type
const unsigned int _random_type
Definition: PolycrystalRandomIC.h:33
PolycrystalRandomIC::_op_index
const unsigned int _op_index
Definition: PolycrystalRandomIC.h:32
PolycrystalRandomIC::value
virtual Real value(const Point &p)
Definition: PolycrystalRandomIC.C:36
PolycrystalRandomIC
Random initial condition for a polycrystalline material.
Definition: PolycrystalRandomIC.h:23