www.mooseframework.org
NodalProxyMaxValue.h
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 #pragma once
11 
13 
14 // Forward Declarations
15 class NodalProxyMaxValue;
16 
17 template <>
19 
25 {
26 public:
28 
29  virtual void initialize() override;
30  virtual void execute() override;
31  virtual Real getValue() override;
32 
37  virtual Real computeValue();
38 
39  void threadJoin(const UserObject & y) override;
40 
41 protected:
42  Real _value;
43  dof_id_type _node_id;
44 };
45 
NodalProxyMaxValue(const InputParameters &parameters)
This is a base class for other classes which compute post-processed values based on nodal solution va...
virtual void execute() override
Execute method.
Computes the max value at a node and broadcasts it to all processors.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual Real computeValue()
The method called to compute the value that will be returned by the proxy value.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:65
virtual Real getValue() override
This will get called to actually grab the final value the postprocessor has calculated.
void threadJoin(const UserObject &y) override
Must override.
InputParameters validParams< NodalProxyMaxValue >()
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Base class for user-specific data.
Definition: UserObject.h:37