ReFRACtor
iterative_solver.cc
Go to the documentation of this file.
1 #include <iterative_solver.h>
2 
3 using namespace FullPhysics;
4 
5 
6 #ifdef HAVE_LUA
7 #include "register_lua.h"
10 #endif
11 
12 
13 
14 const char * const IterativeSolver::status_str() const
15 {
16  switch( stat ) {
17  case SUCCESS: return "SUCCESS";
18  case CONTINUE: return "CONTINUE";
19  case STALLED: return "STALLED";
20  case ERROR: return "ERROR";
21  case UNTRIED: return "UNTRIED";
22  }
23  return "UNKNOWN";
24 }
virtual const char *const status_str() const
Returns the string version of the solver status.
solve method called but an error was encountered
solve method called and a solution found
solve method was called but stalled
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
solve method called but did not converge to a solution
solve method not called yet
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
The base class for all iterative optimizers.

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