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