ReFRACtor
pressure.cc
Go to the documentation of this file.
1 #include "pressure.h"
2 
3 using namespace FullPhysics;
4 #ifdef HAVE_LUA
5 #include "register_lua.h"
7 .def("max_number_level", &Pressure::max_number_level)
8 .def("pressure_grid", &Pressure::pressure_grid)
10 #endif
11 
12 //-----------------------------------------------------------------------
17 //-----------------------------------------------------------------------
18 
20 {
22  return p(p.rows() - 1);
23 }
This is a AutoDerivative that also has units associated with it.
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
AutoDerivativeWithUnit< double > surface_pressure() const
Return surface pressure, which is just the pressure at the bottom level of pressure_grid.
Definition: pressure.cc:19
This class maintains the pressure portion of the state.
Definition: pressure.h:32
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
#define REGISTER_LUA_END()
Definition: register_lua.h:134
virtual ArrayAdWithUnit< double, 1 > pressure_grid() const =0
This returns the pressure grid to use for layer retrieval, along with the gradient of each of the pre...
virtual int max_number_level() const
The maximum number of levels that we can have.
Definition: pressure.h:79

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10