ReFRACtor
connor_iteration_log.h
Go to the documentation of this file.
1 #ifndef CONNOR_ITER_LOG_H
2 #define CONNOR_ITER_LOG_H
3 #include "connor_solver.h"
4 #include "state_vector.h"
5 #include "logger.h"
6 
7 namespace FullPhysics {
8 /****************************************************************/
18  class ConnorIterationLog : public Printable<ConnorIterationLog>, public Observer<ConnorSolver> {
19  public:
20  static const int SV_PRINT_WIDTH = 17;
21 
23 
24  void notify_update(const ConnorSolver& solver);
25 
26  virtual void print(std::ostream& Os) const { Os << "ConnorIterationLog";}
27  private:
29 };
30 }
31 #endif
ConnorIterationLog(const boost::shared_ptr< StateVector > &Sv)
virtual void print(std::ostream &Os) const
This is an observer of the ConnorSolver that writes out the state vector values in a nicely formated ...
void notify_update(const ConnorSolver &solver)
Called when the Observed object is updated.
This is a Mixin for classes that can be printed.
Definition: printable.h:24
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
Simple Mixin to be and Observer of another object of class T.
Definition: observer.h:29

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