ReFRACtor
stokes_coefficient.h
Go to the documentation of this file.
1 #ifndef STOKES_COEFFICIENT_H
2 #define STOKES_COEFFICIENT_H
4 #include "observer.h"
5 #include "array_ad.h"
6 
7 namespace FullPhysics {
8 /****************************************************************/
12 class StokesCoefficient : virtual public StateVectorObserver,
13  public Observable<StokesCoefficient> {
14 public:
15  virtual ~StokesCoefficient() {}
17  { add_observer_do(Obs, *this);}
19  { remove_observer_do(Obs, *this);}
20 
21 //-----------------------------------------------------------------------
29 //-----------------------------------------------------------------------
30 
31  virtual ArrayAd<double, 2> stokes_coefficient() const = 0;
32 
33 //-----------------------------------------------------------------------
40 //-----------------------------------------------------------------------
41 
42  virtual boost::shared_ptr<StokesCoefficient> clone() const = 0;
43 };
44 }
45 #endif
virtual ArrayAd< double, 2 > stokes_coefficient() const =0
Return Stokes coefficients used to go from Stokes vector to scalar reflectance.
This class maintains the stokes coefficient portion of the state.
void add_observer_do(Observer< StokesCoefficient > &Obs, StokesCoefficient &t)
Add an observer.
Definition: observer.h:148
virtual boost::shared_ptr< StokesCoefficient > clone() const =0
Clone a StokesCoefficient object.
This is an observer of a StateVector.
void remove_observer_do(Observer< StokesCoefficient > &Obs, StokesCoefficient &t)
Remove an observer.
Definition: observer.h:173
virtual void remove_observer(Observer< StokesCoefficient > &Obs)
Remove an observer.
Mixin for a class that allows other classes to observe it state.
Definition: observer.h:12
virtual void add_observer(Observer< StokesCoefficient > &Obs)
Add an observer.
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