Source
* RefractiveIndexProfileTest: P: 543.967 mb T: 268.706 K Thickness: 175.101 m WaterVapor: 0.000703854 kg m-3 WaterVapor: 2.35517e+22 m-3 CO: 1.90629e+18 m-3 O3: 5.58954e+17 m-3 N2O: 4.68575e+18 m-3<br>
/*******************************************************************************
* ALMA - Atacama Large Millimeter Array
* (c) Instituto de Estructura de la Materia, 2011
* (in the framework of the ALMA collaboration).
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*******************************************************************************/
using namespace std;
using namespace atm;
/** \brief A C++ main code to test the <a href="classatm_1_1RefractiveIndexProfile.html">RefractiveIndexProfile</a> Class
*
* The test is structured as follows:
* - Creates an object called "myProfile" belonging to the <a href="classatm_1_1AtmProfile.html">AtmProfile</a> Class. This object
* is the same created in <a href="AtmProfileTest_8cpp.html">AtmProfileTest.cpp</a>
* - A single frequency is defined (850 GHz).
* - A refractive index profile for 850 GHz and "myProfile" is constructed using a constructor in the form
* <a href="classatm_1_1RefractiveIndexProfile.html#z8_0">RefractiveIndexProfile (Frequency frequency, AtmProfile atmProfile)</a>.
* - Several test are then preformed on this created RefractiveIndexProfile object (called "myRefractiveIndexProfile")
* are then performed and written on the screen.
*
* The output of this test is the following:
*
* <b>
* RefractiveIndexProfileTest: BASIC ATMOSPHERIC PARAMETERS TO GENERATE REFERENCE ATMOSPHERIC PROFILE<br>
* <br>
* RefractiveIndexProfileTest: Ground temperature T: 270 K<br>
* RefractiveIndexProfileTest: Ground pressure P: 560 mb<br>