https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
24
25 virtual Real value(const Point & p);
26
27protected:
29
31 const unsigned int _op_num;
32
33 // Order parameter index
34 const unsigned int _op_index;
35
37 Point _junction;
38
40 Real _theta1;
41
43 Real _theta2;
44
47
50};
const Real p
const InputParameters & parameters() const
TricrystalTripleJunctionIC creates a 3-grain structure with a triple junction centered at _junction a...
virtual Real value(const Point &p)
const unsigned int _op_num
Number of order parameters.
static InputParameters validParams()
Real _theta1
Angle of first grain at triple junction in radians.
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
Point _junction
Point where the triple junction occurs.
Real _tan_theta2
tangent of the second angle after a shift of pi/2