ReFRACtor
aerosol_property_hdf.h
Go to the documentation of this file.
1 #ifndef AEROSOL_PROPERTY_HDF_H
2 #define AEROSOL_PROPERTY_HDF_H
4 #include "hdf_file.h"
5 #include "linear_interpolate.h"
7 #include <boost/shared_ptr.hpp>
8 
9 namespace FullPhysics {
10 /****************************************************************/
23 public:
24  AerosolPropertyHdf(const HdfFile& F, const std::string& Group_name,
25  const boost::shared_ptr<Pressure>& Press);
26  virtual ~AerosolPropertyHdf() {}
30  const boost::shared_ptr<RelativeHumidity>& Rh) const;
32  const;
34  const;
35  virtual ArrayAd<double, 3>
36  phase_function_moment_each_layer(double wn, int nmom = -1,
37  int nscatt = -1) const;
38  virtual void print(std::ostream& Os) const;
39 private:
43  std::string hdf_file, hdf_group;
44 };
45 }
46 #endif
virtual ArrayAd< double, 3 > phase_function_moment_each_layer(double wn, int nmom=-1, int nscatt=-1) const
Return phase function moments for the given wave number for each layer.
AerosolPropertyHdf(const HdfFile &F, const std::string &Group_name, const boost::shared_ptr< Pressure > &Press)
Read the given group in the given file for the aerosol properties.
This gives the Aerosol properties for an Aerosol.
As a design principle, we have each base class with the absolutely minimum interface needed for use f...
This class reads and writes a HDF5 file.
Definition: hdf_file.h:39
virtual ArrayAd< double, 1 > extinction_coefficient_each_layer(double wn) const
Return extinction coefficient for the given wave number, for each layer.
virtual void print(std::ostream &Os) const
Print to stream.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual boost::shared_ptr< AerosolProperty > clone() const
Clone a AerosolProperty object.
virtual ArrayAd< double, 1 > scattering_coefficient_each_layer(double wn) const
Return scattering coefficient for the given wave number for each layer.

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