slug
  • Quickstart
  • License
  • Introduction to SLUG
  • Getting SLUG
  • Compiling and Installing SLUG
  • Running a SLUG Simulation
  • The SLUG Input Deck
  • Probability Distribution Functions
  • Output Files and Format
  • Stellar Tracks
  • Stellar Atmospheres and Spectral Synthesis
  • Photometry and Filters
  • Nebular Emission
  • Extinction
  • Yields
  • Feedback
  • slugpy
  • Cloudy Nebular Processing
  • Examples
  • Troubleshooting
  • Tests
  • The slug Python API
  • The slug C++ API
  • Contributors and Acknowledgements
slug
  • File Constants.hpp
  • View page source

File Constants.hpp

↰ Parent directory (src/utils)

Physical constants and unit conversions, in cgs units.

Contents

  • Definition (src/utils/Constants.hpp)

  • Detailed Description

  • Includes

  • Included By

  • Namespaces

  • Variables

Definition (src/utils/Constants.hpp)

  • Program Listing for File Constants.hpp

Detailed Description

Mark Krumholz

2026-07-26

Copyright (c) 2026 Mark Krumholz. All rights reserved.

Includes

  • gsl/gsl_const_cgsm.h

Included By

  • File Extinct.hpp

  • File PhotCommons.hpp

  • File Specsyn.hpp

  • File SpecsynBlackbody.hpp

  • File SpecsynCommons.hpp

Namespaces

  • Namespace utils

Variables

  • Variable utils::Angstrom

  • Variable utils::c

  • Variable utils::day

  • Variable utils::eV

  • Variable utils::G

  • Variable utils::h

  • Variable utils::Jy

  • Variable utils::kB

  • Variable utils::Lsun

  • Variable utils::Msun

  • Variable utils::pc

  • Variable utils::Rsun

  • Variable utils::Ryd

  • Variable utils::sigmaSB

  • Variable utils::yr


© Copyright 2026, Mark Krumholz.

Built with Sphinx using a theme provided by Read the Docs.