MPI-AMRVAC 3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Modules | Functions/Subroutines | Variables
mod_lfff.t File Reference

Go to the source code of this file.

Modules

module  mod_lfff
 Program to extrapolate linear force-free fields in 3D Cartesian coordinates, based on exact Green function method (Chiu & Hilton 1977 ApJ 212,873).
 

Functions/Subroutines

subroutine mod_lfff::init_b_fff_data (magnetogramname, qlunit, qbunit)
 
subroutine mod_lfff::calc_lin_fff (ixil, ixol, bf, x, alpha, zshift, idir)
 
subroutine mod_lfff::get_potential_field_potential (ixil, ixol, potential, x, zshift)
 
subroutine mod_lfff::get_potential_field_potential_sphere (ixil, x, potential, nth, nph, magnetogram, theta, phi, r_sphere)
 
subroutine mod_lfff::potential_field_energy_mg (benergy)
 get potential magnetic field energy given normal B on all boundaries
 
subroutine mod_lfff::get_potential_field_potential_mg ()
 Solve Poisson equation of scalar potential using multigrid solver.
 
subroutine mod_lfff::multigrid_bc (box, nc, iv, nb, bc_type, bc)
 To set boundary condition on physical boundaries for mg Poisson solver.
 

Variables

double precision, save mod_lfff::bzmax
 
double precision, save mod_lfff::darea
 
double precision, dimension(:,:), allocatable, save mod_lfff::bz0
 
double precision, dimension(:), allocatable, save mod_lfff::xa1
 
double precision, dimension(:), allocatable, save mod_lfff::xa2
 
integer, save mod_lfff::nx1
 
integer, save mod_lfff::nx2