https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LevelSetOlssonTerminator.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 "GeneralUserObject.h"
13
14// Forward Declarations
19{
20public:
22
24 virtual void execute() override;
25 virtual void initialize() override {}
26 virtual void finalize() override {}
27
28protected:
30 NumericVector<Number> & _solution_diff;
31
33 const Real & _tol;
34
36 const int & _min_t_steps;
37};
Terminates the solve based on the criteria defined in Olsson et.
const int & _min_t_steps
The required minimum number of timesteps.
virtual void initialize() override
NumericVector< Number > & _solution_diff
The difference of current and old solutions.
virtual void finalize() override
static InputParameters validParams()
const Real & _tol
The steady-state convergence tolerance.
virtual void execute() override
const InputParameters & parameters() const