Giter Club home page Giter Club logo

qsl_squasher's Introduction

Author: Svetlin Tassev (Harvard-Smithsonian Center for Astrophysics, Braintree High School)

Initial public release date: Aug 28, 2016

QSL Squasher is an OpenCL code for calculating squashing factors of vector fields. Version >=2.0 (aka QSL Squasher -- Transverse Version) can also calculate local and global quantities associated with the transverse eigenvalues of the gradient of the normalized magnetic field. Those include the squeeze factor and squeezing rate; the coiling number and coiling rate; the twist factor and twist factor constrained to non-saddle-flow regions; etc.

For more fine-grained control over the calculation of the squashing factor, use the original version of QSL Squasher (version <2.0), which offers higher-order interpolation schemes as well as integrator types. Please, use QSL Squasher -- Transverse Version (version >=2.0) for all calculations involving the squashing factor (when defaulting to trilinear interpolation and Euler integration scheme) as well as the quantities associated with the transverse eigenvalues of the gradient of the normalized magnetic field.

QSL Squasher (<2.0) is based on the following paper:

  • QSL Squasher: A Fast Quasi-Separatrix Layer Map Calculator, S. Tassev and A. Savcheva, arXiv:1609.00724, The Astrophysical Journal, 840, 89 (2017).

QSL Squasher -- Transverse Version (version >=2.0) is based on the paper above as well as on:

  • Coiling and Squeezing: Properties of the Local Transverse Deviations of Magnetic Field Lines, S. Tassev and A. Savcheva (2019), arXiv:1901.00865.

If you use any version of QSL Squasher or a derivative of it for scientific work, we kindly ask you to reference the papers above.

  • QSL Squasher is free and open-source software, distributed under the GPLv3+ license.

  • To build the code and learn how to run it, read the manual here and here. Scripts that compile the code and its dependencies under CentOS and Debian are available from the author upon request.

  • The example input files can be downloaded here.

Revision History:

ver. 2.0 (Jan 1, 2019): QSL Squasher -- Transverse Version. Major overhaul of the code focusing on calculating local and global quantities associated with the transverse eigenvalues of the gradient of the normalized magnetic field. Those include: the squeeze factor as well as the coiling and twist numbers.

ver. 1.3 (Jan 22, 2018): (1) Add support for periodic BC in X and Y for Cartesian coordinates. To enable, set PERIODIC_XY in options.hpp. (2) Overhaul of snapshot.cpp. Gaps are interpolated with python instead. This update improves memory consumption and fixes certain artefacts due to the old Hilbert-curve based interpolation of the data. Thanks to Roger Scott (University of Dundee) for reporting those artefacts.

ver. 1.2 (Jan 5, 2018): Added terms neglected in eq.6 of paper. Terms have no effect on identification of QSL locations. Only Q values in spherical coordinates are affected. The extra contributions are suppressed by the ratio (\delta r/R), where \delta r is the scale over which B varies and R is the radius of the Sun.

ver. 1.1 (June 27, 2017): Added support for global models (covering the Sun in longitude and latitude). Treat the poles as well as the periodicity in longitude correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.