PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Modules | Functions/Subroutines | Variables
SLEPC_ops.f90 File Reference

Go to the source code of this file.

Modules

module  slepc_ops
 Operations that use SLEPC (and PETSC) routines.
 

Functions/Subroutines

integer function, public slepc_ops::solve_ev_system_slepc (mds, grid_sol, X, vac, sol)
 Solve the eigenvalue system using SLEPC. More...
 
integer function, public slepc_ops::start_slepc (n_r_sol)
 This subroutine starts PETSC and SLEPC with the correct number of processors. More...
 
integer function, public slepc_ops::setup_mats (mds, grid_sol, X, A, B)
 Sets up the matrices \(\overline{\text{A}}\) and \(\overline{\text{B}}\) in the EV problem \( \overline{\text{A}} \vec{X} = \lambda \overline{\text{B}} \vec{X}. \). More...
 
integer function, public slepc_ops::set_bc (mds, grid_sol, X, vac, A, B)
 Sets the boundary conditions deep in the plasma (1) and at the edge (2). More...
 
integer function, public slepc_ops::setup_solver (X, A, B, solver)
 Sets up EV solver. More...
 
integer function, public slepc_ops::setup_guess (sol, A, solver)
 Sets up guess in solver. More...
 
integer function, public slepc_ops::get_solution (solver)
 Get the solution vectors. More...
 
integer function, public slepc_ops::summarize_solution (solver, max_n_EV)
 Summarizes solution. More...
 
integer function, public slepc_ops::store_results (mds, grid_sol, sol, solver, max_n_EV, A, B)
 Stores the results. More...
 
integer function, public slepc_ops::stop_slepc (A, B, solver)
 Stop PETSC and SLEPC. More...
 

Variables

logical, public slepc_ops::debug_setup_mats = .false.
 plot debug information for setup_mats More...
 
logical, public slepc_ops::debug_set_bc = .false.
 plot debug information for set_BC More...
 
logical, public slepc_ops::test_diff = .false.
 test introduction of numerical diff More...