PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
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.
integer function, public slepc_ops::start_slepc (n_r_sol)
 This subroutine starts PETSC and SLEPC with the correct number of processors.
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}. \).
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).
integer function, public slepc_ops::setup_solver (x, a, b, solver)
 Sets up EV solver.
integer function, public slepc_ops::setup_guess (sol, a, solver)
 Sets up guess in solver.
integer function, public slepc_ops::get_solution (solver)
 Get the solution vectors.
integer function, public slepc_ops::summarize_solution (solver, max_n_ev)
 Summarizes solution.
integer function, public slepc_ops::store_results (mds, grid_sol, sol, solver, max_n_ev, a, b)
 Stores the results.
integer function, public slepc_ops::stop_slepc (a, b, solver)
 Stop PETSC and SLEPC.

Variables

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