https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SideVariablePostprocessor.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
12#include "SidePostprocessor.h"
14
16{
17public:
19
21
22 virtual void execute() override;
23
24protected:
26 virtual void computeQpValue() = 0;
27
30
33
35 unsigned int _qp;
36};
OutputTools< Real >::VariableGradient VariableGradient
Definition MooseTypes.h:349
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Interface for objects that need to get values of MooseVariables.
Base class for postprocessors executed on one or more sidesets.
static InputParameters validParams()
const VariableValue & _u
Holds the solution at current quadrature points.
virtual void computeQpValue()=0
This is what derived classes should override to do something on every quadrature point on every eleme...
unsigned int _qp
The current quadrature point.
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
virtual void execute() override
Execute method.