ReFRACtor
ground.h
Go to the documentation of this file.
1 #ifndef GROUND_H
2 #define GROUND_H
4 #include "observer.h"
5 #include "auto_derivative.h"
6 
7 namespace FullPhysics {
8 /****************************************************************/
22 class Ground : virtual public StateVectorObserver,
23  public Observable<Ground> {
24 public:
25  virtual ~Ground() {}
26  virtual void add_observer(Observer<Ground>& Obs)
27  { add_observer_do(Obs, *this);}
28  virtual void remove_observer(Observer<Ground>& Obs)
29  { remove_observer_do(Obs, *this);}
30 
31 //-----------------------------------------------------------------------
36 //-----------------------------------------------------------------------
37 
39  (const double wn, const int spec_index) const = 0;
40 
41 //-----------------------------------------------------------------------
48 //-----------------------------------------------------------------------
49 
50  virtual boost::shared_ptr<Ground> clone() const = 0;
51 
52 };
53 }
54 #endif
void add_observer_do(Observer< Ground > &Obs, Ground &t)
Add an observer.
Definition: observer.h:148
virtual void remove_observer(Observer< Ground > &Obs)
Remove an observer.
Definition: ground.h:28
This is an observer of a StateVector.
virtual void add_observer(Observer< Ground > &Obs)
Add an observer.
Definition: ground.h:26
void remove_observer_do(Observer< Ground > &Obs, Ground &t)
Remove an observer.
Definition: observer.h:173
virtual ~Ground()
Definition: ground.h:25
This class maintains the ground portion of the state.
Definition: ground.h:22
virtual ArrayAd< double, 1 > surface_parameter(const double wn, const int spec_index) const =0
Surface parmeters.
Mixin for a class that allows other classes to observe it state.
Definition: observer.h:12
virtual boost::shared_ptr< Ground > clone() const =0
Clone a Ground object.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1

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