ReFRACtor
cost_func.cc
Go to the documentation of this file.
1 #include <cost_func.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 CostFunc::message_str() const
15 {
16  switch( mssg ) {
17  case SOLVED: return "SOLVED";
18  case ERROR: return "ERROR";
19  default: return "NONE";
20  }
21 }
The base class for all problem classes that implement a cost function.
Definition: cost_func.h:20
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
The problem is solved.
Definition: cost_func.h:40
There is an error in the problem.
Definition: cost_func.h:41
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
virtual const char *const message_str() const
Returns the string version of the problem message.
Definition: cost_func.cc:14

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