https://mooseframework.inl.gov
GrainBoundaryArea.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 
13 
18 {
19 public:
21 
23 
24  virtual Real getValue() const override;
25 
26 protected:
27  virtual Real computeQpIntegral() override;
28 
30  const unsigned int _op_num;
31 
33  std::vector<const VariableGradient *> _grads;
34 
36  const Real _factor;
37 };
std::vector< const VariableGradient * > _grads
Order parameters.
const unsigned int _op_num
Number of order parameters.
GrainBoundaryArea(const InputParameters &parameters)
const Real _factor
normalization factor, depending on order parameter range and grains per side
virtual Real getValue() const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpIntegral() override
const InputParameters & parameters() const
static InputParameters validParams()
Calculate total grain boundary length in 2D and area in 3D.