https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
19public:
21
23
24 virtual Real getValue() const override;
25
26protected:
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};
Calculate total grain boundary length in 2D and area in 3D.
static InputParameters validParams()
virtual Real computeQpIntegral() override
const unsigned int _op_num
Number of order parameters.
virtual Real getValue() const override
const Real _factor
normalization factor, depending on order parameter range and grains per side
std::vector< const VariableGradient * > _grads
Order parameters.
const InputParameters & parameters() const