spectrum

Space Plasma and Energetic Charged particle TRansport on Unstructured Meshes

https://github.com/vflorins/spectrum

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Space Plasma and Energetic Charged particle TRansport on Unstructured Meshes

Basic Info
  • Host: GitHub
  • Owner: vflorins
  • License: apache-2.0
  • Language: C++
  • Default Branch: main
  • Homepage:
  • Size: 16 MB
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 1
Created about 3 years ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

Persistent identifier for latest release (archived through Zenodo): DOI

SPECTRUM

Space Plasma and Energetic Charged particle TRansport on Unstructured Meshes (SPECTRUM) is a suite of scientific numerical simulation codes designed to efficiently perform test-particle simulations, classical or relativistic, in virtually any astrophysical environment. In addition, ongoing development seeks to extend the utility of SPECTRUM by equipping it with MHD simulation capabilities.

Capabilities

Test-particle Simulations

SPECTRUM is capable of performing test-particle simulations for a variety of transport models, such as Newton-Lorentz, guiding center (with or without diffusion/scattering), and more. The software was designed with two main purposes in mind. The first is to compute real, physical trajectories of charged particles by specifying their equations of motion subject to known background fields. The second is to solve partial differential equations (PDEs) describing the diffusive transport of particle distribution functions via the method of stochastic characteristics. In a nutshell, this is a Monte Carlo (MC) approach that consists in finding a suitable stochastic differential equation (SDE) whose solution has an expected value that solves the PDE in question when weighed appropriately to account for the initial/boundary conditions, sources/sinks, and linear growth terms.

MHD Simulations

This functionality of SPECTRUM is currently under development.

Using the Code

General File Structure

The 'common' directory contains fundamental classes and routines used throughout the software. The 'src' directory contains the source code used for the test-particle simulations. The 'fluid', 'geodesic', and 'geometry' directories hold the code relevant to the MHD simulations (under development). The 'benchmarks' directory houses numerous testing and benchmarking files used to verify certain modules are working properly and gauge the software's performance. The 'tests' directory has test codes used to verify correct installation and proper functioning of different modules. Finally, the 'runs' directory is meant for the user to implement their own simulations. It already features some example files to help the user get started.

Compiling and Running the Code

SPECTRUM was designed primarily for devices running popular Linux distros, such as Debian or Fedora, and uses the GNU Automake tool for compilation. Note that a C++ compiler (capable of interpreting C++20 or above), a properly installed MPI library (e.g. Open MPI or MPICH), and the GNU Scientic Library (GSL) of mathematical tools are pre-requisites for compiling and running SPECTRUM codes.

To configure the code from a fresh download navigate to the main SPECTRUM directory and execute the following commands in terminal:

autoreconf automake --add-missing ./configure <configure-options>

The <configure-options> are used to specify parameters such as which type of trajectory transport should be simulated or what integration method should be used. Consult the documentation ('Documentation and Tutorial.pdf') for more details.

Owner

  • Name: Vladimir Florinski
  • Login: vflorins
  • Kind: user
  • Company: University of Alabama in Huntsville

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it using these metadata."
title: "Space Plasma and Energetic Charged particle TRansport on Unstructured Meshes"
abstract: "Space Plasma and Energetic Charged particle TRansport on Unstructured Meshes (SPECTRUM) is a suite of scientific numerical simulation codes designed to efficiently perform test-particle simulations, classical or relativistic, in virtually any astrophysical environment. In addition, ongoing development seeks to extend the utility of SPECTRUM by equipping it with MHD simulation capabilities."
authors:
  - family-names: Florinski
    given-names: Vladimir
    orcid: "https://orcid.org/0000-0001-5485-2872"
  - family-names: Alonso Guzman
    given-names: Juan Gabriel
    orcid: "https://orcid.org/0000-0001-9581-3167"
repository-code: "https://github.com/vflorins/SPECTRUM"
license: Apache-2.0
version: 1.0.0
date-released: "2024-04-18"
identifiers:
  - description: "This is the archived snapshot of version 1.0.0 of SPECTRUM"
    type: doi
    value: 10.5281/zenodo.10994173
keywords:
  - "Monte Carlo method"
  - "method of stochastic characteristics"
  - "charged particle transport"
  - "MPI parallelization"
contact:
  - affiliation: "University of Alabama in Huntsville (UAH)"
    email: vaf0001@uah.edu
    family-names: Florinski
    given-names: Vladimir

GitHub Events

Total
  • Issues event: 16
  • Watch event: 4
  • Delete event: 16
  • Issue comment event: 30
  • Push event: 141
  • Pull request review event: 6
  • Pull request event: 43
  • Fork event: 3
  • Create event: 18
Last Year
  • Issues event: 16
  • Watch event: 4
  • Delete event: 16
  • Issue comment event: 30
  • Push event: 141
  • Pull request review event: 6
  • Pull request event: 43
  • Fork event: 3
  • Create event: 18

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 8
  • Total pull requests: 20
  • Average time to close issues: 9 days
  • Average time to close pull requests: 8 days
  • Total issue authors: 2
  • Total pull request authors: 4
  • Average comments per issue: 0.88
  • Average comments per pull request: 0.6
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 20
  • Average time to close issues: 9 days
  • Average time to close pull requests: 8 days
  • Issue authors: 2
  • Pull request authors: 4
  • Average comments per issue: 0.88
  • Average comments per pull request: 0.6
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jgaloguz (5)
  • LuciusSchoenbaum (4)
Pull Request Authors
  • jgaloguz (34)
  • LuciusSchoenbaum (4)
  • vflorins (4)
  • Sharmas889 (1)
Top Labels
Issue Labels
question (3) invalid (1) enhancement (1)
Pull Request Labels