ARTS 2.5.11 (git: 6827797f)
Absorption::LineMixing::PopulationAndDipole Struct Reference

Contains the population distribution and dipole. More...

#include <linemixing.h>

Public Member Functions

 PopulationAndDipole (const Numeric T, const AbsorptionLines &band)
 
ArrayOfIndex sort (const AbsorptionLines &band) noexcept
 
void sort (const ArrayOfIndex &presorting) noexcept
 

Public Attributes

Vector pop
 
Vector dip
 

Detailed Description

Contains the population distribution and dipole.

Definition at line 44 of file linemixing.h.

Constructor & Destructor Documentation

◆ PopulationAndDipole()

Absorption::LineMixing::PopulationAndDipole::PopulationAndDipole ( const Numeric  T,
const AbsorptionLines band 
)

Member Function Documentation

◆ sort() [1/2]

ArrayOfIndex Absorption::LineMixing::PopulationAndDipole::sort ( const AbsorptionLines band)
noexcept

Sort self by f0*pop*dip^2 and returns positions of sorted values in the original

Parameters
[in]bandThe absorption band
Returns
Reshuffling of positions from [0 ... N-1] to new positions

Definition at line 200 of file linemixing.cc.

References Array< base >::nelem(), and Math::pow2().

Referenced by Absorption::LineMixing::presorted_population_and_dipole(), and Absorption::LineMixing::sorted_population_and_dipole().

◆ sort() [2/2]

void Absorption::LineMixing::PopulationAndDipole::sort ( const ArrayOfIndex presorting)
noexcept

Sort self by pre-sorted sorting mechanism

Parameters
[in]presortingChanges positions from [0 ... N-1] to presorting positions

Definition at line 229 of file linemixing.cc.

Member Data Documentation

◆ dip

Vector Absorption::LineMixing::PopulationAndDipole::dip

Definition at line 46 of file linemixing.h.

Referenced by PopulationAndDipole().

◆ pop

Vector Absorption::LineMixing::PopulationAndDipole::pop

Definition at line 45 of file linemixing.h.

Referenced by PopulationAndDipole().


The documentation for this struct was generated from the following files: