Version: SMASH-3.4
smash::InputSections Namespace Reference

A namespace to keep track of all ever existed sections in the input file. More...

Classes

struct  Section
 A simple struct to represent input sections. More...
 

Functions

constexpr Section operator+ (const Section &parent, std::string_view child)
 Add a child section to a parent section. More...
 

Variables

constexpr Section collisionTerm {"Collision_Term"}
 Section for the collision term. More...
 
constexpr Section c_dileptons
 Subsection for the dileptons. More...
 
constexpr Section c_pauliBlocking
 Subsection for the Pauli blocking mechanism. More...
 
constexpr Section c_photons = InputSections::collisionTerm + "Photons"
 Subsection for the photons. More...
 
constexpr Section c_heavyFlavor
 Subsection for heavy flavor. More...
 
constexpr Section c_stringParameters
 Subsection for the string parameters. More...
 
constexpr Section c_stringTransition
 Subsection for the string transition. More...
 
constexpr Section c_hardStringTransition
 Subsection for the hard string transition. More...
 
constexpr Section forcedThermalization {"Forced_Thermalization"}
 Section for the forced thermalization. More...
 
constexpr Section general {"General"}
 General section. More...
 
constexpr Section g_minEnsembles
 Subsection for the minimum-nonempty-ensembles mechanism. More...
 
constexpr Section lattice {"Lattice"}
 Section for the lattice. More...
 
constexpr Section logging {"Logging"}
 Section for the logging. More...
 
constexpr Section modi {"Modi"}
 Section for the modus specific information. More...
 
constexpr Section m_box = InputSections::modi + "Box"
 Subsection for the box modus. More...
 
constexpr Section m_b_jet = InputSections::m_box + "Jet"
 Subsection for the jet in box modus. More...
 
constexpr Section m_collider = InputSections::modi + "Collider"
 Subsection for the collider modus. More...
 
constexpr Section m_c_impact = InputSections::m_collider + "Impact"
 Subsection for the impact information in collider modus. More...
 
constexpr Section m_c_initialConditions
 Subsection for the initial conditions in collider modus. More...
 
constexpr Section m_c_projectile
 Subsection for the projectile in collider modus. More...
 
constexpr Section m_c_p_alphaClustered
 Subsection for the alpha-clustered projectile in collider modus. More...
 
constexpr Section m_c_p_custom
 Subsection for the custom projectile in collider modus. More...
 
constexpr Section m_c_p_deformed
 Subsection for the deformed projectile in collider modus. More...
 
constexpr Section m_c_p_orientation
 Subsection for the projectile orientation in collider modus. More...
 
constexpr Section m_c_target = InputSections::m_collider + "Target"
 Subsection for the target in collider modus. More...
 
constexpr Section m_c_t_alphaClustered
 Subsection for the alpha-clustered target in collider modus. More...
 
constexpr Section m_c_t_custom = InputSections::m_c_target + "Custom"
 Subsection for the custom target in collider modus. More...
 
constexpr Section m_c_t_deformed
 Subsection for the deformed target in collider modus. More...
 
constexpr Section m_c_t_orientation
 Subsection for the target orientation in collider modus. More...
 
constexpr Section m_list = InputSections::modi + "List"
 Subsection for the list modus. More...
 
constexpr Section m_listBox = InputSections::modi + "ListBox"
 Subsection for the list-box modus. More...
 
constexpr Section m_sphere = InputSections::modi + "Sphere"
 Subsection for the sphere modus. More...
 
constexpr Section m_s_jet = InputSections::m_sphere + "Jet"
 Subsection for the jet in sphere modus. More...
 
constexpr Section output {"Output"}
 Section for the output information. More...
 
constexpr Section o_collisions = InputSections::output + "Collisions"
 Subsection for the output collisions content. More...
 
constexpr Section o_coulomb = InputSections::output + "Coulomb"
 Subsection for the output Coulomb content. More...
 
constexpr Section o_dileptons = InputSections::output + "Dileptons"
 Subsection for the output dileptons content. More...
 
constexpr Section o_initialConditions
 Subsection for the output initial conditions content. More...
 
constexpr Section o_particles = InputSections::output + "Particles"
 Subsection for the output particles content. More...
 
constexpr Section o_photons = InputSections::output + "Photons"
 Subsection for the output photons content. More...
 
constexpr Section o_rivet = InputSections::output + "Rivet"
 Subsection for the output Rivet content. More...
 
constexpr Section o_r_weights = InputSections::o_rivet + "Weights"
 Subsection for the output Rivet weights information. More...
 
constexpr Section o_thermodynamics
 Subsection for the output thermodynamics content. More...
 
constexpr Section potentials {"Potentials"}
 Section for the potentials information. More...
 
constexpr Section p_coulomb = InputSections::potentials + "Coulomb"
 Subsection for the Coulomb potentials information. More...
 
constexpr Section p_momentumDependence
 Subsection for the momentum-dependent potentials information. More...
 
constexpr Section p_skyrme = InputSections::potentials + "Skyrme"
 Subsection for the Skyrme potentials information. More...
 
constexpr Section p_symmetry = InputSections::potentials + "Symmetry"
 Subsection for the symmetry potentials information. More...
 
constexpr Section p_vdf = InputSections::potentials + "VDF"
 Subsection for the VDF potentials information. More...
 

Detailed Description

A namespace to keep track of all ever existed sections in the input file.

Note
The naming convention for members of this class is the following: Any subsection variable gets as prefix the first letter of the section it is subsection of. Prefixes are separated by underscores and therefore we use camel-case style in the variable name itself to separate words. This is not consistent with the rest of the codebase, but for a good reason. Also remember that a double underscore is reserved in C++ for the C++ implementation (e.g STL).
Attention
Keep members of such a class in blocks corresponding to sections from the top-level of the file. Keep blocks alphabetically sorted.

Function Documentation

◆ operator+()

constexpr Section smash::InputSections::operator+ ( const Section parent,
std::string_view  child 
)
constexpr

Add a child section to a parent section.

Parameters
parentThe parent section
childThe name of the child section
Returns
The new section

Definition at line 113 of file input_keys.h.

113  {
114  return Section{child, &parent};
115 }

Variable Documentation

◆ collisionTerm

constexpr Section smash::InputSections::collisionTerm {"Collision_Term"}
inlineconstexpr

Section for the collision term.

Definition at line 118 of file input_keys.h.

◆ c_dileptons

constexpr Section smash::InputSections::c_dileptons
inlineconstexpr
Initial value:
=
constexpr Section collisionTerm
Section for the collision term.
Definition: input_keys.h:118

Subsection for the dileptons.

Definition at line 120 of file input_keys.h.

◆ c_pauliBlocking

constexpr Section smash::InputSections::c_pauliBlocking
inlineconstexpr
Initial value:
=
InputSections::collisionTerm + "Pauli_Blocking"

Subsection for the Pauli blocking mechanism.

Definition at line 123 of file input_keys.h.

◆ c_photons

constexpr Section smash::InputSections::c_photons = InputSections::collisionTerm + "Photons"
inlineconstexpr

Subsection for the photons.

Definition at line 126 of file input_keys.h.

◆ c_heavyFlavor

constexpr Section smash::InputSections::c_heavyFlavor
inlineconstexpr
Initial value:
=

Subsection for heavy flavor.

Definition at line 128 of file input_keys.h.

◆ c_stringParameters

constexpr Section smash::InputSections::c_stringParameters
inlineconstexpr
Initial value:
=
InputSections::collisionTerm + "String_Parameters"

Subsection for the string parameters.

Definition at line 131 of file input_keys.h.

◆ c_stringTransition

constexpr Section smash::InputSections::c_stringTransition
inlineconstexpr
Initial value:
=
InputSections::collisionTerm + "String_Transition"

Subsection for the string transition.

Definition at line 134 of file input_keys.h.

◆ c_hardStringTransition

constexpr Section smash::InputSections::c_hardStringTransition
inlineconstexpr
Initial value:
=
InputSections::collisionTerm + "Hard_String_Transition"

Subsection for the hard string transition.

Definition at line 137 of file input_keys.h.

◆ forcedThermalization

constexpr Section smash::InputSections::forcedThermalization {"Forced_Thermalization"}
inlineconstexpr

Section for the forced thermalization.

Definition at line 140 of file input_keys.h.

◆ general

constexpr Section smash::InputSections::general {"General"}
inlineconstexpr

General section.

Definition at line 143 of file input_keys.h.

◆ g_minEnsembles

constexpr Section smash::InputSections::g_minEnsembles
inlineconstexpr
Initial value:
=
InputSections::general + "Minimum_Nonempty_Ensembles"
constexpr Section general
General section.
Definition: input_keys.h:143

Subsection for the minimum-nonempty-ensembles mechanism.

Definition at line 145 of file input_keys.h.

◆ lattice

constexpr Section smash::InputSections::lattice {"Lattice"}
inlineconstexpr

Section for the lattice.

Definition at line 149 of file input_keys.h.

◆ logging

constexpr Section smash::InputSections::logging {"Logging"}
inlineconstexpr

Section for the logging.

Definition at line 152 of file input_keys.h.

◆ modi

constexpr Section smash::InputSections::modi {"Modi"}
inlineconstexpr

Section for the modus specific information.

Definition at line 155 of file input_keys.h.

◆ m_box

constexpr Section smash::InputSections::m_box = InputSections::modi + "Box"
inlineconstexpr

Subsection for the box modus.

Definition at line 157 of file input_keys.h.

◆ m_b_jet

constexpr Section smash::InputSections::m_b_jet = InputSections::m_box + "Jet"
inlineconstexpr

Subsection for the jet in box modus.

Definition at line 159 of file input_keys.h.

◆ m_collider

constexpr Section smash::InputSections::m_collider = InputSections::modi + "Collider"
inlineconstexpr

Subsection for the collider modus.

Definition at line 161 of file input_keys.h.

◆ m_c_impact

constexpr Section smash::InputSections::m_c_impact = InputSections::m_collider + "Impact"
inlineconstexpr

Subsection for the impact information in collider modus.

Definition at line 163 of file input_keys.h.

◆ m_c_initialConditions

constexpr Section smash::InputSections::m_c_initialConditions
inlineconstexpr
Initial value:
=
InputSections::m_collider + "Initial_Conditions"
constexpr Section m_collider
Subsection for the collider modus.
Definition: input_keys.h:161

Subsection for the initial conditions in collider modus.

Definition at line 165 of file input_keys.h.

◆ m_c_projectile

constexpr Section smash::InputSections::m_c_projectile
inlineconstexpr
Initial value:
=

Subsection for the projectile in collider modus.

Definition at line 168 of file input_keys.h.

◆ m_c_p_alphaClustered

constexpr Section smash::InputSections::m_c_p_alphaClustered
inlineconstexpr
Initial value:
=
InputSections::m_c_projectile + "Alpha_Clustered"
constexpr Section m_c_projectile
Subsection for the projectile in collider modus.
Definition: input_keys.h:168

Subsection for the alpha-clustered projectile in collider modus.

Definition at line 171 of file input_keys.h.

◆ m_c_p_custom

constexpr Section smash::InputSections::m_c_p_custom
inlineconstexpr
Initial value:

Subsection for the custom projectile in collider modus.

Definition at line 174 of file input_keys.h.

◆ m_c_p_deformed

constexpr Section smash::InputSections::m_c_p_deformed
inlineconstexpr
Initial value:

Subsection for the deformed projectile in collider modus.

Definition at line 177 of file input_keys.h.

◆ m_c_p_orientation

constexpr Section smash::InputSections::m_c_p_orientation
inlineconstexpr
Initial value:

Subsection for the projectile orientation in collider modus.

Definition at line 180 of file input_keys.h.

◆ m_c_target

constexpr Section smash::InputSections::m_c_target = InputSections::m_collider + "Target"
inlineconstexpr

Subsection for the target in collider modus.

Definition at line 183 of file input_keys.h.

◆ m_c_t_alphaClustered

constexpr Section smash::InputSections::m_c_t_alphaClustered
inlineconstexpr
Initial value:
=
InputSections::m_c_target + "Alpha_Clustered"
constexpr Section m_c_target
Subsection for the target in collider modus.
Definition: input_keys.h:183

Subsection for the alpha-clustered target in collider modus.

Definition at line 185 of file input_keys.h.

◆ m_c_t_custom

constexpr Section smash::InputSections::m_c_t_custom = InputSections::m_c_target + "Custom"
inlineconstexpr

Subsection for the custom target in collider modus.

Definition at line 188 of file input_keys.h.

◆ m_c_t_deformed

constexpr Section smash::InputSections::m_c_t_deformed
inlineconstexpr
Initial value:

Subsection for the deformed target in collider modus.

Definition at line 190 of file input_keys.h.

◆ m_c_t_orientation

constexpr Section smash::InputSections::m_c_t_orientation
inlineconstexpr
Initial value:
=
InputSections::m_c_target + "Orientation"

Subsection for the target orientation in collider modus.

Definition at line 193 of file input_keys.h.

◆ m_list

constexpr Section smash::InputSections::m_list = InputSections::modi + "List"
inlineconstexpr

Subsection for the list modus.

Definition at line 196 of file input_keys.h.

◆ m_listBox

constexpr Section smash::InputSections::m_listBox = InputSections::modi + "ListBox"
inlineconstexpr

Subsection for the list-box modus.

Definition at line 198 of file input_keys.h.

◆ m_sphere

constexpr Section smash::InputSections::m_sphere = InputSections::modi + "Sphere"
inlineconstexpr

Subsection for the sphere modus.

Definition at line 200 of file input_keys.h.

◆ m_s_jet

constexpr Section smash::InputSections::m_s_jet = InputSections::m_sphere + "Jet"
inlineconstexpr

Subsection for the jet in sphere modus.

Definition at line 202 of file input_keys.h.

◆ output

constexpr Section smash::InputSections::output {"Output"}
inlineconstexpr

Section for the output information.

Definition at line 205 of file input_keys.h.

◆ o_collisions

constexpr Section smash::InputSections::o_collisions = InputSections::output + "Collisions"
inlineconstexpr

Subsection for the output collisions content.

Definition at line 207 of file input_keys.h.

◆ o_coulomb

constexpr Section smash::InputSections::o_coulomb = InputSections::output + "Coulomb"
inlineconstexpr

Subsection for the output Coulomb content.

Definition at line 209 of file input_keys.h.

◆ o_dileptons

constexpr Section smash::InputSections::o_dileptons = InputSections::output + "Dileptons"
inlineconstexpr

Subsection for the output dileptons content.

Definition at line 211 of file input_keys.h.

◆ o_initialConditions

constexpr Section smash::InputSections::o_initialConditions
inlineconstexpr
Initial value:
=
InputSections::output + "Initial_Conditions"
constexpr Section output
Section for the output information.
Definition: input_keys.h:205

Subsection for the output initial conditions content.

Definition at line 213 of file input_keys.h.

◆ o_particles

constexpr Section smash::InputSections::o_particles = InputSections::output + "Particles"
inlineconstexpr

Subsection for the output particles content.

Definition at line 216 of file input_keys.h.

◆ o_photons

constexpr Section smash::InputSections::o_photons = InputSections::output + "Photons"
inlineconstexpr

Subsection for the output photons content.

Definition at line 218 of file input_keys.h.

◆ o_rivet

constexpr Section smash::InputSections::o_rivet = InputSections::output + "Rivet"
inlineconstexpr

Subsection for the output Rivet content.

Definition at line 220 of file input_keys.h.

◆ o_r_weights

constexpr Section smash::InputSections::o_r_weights = InputSections::o_rivet + "Weights"
inlineconstexpr

Subsection for the output Rivet weights information.

Definition at line 222 of file input_keys.h.

◆ o_thermodynamics

constexpr Section smash::InputSections::o_thermodynamics
inlineconstexpr
Initial value:
=
InputSections::output + "Thermodynamics"

Subsection for the output thermodynamics content.

Definition at line 224 of file input_keys.h.

◆ potentials

constexpr Section smash::InputSections::potentials {"Potentials"}
inlineconstexpr

Section for the potentials information.

Definition at line 228 of file input_keys.h.

◆ p_coulomb

constexpr Section smash::InputSections::p_coulomb = InputSections::potentials + "Coulomb"
inlineconstexpr

Subsection for the Coulomb potentials information.

Definition at line 230 of file input_keys.h.

◆ p_momentumDependence

constexpr Section smash::InputSections::p_momentumDependence
inlineconstexpr
Initial value:
=
InputSections::potentials + "Momentum_Dependence"
constexpr Section potentials
Section for the potentials information.
Definition: input_keys.h:228

Subsection for the momentum-dependent potentials information.

Definition at line 232 of file input_keys.h.

◆ p_skyrme

constexpr Section smash::InputSections::p_skyrme = InputSections::potentials + "Skyrme"
inlineconstexpr

Subsection for the Skyrme potentials information.

Definition at line 235 of file input_keys.h.

◆ p_symmetry

constexpr Section smash::InputSections::p_symmetry = InputSections::potentials + "Symmetry"
inlineconstexpr

Subsection for the symmetry potentials information.

Definition at line 237 of file input_keys.h.

◆ p_vdf

constexpr Section smash::InputSections::p_vdf = InputSections::potentials + "VDF"
inlineconstexpr

Subsection for the VDF potentials information.

Definition at line 239 of file input_keys.h.