www.mooseframework.org
FeatureVolumeFraction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef FEATUREVOLUMEFRACTION_H
8 #define FEATUREVOLUMEFRACTION_H
9 
10 #include "GeneralPostprocessor.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<FeatureVolumeFraction>();
17 
18 class FeatureVolumeFraction : public GeneralPostprocessor
19 {
20 public:
21  FeatureVolumeFraction(const InputParameters & parameters);
22 
23  virtual void initialize() override;
24  virtual void execute() override;
25  virtual Real getValue() override;
26 
27 protected:
28  Real calculateAvramiValue();
29 
30  enum class ValueType
31  {
33  AVRAMI,
34  };
35 
37  const PostprocessorValue & _mesh_volume;
38  const VectorPostprocessorValue & _feature_volumes;
39 
43 };
44 
45 #endif // FEATUREVOLUMEFRACTION_H
virtual void initialize() override
InputParameters validParams< FeatureVolumeFraction >()
virtual void execute() override
FeatureVolumeFraction(const InputParameters &parameters)
virtual Real getValue() override
const VectorPostprocessorValue & _feature_volumes
const PostprocessorValue & _mesh_volume