https://mooseframework.inl.gov
TricrystalTripleJunctionIC.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 "InitialCondition.h"
13 
19 {
20 public:
22 
24 
25  virtual Real value(const Point & p);
26 
27 protected:
28  const MooseMesh & _mesh;
29 
31  const unsigned int _op_num;
32 
33  // Order parameter index
34  const unsigned int _op_index;
35 
37  Point _junction;
38 
41 
44 
47 
50 };
const unsigned int _op_num
Number of order parameters.
virtual Real value(const Point &p)
TricrystalTripleJunctionIC creates a 3-grain structure with a triple junction centered at _junction a...
static InputParameters validParams()
Real _theta2
Angle of third grain at triple junction in radians.
Real _tan_theta1
tangent of the first angle after a shift of pi/2
Real _theta1
Angle of first grain at triple junction in radians.
Real _tan_theta2
tangent of the second angle after a shift of pi/2
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Point _junction
Point where the triple junction occurs.
TricrystalTripleJunctionIC(const InputParameters &parameters)