Stellarator-Tools
utilities.f90 File Reference

Contains module perturbation. More...

Data Types

interface  utilities::to_full_mesh
 Interface to convert between half and full mesh using either to_full_mesh2 or to_full_mesh3. More...
 
interface  utilities::to_half_mesh
 Interface to convert between full and half mesh using either to_half_mesh or to_half_mesh_p. More...
 
interface  utilities::gradienthalf
 Interface to take the gradianet from full to half mesh using either GradientHalf or GradientHalf_p. More...
 
interface  utilities::curl_htof
 Interface to take the curl on a half mesh quantity and return a full mesh using either curl_htof or curl_htof_targ. More...
 
interface  utilities::set_bndy_fouier_m0
 Interface to set the fouier conditions on a quantity for either scalar set_bndy_fouier_m0 or vector set_bndy_fouier_m0_vec quantities. More...
 

Modules

module  utilities
 This file contains utilities for converting the siesta grids.
 

Functions/Subroutines

subroutine utilities::gradienthalf (gradienth, vecf)
 Calculate the gradient to the half mesh from a full mesh quantity. More...
 
subroutine utilities::gradienthalf_p (gradienth, vecf)
 Calculate the gradient to the half mesh from a full mesh quantity. More...
 
subroutine utilities::gradientfull (gradientf, vech)
 Calculate the gradient to the full mesh from a half mesh quantity. More...
 
subroutine utilities::to_half_mesh (vecf, vech)
 Migrates a full mesh quantity to the half mesh. More...
 
subroutine utilities::to_half_mesh_p (vecf, vech)
 Migrates a full mesh quantity to the half mesh. More...
 
subroutine utilities::to_full_mesh3 (vech, vecf)
 Migrate a three dimensional quantity form the half mesh to the full mesh. More...
 
subroutine utilities::to_full_mesh2 (vech, vecf)
 Migrate a two dimensional quantity form the half mesh to the full mesh. More...
 
subroutine utilities::curl_ftoh (asubsmnf, asubumnf, asubvmnf,
 Compute curl of the full grid quantity a on the half grid. More...
 
subroutine utilities::curl_htof (bsubsmnh, bsubumnh, bsubvmnh,
 Compute curl of the half grid quantity a on the full grid. More...
 
subroutine utilities::curl_htof_targ (bsubsmnh, bsubumnh, bsubvmnh,
 Convert allocatable to pointer for use in curl_htof. More...
 
pure subroutine utilities::set_bndy_half_to_full (amnh, amnf, nsmin, parity, f
 Set fouier boundary conditions for full grid quantity converted from half grid. More...
 
pure subroutine utilities::set_bndy_half_to_full_ds (amnh, amnf_ds, nsmin, par
 Set fouier boundary conditions for full grid radial derivative quantity converted from half grid. More...
 
pure subroutine utilities::set_bndy_full_origin (amnsf, amnuf, amnvf, flags)
 Apply origin vector boundary conditions. More...
 
pure subroutine utilities::set_bndy_fouier_m0 (amn, parity)
 Set vector fourier conditions. More...
 
pure subroutine utilities::set_bndy_fouier_m0_vec (amns, amnu, amnv, parity)
 Set vector fourier conditions. More...
 
subroutine utilities::div_h (jbsupsmnh, jbsupumnh, jbsupvmnh,
 Compute the divergence of a half grid quantity. More...
 
logical function utilities::test_utilities ()
 Test utility routines. More...
 
logical function utilities::test_div (jbsupsmnh, jbsupumnh, jbsupvmnh, parity, nsmin,
 Test divergence of a half grid quantity. More...
 

Detailed Description

Contains module perturbation.

Contains module utilities.