/[ascend]/trunk/pygtk/interface/solverreporter.cpp
ViewVC logotype

Contents of /trunk/pygtk/interface/solverreporter.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 379 - (show annotations) (download) (as text)
Wed Mar 15 12:48:03 2006 UTC (13 years, 10 months ago) by johnpye
File MIME type: text/x-c++src
File size: 457 byte(s)
Ensuring that plugins contain no undefined symbols (for the sake of Windows).
Rearranging and commending error.c slightly.
Removing some debug output in solverreporter.
1 #include "solverreporter.h"
2 #include <iostream>
3 using namespace std;
4
5 SolverReporter::SolverReporter(){
6 // nothing
7 }
8
9 SolverReporter::~SolverReporter(){
10 // nothing
11 }
12
13 int
14 SolverReporter::report(SolverStatus *status){
15 // cerr << "Iteration: " << status->getIterationNum() << endl;
16 return 0;
17 }
18
19 void
20 SolverReporter::finalise(SolverStatus *status){
21 if(status->isConverged()){
22 cerr << "Converged" << endl;
23 }else{
24 cerr << "Not converged" << endl;
25 }
26 }

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22