00001 /* Copyright (C) 2008 00002 Oliver Lemke <olemke@core-dump.info> 00003 Stefan Buehler <sbuehler@ltu.se> 00004 00005 This program is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU General Public License as published by the 00007 Free Software Foundation; either version 2, or (at your option) any 00008 later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00018 USA. */ 00019 00020 00021 00022 /*=========================================================================== 00023 === File description 00024 ===========================================================================*/ 00025 00039 /*=========================================================================== 00040 === External declarations 00041 ===========================================================================*/ 00042 00043 #include "arts.h" 00044 #include "array.h" 00045 #include "matpackI.h" 00046 #include "matpackII.h" 00047 #include "matpackIII.h" 00048 #include "matpackIV.h" 00049 #include "matpackV.h" 00050 #include "matpackVI.h" 00051 #include "matpackVII.h" 00052 #include "mystring.h" 00053 #include "absorption.h" 00054 #include "gridded_fields.h" 00055 00056 00057 /*=========================================================================== 00058 === The functions (in alphabetical order) 00059 ===========================================================================*/ 00060 00061 00062 /* Workspace method: Doxygen documentation will be auto-generated */ 00063 void ArrayOfGField1Create(// WS Generic Output: 00064 ArrayOfGField1& aogf1 ) 00065 { 00066 aogf1 = ArrayOfGField1(); 00067 } 00068 00069 00070 /* Workspace method: Doxygen documentation will be auto-generated */ 00071 void ArrayOfIndexCreate(// WS Generic Output: 00072 ArrayOfIndex& aoi ) 00073 { 00074 aoi = ArrayOfIndex(); 00075 } 00076 00077 00078 /* Workspace method: Doxygen documentation will be auto-generated */ 00079 void ArrayOfLineRecordCreate(// WS Generic Output: 00080 ArrayOfLineRecord& aolr ) 00081 { 00082 aolr = ArrayOfLineRecord(); 00083 } 00084 00085 00086 /* Workspace method: Doxygen documentation will be auto-generated */ 00087 void ArrayOfLineshapeSpecCreate(// WS Generic Output: 00088 ArrayOfLineshapeSpec& aolsp ) 00089 { 00090 aolsp = ArrayOfLineshapeSpec(); 00091 } 00092 00093 00094 /* Workspace method: Doxygen documentation will be auto-generated */ 00095 void ArrayOfMatrixCreate(// WS Generic Output: 00096 ArrayOfMatrix& aom ) 00097 { 00098 aom = ArrayOfMatrix(); 00099 } 00100 00101 00102 /* Workspace method: Doxygen documentation will be auto-generated */ 00103 void ArrayOfStringCreate(// WS Generic Output: 00104 ArrayOfString& aos ) 00105 { 00106 aos = ArrayOfString(); 00107 } 00108 00109 00110 /* Workspace method: Doxygen documentation will be auto-generated */ 00111 void ArrayOfVectorCreate(// WS Generic Output: 00112 ArrayOfVector& aov ) 00113 { 00114 aov = ArrayOfVector(); 00115 } 00116 00117 00118 /* Workspace method: Doxygen documentation will be auto-generated */ 00119 void GField1Create(// WS Generic Output: 00120 GField1& g ) 00121 { 00122 g = GField1(); 00123 } 00124 00125 /* Workspace method: Doxygen documentation will be auto-generated */ 00126 void GField2Create(// WS Generic Output: 00127 GField2& g ) 00128 { 00129 g = GField2(); 00130 } 00131 00132 /* Workspace method: Doxygen documentation will be auto-generated */ 00133 void GField3Create(// WS Generic Output: 00134 GField3& g ) 00135 { 00136 g = GField3(); 00137 } 00138 00139 /* Workspace method: Doxygen documentation will be auto-generated */ 00140 void GField4Create(// WS Generic Output: 00141 GField4& g ) 00142 { 00143 g = GField4(); 00144 } 00145 00146 00147 /* Workspace method: Doxygen documentation will be auto-generated */ 00148 void IndexCreate(// WS Generic Output: 00149 Index& i ) 00150 { 00151 i = 0; 00152 } 00153 00154 00155 /* Workspace method: Doxygen documentation will be auto-generated */ 00156 void MatrixCreate(// WS Generic Output: 00157 Matrix& m ) 00158 { 00159 m = Matrix(); 00160 } 00161 00162 00163 /* Workspace method: Doxygen documentation will be auto-generated */ 00164 void NumericCreate(// WS Generic Output: 00165 Numeric& n ) 00166 { 00167 n = 0.; 00168 } 00169 00170 00171 /* Workspace method: Doxygen documentation will be auto-generated */ 00172 void SparseCreate(// WS Generic Output: 00173 Sparse& s ) 00174 { 00175 s = Sparse(); 00176 } 00177 00178 00179 /* Workspace method: Doxygen documentation will be auto-generated */ 00180 void StringCreate(// WS Generic Output: 00181 String& s ) 00182 { 00183 s = ""; 00184 } 00185 00186 00187 /* Workspace method: Doxygen documentation will be auto-generated */ 00188 void Tensor3Create(// WS Generic Output: 00189 Tensor3& t ) 00190 { 00191 t = Tensor3(); 00192 } 00193 00194 00195 /* Workspace method: Doxygen documentation will be auto-generated */ 00196 void Tensor4Create(// WS Generic Output: 00197 Tensor4& t ) 00198 { 00199 t = Tensor4(); 00200 } 00201 00202 00203 /* Workspace method: Doxygen documentation will be auto-generated */ 00204 void Tensor5Create(// WS Generic Output: 00205 Tensor5& t _U_ ) 00206 { 00207 t = Tensor5(); 00208 } 00209 00210 00211 /* Workspace method: Doxygen documentation will be auto-generated */ 00212 void Tensor6Create(// WS Generic Output: 00213 Tensor6& t _U_ ) 00214 { 00215 t = Tensor6(); 00216 } 00217 00218 00219 /* Workspace method: Doxygen documentation will be auto-generated */ 00220 void Tensor7Create(// WS Generic Output: 00221 Tensor7& t ) 00222 { 00223 t = Tensor7(); 00224 } 00225 00226 00227 /* Workspace method: Doxygen documentation will be auto-generated */ 00228 void VectorCreate(// WS Generic Output: 00229 Vector& v ) 00230 { 00231 v = Vector(); 00232 } 00233