gas_abs_lookup.cc File Reference

Implementation of scalar gas absorption lookup table functions. More...

#include <cmath>
#include "gas_abs_lookup.h"
#include "interpolation.h"
#include "interpolation_poly.h"
#include "make_vector.h"
#include "logic.h"
#include "check_input.h"
#include "messages.h"
#include "physics_funcs.h"

Include dependency graph for gas_abs_lookup.cc:

Go to the source code of this file.

Functions

void find_new_grid_in_old_grid (ArrayOfIndex &pos, ConstVectorView old_grid, ConstVectorView new_grid)
 Find positions of new grid points in old grid.
ostream & operator<< (ostream &os, const GasAbsLookup &)
 Output operatior for GasAbsLookup.


Detailed Description

Implementation of scalar gas absorption lookup table functions.

Author:
Stefan Buehler <sbuehler@ltu.se>
Date:
Thu Sep 19 17:25:07 2002

Definition in file gas_abs_lookup.cc.


Function Documentation

void find_new_grid_in_old_grid ( ArrayOfIndex pos,
ConstVectorView  old_grid,
ConstVectorView  new_grid 
)

Find positions of new grid points in old grid.

Throw a runtime error if the frequencies of the new grid are not found in the old grid.

Comparison of Numerics is a bit tricky, we use a tolerance of 1Hz here.

Return values:
pos Positions of new grid points in old grid.
Parameters:
old_grid The old grid.
new_grid The new grid.

Definition at line 47 of file gas_abs_lookup.cc.

References abs, Array< base >::nelem(), ConstVectorView::nelem(), and out3.

Referenced by GasAbsLookup::Adapt().

ostream& operator<< ( ostream &  os,
const GasAbsLookup  
)

Output operatior for GasAbsLookup.

Definition at line 1074 of file gas_abs_lookup.cc.


Generated on Mon Mar 23 14:06:35 2009 for ARTS by  doxygen 1.5.6