www.mooseframework.org
InterfacePostprocessor.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 "InterfacePostprocessor.h"
11 
14 {
16  params += Postprocessor::validParams();
17  params.addClassDescription(
18  "Basic class for Interface Postprocessors. All InterfacePostprocessors "
19  "should be derived from this class.");
20  return params;
21 }
22 
24  : InterfaceUserObject(parameters), Postprocessor(this), _interface_primary_area(0.)
25 {
26 }
27 
28 void
30 {
33 }
34 
35 void
37 {
40 }
41 
42 void
44 {
45  const auto & pps = static_cast<const InterfacePostprocessor &>(y);
46  _interface_primary_area += pps._interface_primary_area;
47 }
48 
49 void
51 {
53 }
static InputParameters validParams()
virtual void execute() override
Execute method.
virtual void execute() override
Execute method.
BASE CLASS FOR IMPLEMENTING INTERFACE POSTRPOCESSOR ALL INTERFACE POSTPROCESOR SHOULD DERIVE FROM THI...
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
InterfacePostprocessor(const InputParameters &parameters)
static InputParameters validParams()
static InputParameters validParams()
Definition: Postprocessor.C:17
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Real _interface_primary_area
the area of the primary side of the interface
void gatherSum(T &value)
Gather the parallel sum of the variable passed in.
Definition: UserObject.h:125
Base class for all Postprocessors.
Definition: Postprocessor.h:23
const Real & _current_side_volume
current side volume
virtual void finalize() override
Finalize.
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...
Base class for implementing interface user objects.
Base class for user-specific data.
Definition: UserObject.h:39
virtual void threadJoin(const UserObject &y) override
Must override.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.