criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Namespaces | Enumerations | Variables
PartTypes.H File Reference

Data file of elementary particle properties. More...

#include <array>
#include <string>
#include <vector>
#include "Constants.H"
#include "Types.H"

Go to the source code of this file.

Namespaces

namespace  criptic
 The primary namespace for criptic objects.
 
namespace  criptic::partTypes
 A namespace to hold properties of elementary particles.
 

Enumerations

enum  criptic::partTypes::pType {
  criptic::partTypes::proton , criptic::partTypes::electron , criptic::partTypes::positron , criptic::partTypes::boron10 ,
  criptic::partTypes::boron11 , criptic::partTypes::carbon12 , criptic::partTypes::nitrogen14 , criptic::partTypes::oxygen16 ,
  criptic::partTypes::nPartType
}
 Enum of particle types. More...
 

Variables

constexpr Real criptic::partTypes::mass [nPartType]
 
constexpr int criptic::partTypes::charge [nPartType]
 
const std::array< const std::array< char, 80 >, nPartTypecriptic::partTypes::names
 

Detailed Description

Data file of elementary particle properties.

This file provides a namespace that holds the masses and charges of elementary particles. Quantities are stored in a unit system where the proton mass and charge are both unity.

Author
Mark Krumholz