ARTS  2.4.0(git:4fb77825)
LineShape::LegacyPressureBroadeningData Namespace Reference

Legacy dealing with reading old PressureBroadeningData. More...

Enumerations

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

Functions

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

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 1585 of file lineshapemodel.h.

Function Documentation

◆ self_listed()

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

Pressure broadening if self exist.

Definition at line 1616 of file lineshapemodel.h.

References PB_NONE, Species, and QuantumIdentifier::Species().

Referenced by LineShape::from_pressurebroadeningdata().

◆ string2typepb()

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

Pressure broadening types from string.

Definition at line 1598 of file lineshapemodel.h.

References PB_NONE.

Referenced by LineShape::from_pressurebroadeningdata().

◆ typepb2nelem()

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

Pressure broadening types to number of elements.

Definition at line 1634 of file lineshapemodel.h.

References PB_NONE.

Referenced by LineShape::from_pressurebroadeningdata().

◆ vector2modelpb()

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

LineShape::Model from legacy input vector.

Definition at line 322 of file lineshapemodel.cc.

References LineShape::Model::Data(), and ARTS::Var::x().

Referenced by LineShape::from_pressurebroadeningdata().