33 virtual void init()
override;
67 unsigned int max_iter,
72 PostprocessorName xdiff,
A MultiMooseEnum object to hold "execute_on" flags.
EigenExecutionerBase(const InputParameters ¶meters)
const Real & _source_integral
Real _source_integral_old
virtual void makeBXConsistent(Real k)
Normalize solution so that |Bx| = k.
double flux_error_norm_old
const Real & eigenvalueOld()
The old eigenvalue used by inverse power iterations.
virtual void postIteration()
Override this for actions that should take place after linear solve of each inverse power iteration...
PostprocessorValue & _eigenvalue
Storage for the eigenvalue computed by the executioner.
FEProblemSolve _feproblem_solve
dummy solve object for properly setting PETSc options
virtual void checkIntegrity()
Make sure time kernel is not presented.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
This class provides reusable routines for eigenvalue executioners.
virtual bool nonlinearSolve(Real rel_tol, Real abs_tol, Real pfactor, Real &k)
Perform nonlinear solve with the initial guess of the solution.
Real PostprocessorValue
various MOOSE typedefs
const unsigned int fsmooth
Executioners are objects that do the actual work of solving your problem.
const Real & _normalization
Postprocessor for normalization.
void chebyshev(Chebyshev_Parameters ¶ms, unsigned int iter, const PostprocessorValue *solution_diff)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseEigenSystem & _eigen_sys
virtual void printEigenvalue()
Print eigenvalue.
static InputParameters validParams()
Constructor.
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real normalizeSolution(bool force=true)
Normalize the solution vector based on the postprocessor value for normalization. ...
const unsigned int n_iter
virtual void postExecute() override
Override this for actions that should take place after the main solve.
virtual void init() override
Initialize the executioner.
virtual void preIteration()
Override this for actions that should take place before linear solve of each inverse power iteration...
Real & eigenValue()
A method for returning the eigenvalue computed by the executioner.
virtual bool inversePowerIteration(unsigned int min_iter, unsigned int max_iter, Real pfactor, bool cheb_on, Real tol_eig, bool echo, PostprocessorName xdiff, Real tol_x, Real &k, Real &initial_res)
Perform inverse power iterations with the initial guess of the solution.