artis

(★ 26)

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

파일 탐색기

  • .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

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

brew install

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

이 명령은 `mpic++`의 별칭입니다.

tldr mpic++

자세한 내용은 원본 명령을 참고하세요:

🔍

mpirun

설명 보기 ▼

Open MPI에서 직렬 및 병렬 작업 실행.
관련 항목: `mpic++`.
더 많은 정보: <https://docs.open-mpi.org/en/main/man-openmpi/man1/mpirun.1.html>.

mpirun {{path/to/executable}}

Open MPI 프로그램 실행:

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

`n`개의 병렬 프로세스로 Open MPI 프로그램 실행:

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

사용 가능한 물리 코어 수보다 많은 프로세스 실행 허용:

🔍

prek

설명 보기 ▼

커밋 전에 실행되는 Git hook을 생성하고 관리.
더 많은 정보: <https://prek.j178.dev/reference/cli/>.

prek install

Git hook에 prek 설치:

prek run

staging된 모든 파일에 대해 prek hook 실행:

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

Staging 여부와 관계없이 모든 파일에 대해 prek hook 실행:

🔍

vim

설명 보기 ▼

Vim (Vi IMproved)는 다양한 텍스트 조작을 위한 여러 모드를 제공하는 명령줄 텍스트 편집기입니다.
일반 모드에서 `<i>`를 눌러 삽입 모드로 진입합니다. `<Esc>`를 눌러 다시 일반 모드로 돌아가면 Vim 명령을 사용할 수 있습니다.
관련 항목: `vimdiff`, `vimtutor`, `nvim`, `gvim`.
더 많은 정보: <https://www.vim.org/>.

vim {{path/to/file}}

파일 열기:

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

지정한 줄 번호에서 파일 열기:

<:>help<Enter>

Vim 메뉴얼 보기:

🔍

sbatch

설명 보기 ▼

SLURM 스케줄러에 배치 작업 제출.
더 많은 정보: <https://manned.org/sbatch>.

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

배치 작업 제출:

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

사용자 지정 이름으로 배치 작업 제출:

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

30분의 시간 제한으로 배치 작업 제출:

# 프로젝트 배지

// repository documentation