https://mooseframework.inl.gov
NodalReporter.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 // MOOSE includes
13 #include "NodalUserObject.h"
14 #include "Reporter.h"
15 
18 class NodalReporter : public NodalUserObject, public Reporter
19 {
20 public:
22 
24 
38  bool shouldStore() const override final;
39 
40 private:
42  const bool _always_store;
43 };
static InputParameters validParams()
Definition: NodalReporter.C:14
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Reporter objects allow for the declaration of arbitrary data types that are aggregate values for a si...
Definition: Reporter.h:47
A user object that runs over all the nodes and does an aggregation step to compute a single value...
const bool _always_store
Whether or not this NodalReporter should always store its information; see shouldStore() ...
Definition: NodalReporter.h:42
NodalReporter(const InputParameters &parameters)
Definition: NodalReporter.C:25
const InputParameters & parameters() const
Get the parameters of the object.
bool shouldStore() const override final
Definition: NodalReporter.C:31