https://mooseframework.inl.gov
PFCFreezingIC.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 "RandomICBase.h"
13 
22 {
23 public:
25 
27 
28  virtual Real value(const Point & p);
29 
30 private:
34 
38 
41 
42  Point _bottom_left;
43  Point _top_right;
44  Point _range;
45 
48 
49  unsigned int _icdim;
50 };
static InputParameters validParams()
Definition: PFCFreezingIC.C:16
Point _bottom_left
Definition: PFCFreezingIC.h:42
MooseEnum _crystal_structure
Definition: PFCFreezingIC.h:40
PFCFreezingIC creates an initial density for a PFC model that has one area of a set crystal structure...
Definition: PFCFreezingIC.h:21
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real value(const Point &p)
Definition: PFCFreezingIC.C:75
const InputParameters & parameters() const
PFCFreezingIC(const InputParameters &parameters)
Definition: PFCFreezingIC.C:43
unsigned int _icdim
Definition: PFCFreezingIC.h:49