www.mooseframework.org
NonlinearEigen.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 "EigenExecutionerBase.h"
13 
15 {
16 public:
18 
20 
21  virtual void init() override;
22 
23  virtual void execute() override;
24 
25  virtual bool lastSolveConverged() const override { return _last_solve_converged; }
26 
27 protected:
28  virtual void takeStep();
29 
30  const unsigned int & _free_iter;
31  const Real & _nl_abs_tol;
32  const Real & _nl_rel_tol;
33  const Real & _l_tol;
34  const Real & _free_l_tol;
35 
36  bool _output_pi;
39 };
const unsigned int & _free_iter
static InputParameters validParams()
virtual void init() override
Initialize the executioner.
const Real & _free_l_tol
virtual bool lastSolveConverged() const override
Whether or not the last solve converged.
virtual void takeStep()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
NonlinearEigen(const InputParameters &parameters)
virtual void execute() override
Pure virtual execute function MUST be overridden by children classes.
This class provides reusable routines for eigenvalue executioners.
const Real & _l_tol
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _nl_abs_tol
const InputParameters & parameters() const
Get the parameters of the object.
bool _last_solve_converged
const Real & _nl_rel_tol