pyoculus 0.1.1
|
Fortran module for SPEC Pressure Jump Hamiltonian problems. More...
Modules | |
module | specpjh |
Fortran module for SPEC Pressure Jump Hamiltonian problems. | |
Functions/Subroutines | |
subroutine, public | specpjh::get_pjhfield (phi, ptt, dptt) |
Compute the ODEs for PJH system, \(dp_\theta/d\varphi\), \(d\theta/d\varphi\). | |
subroutine, public | specpjh::get_pjhfield_tangent (phi, ptt, dptt) |
Compute the ODEs for PJH system, \(dp_\theta/d\varphi\), \(d\theta/d\varphi\), with tangent. | |
subroutine, public | specpjh::get_covariant_field (theta, phi, bco) |
Get the covariant component of known side of magnetic field \(\bf B_1\), i.e. \(B_{1,\theta}, B_{1,\varphi}\). Can be used to estimate the initial condition for \(p_\theta\). | |
subroutine, public | specpjh::get_b2_interface (db2, ioi, theta, phi, guvij, sg, ideriv) |
An internal subroutine that computes the squared magnetic field strength on the interface \(B_1^2\) and its first and second \(\theta\) derivatives. This is a private subroutine that is not interfaced with Python. | |
subroutine, public | specpjh::init_pjh (dp, inside_or_outside, plus_or_minus) |
Initialize the PJH system. Whenever \(\delta p\) is modified, you will need to call this subroutine (in Python interface) again. | |
subroutine, public | specpjh::destroy_pjh () |
This subroutine frees the memory space allocated by specpjh::init_pjh. | |
Fortran module for SPEC Pressure Jump Hamiltonian problems.