www.mooseframework.org
SimplePredictor.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 "Predictor.h"
13 
36 class SimplePredictor : public Predictor
37 {
38 public:
40 
42 
43  virtual bool shouldApply() override;
44  virtual void apply(NumericVector<Number> & sln) override;
45 };
static InputParameters validParams()
Base class for predictors.
Definition: Predictor.h:28
virtual bool shouldApply() override
SimplePredictor(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
A SimplePredictor uses an algorithm that will predict the next solution based on previous solutions...
virtual void apply(NumericVector< Number > &sln) override
const InputParameters & parameters() const
Get the parameters of the object.