Releases: PrincetonUniversity/GPEC
GPEC v1.2.0
Adds
- RDCON & RMATCH - Adds resistive DCON packages
- Calculates inner layer model and performs matching with ideal outer layer
- Cite [A.H. Glasser, Z.R. Wang, and J.-K. Park, Physics of Plasmas 23, 112506 (2016)]
- Includes new resistive examples
- DCON - Adds ability to calculate bounce harmonics in parallel when forming kinetic matrices for Euler-Lagrange Equation
- DCON - Adds ability to start the Euler-Lagrange ODE integration at or above a minimum safety factor qlow
- DCON - Adds ability to include electron kinetic terms in Euler-Lagrange equation (controlled by the new electron_flag)
- VACUUM - Adds ability to read prescribed wall geometry file
- GPEC - Adds new singfld and signcoup calculations and includes all singcoup and singfld outputs in netcdf
- Delta: is the published resonant coupling metric [Park, Phys. Plasmas 2007] normalized by B.grad(theta) instead of B.grad(phi).
- This is similar to what is sometimes called external Delta' in tearing stability theory need to divide by vacuum
- Penetrated resonant flux: interpolated across singspot, and physically meaningful for kinetic MHD equilibria only
- DCON, GPEC, & PENTRC - Updates the version based on the compile-time git commit
- DCON, GPEC & PENTRC - Can use a classical spline coefficient solution for "extrap" boundary condition splines, avoiding a suspected (minor) bug in the original tri-diagonal solution that resulted in large grad-shafranov errors in poorer quality equilibrium (especially inverse or modified equilibrium).
- Previous tri-diagonal spline solutions can be recovered by setting use_classic_splines to false
Changes
- DCON - Improves clarity of singular surface search messages
- GPEC - Improves clarity and consistency of singular coupling outputs
- Uses iszinv to invert hermitian fldflxmat
- Uses area normalization of penetrated flux for consistency with effective flux
- Adds unique names for the singcoup mat and svd ascii outputs (enables python reading)
- PYPEC - Improves automatic selection of partitions and threads in job submission and adds rdcon to exe options
Fixes
- DCON - Fixes only the the plasma energy matrix written to dcon.out to include full matrix (previously only 2 columns)
- GPEC - Improves clarity and consistency of singular coupling outputs
- Corrects units of Phi_res in netcdf (area normalized, so T not Wb)
- Corrects units and calculation of island width in netcdf (unitless width in psi_n, required a sqrt)
- GPEC - Fixes bug in iszinv for m/=mpert matrices (no impact on previous results, which all used m=mpert)
- GPEC - Fixes bug in the normalization of singular coupling islandwidths (singdfld unchanged)
- GPEC - Fixes poor formatting in response file header
- PENTRC - Corrects the sign of the charge when calculating NTV torque and kinetic delta-W for electrons
- VACUUM - Makes vacuum code robust to namelists without a header line
Removes
- ALL - Removes official support for all compilers other than intel
- Parallel openmpi calls unique to intel
- Move is consistent with RDCON development path
GPEC 1.1.7
Features
DCON - A new, explicit ion flag toggles whether the ion kinetic energy is included in the kinetic Euler-Lagrange equation
GPEC 1.1.6
This release corrects a bug that may have made previous GPEC electron NTV have the incorrect sign.
Bug Fixes
- PENTRC - Corrected the sign of the charge (diamagnetic frequencies, etc) for electron calculations.
GPEC 1.1.5
This version includes a minor but important change to make the ideal GPEC eigenfunctions almost identical to those from DCON in IPEC. A power extraction essential for numerical stability when forming the fundamental H and G matrices in the kinetic solutions has been removed from the ideal calculations for consistency with the previous calculations in the ideal case.
Features
- COIL - New coils are available for JET, NSTX, and COMPASS. The number of coils usable in a run increased.
- GPEC - The q, rho, and volume profiles are included in the netcdf output if any profile output is requested.
- GPEC - The local coupling matrix between opsi1 and opsi2 and corresponding svd vectors are available. needs netcdf output??
Bug Fixes
- DCON - Fundamental matrices only use power extraction technique when kin_flag is true.
- PENTRC - Progressbars are now called at the end of do loops for more precise reporting.
- PENTRC - Torque estimation from surface currents is now recorded in harvest and netcdf.
Documentation
- EXAMPLES - Examples now include "run" examples with J.-K. Park's typical workflow and settings.
- INPUT - Annotations and settings of default input namelists include minor changes.
- PYPEC - Mayavi instructions are updated for latest portal python installations.
GPEC 1.1.4
Bug Fixes
- COIL - Fixed faulty 1.1.3 implementation of increasing the east coil windings.
GPEC 1.1.3
Bug Fixes
- COIL - Increased the number of windings for the up and down EAST coil arrays
GPEC v1.1.2
Bug Fixes
- PENTRC - Now successfully writes kinetic profiles on the equilibrium grid to netcdf files
GPEC v1.1.1
Bug Fixes
- PYPEC - A bug was fixed in the python processing tools' optimize_torque function
GPEC v1.1.0
This release includes a new DCON netcdf output file and SLURM job submission interface in PYPEC for compatibility with the new portal and iris computing standards. Details are below.
Features
- DCON - A clean, efficient netcdf file replicates the information in the complicated dcon.out ascii.
- DCON - The new namelist variable, out_fund, toggles fundamental matrix output (ABCDEH in imats.out fs.bin, ks.bin and gs.bin).
- COIL - KSTAR and EAST coils are available.
- COIL - A NSTX-U error field model is available.
- GPEC - Control netcdf outputs include the external flux applied from each coil and coil names.
- GPEC - Profile netcdf outputs include rational surface quantities, coil names, and vsbrzphi, xbrzphifun, and arzphifun outputs.
- GPEC - Code is robust to singfld_flag with con_flag.
- GPEC - The new namelist variables, ascii_flag and netcdf_flag, toggle all ascii and netcdf outputs respectively.
- PYPEC - SLURM job submission.
- PYPEC - Post processing includes a function that updates netcdf naming conventions to be consistent with the latest version.
- PYPEC - Backwards compatibility for running ipec is available.
- REGRESSION - Tools for comparing versions are available.
Bug Fixes
- DCON, GPEC, PENTRC - Timers were fixed to correctly handle multi-day runs.
- DCON - Ascii formatting is updated for complex eigenvalue energies.
- GPEC - An indexing offset in calculation in dw_flag torque matrix output was fixed.
- GPEC - Appropriate ascii closing was added.
Documentation
- DOCS - Documentation includes compare module.
- INPUT - Annotations and settings of default input namelists include minor changes.
GPEC v1.0.6
This patch features fixes to a number of deeply embedded indexing and memory allocation bugs. This is necessary for compiler robustness. The regression examples show essentially no change in the results to machine precision on portal.
Bug Fixes
- VACUUM & LSODE - This patch fixes the misallocation of memory for input arrays in a number of old subroutines.
- EQUIL - This patch fixes the misallocation of memory for temporary arrays in Fourier spline fitting.
- GPEC - This patch fixes an index offset in the matrices forming the torque matrix profile.