www.mooseframework.org
GBEvolution.C
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 #include "GBEvolution.h"
11 
12 registerMooseObject("PhaseFieldApp", GBEvolution);
13 
14 template <>
15 InputParameters
17 {
18  InputParameters params = validParams<GBEvolutionBase>();
19  params.addRequiredParam<Real>("GBenergy", "Grain boundary energy in J/m^2");
20  return params;
21 }
22 
23 GBEvolution::GBEvolution(const InputParameters & parameters)
24  : GBEvolutionBase(parameters), _GBEnergy(getParam<Real>("GBenergy"))
25 {
26 }
27 
28 void
30 {
31  // eV/nm^2
33 
35 }
const Real _JtoeV
GBEvolution(const InputParameters &parameters)
Definition: GBEvolution.C:23
Real _GBEnergy
Definition: GBEvolution.h:31
virtual void computeQpProperties()
MaterialProperty< Real > & _sigma
InputParameters validParams< GBEvolution >()
Definition: GBEvolution.C:16
registerMooseObject("PhaseFieldApp", GBEvolution)
InputParameters validParams< GBEvolutionBase >()
Grain boundary energy parameters for isotropic uniform grain boundary energies.
Definition: GBEvolution.h:23
virtual void computeQpProperties()
Definition: GBEvolution.C:29