ARTS 2.5.11 (git: 6827797f)
LineShape::LegacyPressureBroadeningData Namespace Reference

Legacy dealing with reading old PressureBroadeningData. More...

Enumerations

enum class  TypePB { PB_NONE , PB_AIR_BROADENING , PB_AIR_AND_WATER_BROADENING , PB_PLANETARY_BROADENING }
 Pressure broadening types that used to exist. More...
 

Functions

LegacyPressureBroadeningData::TypePB string2typepb (String type)
 Pressure broadening types from string.
 
Index self_listed (const QuantumIdentifier &qid, LegacyPressureBroadeningData::TypePB t)
 Pressure broadening if self exist.
 
constexpr Index typepb2nelem (LegacyPressureBroadeningData::TypePB type)
 Pressure broadening types to number of elements.
 
void vector2modelpb (LineShape::Type &mtype, bool &self, bool &bath, Model &m, ArrayOfSpecies &species, Vector x, LegacyPressureBroadeningData::TypePB type, bool self_in_list, Species::Species self_spec)
 LineShape::Model from legacy input vector.
 

Detailed Description

Legacy dealing with reading old PressureBroadeningData.

Enumeration Type Documentation

◆ TypePB

Pressure broadening types that used to exist.

Enumerator
PB_NONE 
PB_AIR_BROADENING 
PB_AIR_AND_WATER_BROADENING 
PB_PLANETARY_BROADENING 

Definition at line 928 of file lineshapemodel.h.

Function Documentation

◆ self_listed()

Index LineShape::LegacyPressureBroadeningData::self_listed ( const QuantumIdentifier qid,
LegacyPressureBroadeningData::TypePB  t 
)

Pressure broadening if self exist.

Definition at line 1280 of file lineshapemodel.cc.

References PB_AIR_AND_WATER_BROADENING, PB_PLANETARY_BROADENING, and Quantum::Number::GlobalState::Species().

◆ string2typepb()

LegacyPressureBroadeningData::TypePB LineShape::LegacyPressureBroadeningData::string2typepb ( String  type)

Pressure broadening types from string.

Definition at line 1266 of file lineshapemodel.cc.

References ARTS_USER_ERROR, PB_AIR_AND_WATER_BROADENING, PB_AIR_BROADENING, PB_NONE, and PB_PLANETARY_BROADENING.

◆ typepb2nelem()

constexpr Index LineShape::LegacyPressureBroadeningData::typepb2nelem ( LegacyPressureBroadeningData::TypePB  type)
constexpr

Pressure broadening types to number of elements.

Definition at line 950 of file lineshapemodel.h.

References PB_AIR_AND_WATER_BROADENING, PB_AIR_BROADENING, PB_NONE, and PB_PLANETARY_BROADENING.

◆ vector2modelpb()

void LineShape::LegacyPressureBroadeningData::vector2modelpb ( LineShape::Type &  mtype,
bool &  self,
bool &  bath,
Model m,
ArrayOfSpecies species,
Vector  x,
LegacyPressureBroadeningData::TypePB  type,
bool  self_in_list,
Species::Species  self_spec 
)

LineShape::Model from legacy input vector.

Definition at line 278 of file lineshapemodel.cc.

References LineShape::Model::Data().