https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SolutionInvalidityReporter.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 "GeneralReporter.h"
13
15
20{
21public:
23
25
26 void initialize() override {}
27 void finalize() override {}
28 void execute() override {}
29};
30
31// Store solution invalid warnings to a json file
32void to_json(nlohmann::json & json, const SolutionInvalidity * const & solution_invalidity);
33
43void
44dataStore(std::ostream &, const SolutionInvalidity *&, void *)
45{
46}
47void
48dataLoad(std::istream &, const SolutionInvalidity *&, void *)
49{
50}
void to_json(nlohmann::json &json, const SolutionInvalidity *const &solution_invalidity)
void dataStore(std::ostream &, const SolutionInvalidity *&, void *)
Store and load methods for const SolutionInvalidity *, used in the SolutionInvalidityReporter,...
void dataLoad(std::istream &, const SolutionInvalidity *&, void *)
Reporter object that has a single execution of the "execute" method for each execute flag.
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
Reports the summary table of solution invalid warnings.
void execute() override
Execute method.
static InputParameters validParams()
void initialize() override
Called before execute() is ever called so that data can be cleared.
The SolutionInvalidity will contain all the information about the occurrence(s) of solution invalidit...