pyoculus 0.1.1
Loading...
Searching...
No Matches
pyPJH.f90 File Reference

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.
 

Detailed Description

Fortran module for SPEC Pressure Jump Hamiltonian problems.

Author
Zhisong Qu (zhiso.nosp@m.ng.q.nosp@m.u@anu.nosp@m..edu.nosp@m..au)
Stuart Hudson (shuds.nosp@m.on@p.nosp@m.ppl.g.nosp@m.ov)