https://mooseframework.inl.gov
SlepcEigenSolverConfiguration.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 "libmesh/libmesh_config.h"
13 
14 #ifdef LIBMESH_HAVE_SLEPC
15 
16 #include "libmesh/solver_configuration.h"
17 
18 class EigenProblem;
20 namespace libMesh
21 {
22 template <typename>
23 class SlepcEigenSolver;
24 }
25 
27 {
28 public:
33  libMesh::SlepcEigenSolver<libMesh::Number> & slepc_eigen_solver,
34  const NonlinearEigenSystem & nl_eigen_sys);
35 
36  virtual void configure_solver() override;
37 
38 private:
40 
45 
48 };
49 
50 #endif
Nonlinear eigenvalue system to be solved.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
libMesh::SlepcEigenSolver< libMesh::Number > & _slepc_solver
The slepc eigen solver object that we are configuring.
SlepcEigenSolverConfiguration(EigenProblem &eigen_problem, libMesh::SlepcEigenSolver< libMesh::Number > &slepc_eigen_solver, const NonlinearEigenSystem &nl_eigen_sys)
Constructur: get a reference to the SlepcEigenSolver variable to be able to manipulate it...
const NonlinearEigenSystem & _nl_eigen_sys
The system that owns the SLEPc solver.
Problem for solving eigenvalue problems.
Definition: EigenProblem.h:21