www.mooseframework.org
Classes | Functions
GrainBoundaryArea.h File Reference

Go to the source code of this file.

Classes

class  GrainBoundaryArea
 Calculate total grain boundary length in 2D and area in 3D. More...
 

Functions

template<>
InputParameters validParams< GrainBoundaryArea > ()
 

Function Documentation

template<>
InputParameters validParams< GrainBoundaryArea > ( )

Definition at line 13 of file GrainBoundaryArea.C.

14 {
15  InputParameters params = validParams<ElementIntegralPostprocessor>();
16  params.addClassDescription("Calculate total grain boundary length in 2D and area in 3D");
17  params.addRequiredCoupledVarWithAutoBuild(
18  "v", "var_name_base", "op_num", "Array of coupled variables");
19  params.addParam<Real>("grains_per_side",
20  2.0,
21  "Number of order parameters contacting a boundary "
22  "(should be 2.0 in polycrystals and 1.0 for "
23  "dispersed particles)");
24  params.addParam<Real>("op_range",
25  1.0,
26  "Range over which order parameters change across an "
27  "interface. By default order parameters are assumed to "
28  "vary from 0 to 1");
29  return params;
30 }