ARTS  2.2.66
linemixingrecord.h
Go to the documentation of this file.
1 /* Copyright 2013, The ARTS Developers.
2  *
3  * This program is free software; you can redistribute it and/or modify it
4  * under the terms of the GNU General Public License as published by the
5  * Free Software Foundation; either version 2, or (at your option) any
6  * later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software Foundation,
15  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16  */
17 
24 #ifndef linemixingrecord_h
25 #define linemixingrecord_h
26 
27 #include <iostream>
28 #include "matpackI.h"
29 #include "quantum.h"
30 #include "abs_species_tags.h"
31 
32 
34 {
35 public:
38 
39  Index Species() const { return mspecies; }
40  Index Isotopologue() const { return misotopologue; }
41 
43  const QuantumNumberRecord& Quantum() const { return mquantum; }
44 
45  Vector& Data() { return mdata; }
46  const Vector& Data() const { return mdata; }
47 
48 private:
57 };
58 
59 std::ostream& operator<<(std::ostream& os, const LineMixingRecord& lmr);
60 
63 
64 #endif /* linemixingrecord_h */
LineMixingRecord::mspecies
Index mspecies
Species index.
Definition: linemixingrecord.h:50
LineMixingRecord::LineMixingRecord
LineMixingRecord()
Definition: linemixingrecord.h:36
LineMixingRecord::Data
Vector & Data()
Definition: linemixingrecord.h:45
ArrayOfLineMixingRecord
Array< LineMixingRecord > ArrayOfLineMixingRecord
Definition: linemixingrecord.h:61
LineMixingRecord::Quantum
const QuantumNumberRecord & Quantum() const
Definition: linemixingrecord.h:43
ArrayOfArrayOfLineMixingRecord
Array< ArrayOfLineMixingRecord > ArrayOfArrayOfLineMixingRecord
Definition: linemixingrecord.h:62
LineMixingRecord::Species
Index Species() const
Definition: linemixingrecord.h:39
quantum.h
Classes to handle quantum numbers.
LineMixingRecord::LineMixingRecord
LineMixingRecord(Index species, Index iso)
Definition: linemixingrecord.h:37
LineMixingRecord
Definition: linemixingrecord.h:34
LineMixingRecord::Quantum
QuantumNumberRecord & Quantum()
Definition: linemixingrecord.h:42
matpackI.h
Array
This can be used to make arrays out of anything.
Definition: array.h:107
LineMixingRecord::Data
const Vector & Data() const
Definition: linemixingrecord.h:46
LineMixingRecord::Isotopologue
Index Isotopologue() const
Definition: linemixingrecord.h:40
iso
void iso(Array< IsotopologueRecord >::iterator &ii, String name, const ArrayOfNumeric &coeff, const Index &coefftype)
Definition: partition_function_data.cc:937
operator<<
std::ostream & operator<<(std::ostream &os, const LineMixingRecord &lmr)
Definition: linemixingrecord.cc:27
abs_species_tags.h
Header file for stuff related to absorption species tags.
LineMixingRecord::misotopologue
Index misotopologue
Isotopologue index.
Definition: linemixingrecord.h:52
LineMixingRecord::mdata
Vector mdata
Line mixing data.
Definition: linemixingrecord.h:56
QuantumNumberRecord
Record containing upper and lower quantum numbers.
Definition: quantum.h:94
Index
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:35
Vector
The Vector class.
Definition: matpackI.h:556
LineMixingRecord::mquantum
QuantumNumberRecord mquantum
Quantum Numbers.
Definition: linemixingrecord.h:54