WarpX
Namespaces | Enumerations | Functions
SpeciesPhysicalProperties.H File Reference
#include <AMReX_REAL.H>
#include <optional>
#include <string>

Go to the source code of this file.

Namespaces

 species
 

Enumerations

enum class  PhysicalSpecies {
  unspecified =0 , electron , positron , muon ,
  antimuon , photon , neutron , proton ,
  hydrogen , hydrogen1 , hydrogen2 , hydrogen3 ,
  helium , helium3 , helium4 , alpha ,
  lithium , lithium6 , lithium7 , beryllium ,
  beryllium9 , boron , boron10 , boron11 ,
  carbon , carbon12 , carbon13 , carbon14 ,
  nitrogen , nitrogen14 , nitrogen15 , oxygen ,
  oxygen16 , oxygen17 , oxygen18 , fluorine ,
  fluorine19 , neon , neon20 , neon21 ,
  neon22 , aluminium , argon , copper ,
  xenon , gold
}
 

Functions

std::optional< PhysicalSpeciesspecies::from_string (const std::string &species_name)
 Returns the PhysicalSpecies associated to a given name. More...
 
amrex::Real species::get_charge (const PhysicalSpecies &ps)
 Returns the charge associated to a PhysicalSpecies. More...
 
amrex::Real species::get_mass (const PhysicalSpecies &ps)
 Returns the mass associated to a PhysicalSpecies. More...
 
std::string species::get_name (const PhysicalSpecies &ps)
 Returns the name associated to a PhysicalSpecies. More...
 

Enumeration Type Documentation

◆ PhysicalSpecies

enum PhysicalSpecies
strong
Enumerator
unspecified 
electron 
positron 
muon 
antimuon 
photon 
neutron 
proton 
hydrogen 
hydrogen1 
hydrogen2 
hydrogen3 
helium 
helium3 
helium4 
alpha 
lithium 
lithium6 
lithium7 
beryllium 
beryllium9 
boron 
boron10 
boron11 
carbon 
carbon12 
carbon13 
carbon14 
nitrogen 
nitrogen14 
nitrogen15 
oxygen 
oxygen16 
oxygen17 
oxygen18 
fluorine 
fluorine19 
neon 
neon20 
neon21 
neon22 
aluminium 
argon 
copper 
xenon 
gold