artis

(★ 26)

3D non-LTE Monte Carlo radiative transfer for supernovae/kilonovae

File Explorer

  • .clang-format
  • .clang-tidy
  • .clangd
  • .git-blame-ignore-revs
  • .gitattributes
  • .gitignore
  • .pre-commit-config.yaml
  • .python-version
  • .renovate.json
  • AGENTS.md
  • anderson.h
  • artisoptions_classic.h
  • artisoptions_doc.md
  • artisoptions_kilonova_lte.h
  • artisoptions_kilonova_timedepnlte.h
  • artisoptions_nltenebular.h
  • artisoptions_nltephotospheric_dynamic_ion_range.h
  • atomic.h
  • chargetransfer.cc
  • chargetransfer.h
  • CITATION.cff
  • CLAUDE.md
  • constants.h
  • cpplint.cfg
  • decay.cc
  • decay.h
  • exspec.cc
  • exspec.h
  • gammapkt.cc
  • gammapkt.h
  • gausskronrod.h
  • globals.h
  • grid.cc
  • grid.h
  • input.cc
  • input.h
  • integrator.h
  • kpkt.cc
  • kpkt.h
  • LICENSE
  • ltepop.cc
  • ltepop.h
  • macroatom.cc
  • macroatom.h
  • Makefile
  • mpi_logging.cc
  • mpi_logging.h
  • nltepop.cc
  • nltepop.h
  • nonthermal.cc
  • nonthermal.h
  • packet.cc
  • packet.h
  • pixi.toml
  • radfield.cc
  • radfield.h
  • random.h
  • ratecoeff.cc
  • ratecoeff.h
  • README.md
  • rpkt.cc
  • rpkt.h
  • sn3d.cc
  • sn3d.h
  • spectrum_lightcurve.cc
  • spectrum_lightcurve.h
  • stats.cc
  • stats.h
  • thermalbalance.cc
  • thermalbalance.h
  • toms748.h
  • unittests.cc
  • update_grid.cc
  • update_grid.h
  • update_packets.cc
  • update_packets.h
  • vectors.h
  • version.h
  • vpkt.cc
  • vpkt.h

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

mpicxx

View Details ▼

This command is an alias of `mpic++`.

tldr mpic++

View documentation for the original command:

🔍

mpirun

View Details ▼

Execute serial and parallel jobs in Open MPI.
See also: `mpic++`.

mpirun {{path/to/executable}}

Execute an Open MPI program:

mpirun -n {{n}} {{path/to/executable}}

Execute an Open MPI program with `n` parallel processes:

mpirun -oversubscribe {{path/to/executable}}

Allow more processes than available physical cores:

🔍

prek

View Details ▼

Create Git hooks that run before commits.

prek install

Install prek into your Git hooks:

prek run

Run prek hooks on all staged files:

prek run {{[-a|--all-files]}}

Run prek hooks on all files, staged or unstaged:

🔍

vim

View Details ▼

Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation.
Pressing `<i>` in normal mode enters insert mode. Pressing `<Esc>` goes back to normal mode, which enables the use of Vim commands.
See also: `vimdiff`, `vimtutor`, `nvim`, `gvim`.

vim {{path/to/file}}

Open a file:

vim +{{line_number}} {{path/to/file}}

Open a file at a specified line number:

<:>help<Enter>

View Vim's help manual:

🔍

sbatch

View Details ▼

Submit a batch job to the SLURM scheduler.

sbatch {{path/to/job.sh}}

Submit a batch job:

sbatch --job-name={{myjob}} {{path/to/job.sh}}

Submit a batch job with a custom name:

sbatch --time={{00:30:00}} {{path/to/job.sh}}

Submit a batch job with a time limit of 30 minutes:

# Project Badges

// repository documentation