www.mooseframework.org
AreaPostprocessor.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 "AreaPostprocessor.h"
11 
13 
15 
18 {
20 
21  params.addClassDescription("Computes the \"area\" or dimension - 1 \"volume\" of a given "
22  "boundary or boundaries in your mesh.");
23  return params;
24 }
25 
27  : SideIntegralPostprocessor(parameters)
28 {
29 }
30 
31 void
33 {
34  const AreaPostprocessor & pps = static_cast<const AreaPostprocessor &>(y);
36 }
37 
38 Real
40 {
41  return 1.0;
42 }
SideIntegralPostprocessor::_integral_value
Real _integral_value
Definition: SideIntegralPostprocessor.h:44
AreaPostprocessor::computeQpIntegral
virtual Real computeQpIntegral() override
Definition: AreaPostprocessor.C:39
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
AreaPostprocessor.h
UserObject
Base class for user-specific data.
Definition: UserObject.h:38
InputParameters::addClassDescription
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
Definition: InputParameters.C:70
AreaPostprocessor::AreaPostprocessor
AreaPostprocessor(const InputParameters &parameters)
Definition: AreaPostprocessor.C:26
registerMooseObject
registerMooseObject("MooseApp", AreaPostprocessor)
SideIntegralPostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition: SideIntegralPostprocessor.h:26
AreaPostprocessor::threadJoin
virtual void threadJoin(const UserObject &y) override
Must override.
Definition: AreaPostprocessor.C:32
AreaPostprocessor::validParams
static InputParameters validParams()
Definition: AreaPostprocessor.C:17
SideIntegralPostprocessor::validParams
static InputParameters validParams()
Definition: SideIntegralPostprocessor.C:17
AreaPostprocessor
This postprocessor computes the area of a specified block.
Definition: AreaPostprocessor.h:23
defineLegacyParams
defineLegacyParams(AreaPostprocessor)