-
Notifications
You must be signed in to change notification settings - Fork 9
/
DataCollector.cpp
43 lines (36 loc) · 1.2 KB
/
DataCollector.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "DataCollector.h"
namespace Daetk
{
DataCollector::DataCollector():
analyticSolution(0),
analyticSolutionAvailable(false)
{
Tracer("DataCollector::DataCollector()");
}
DataCollector::~DataCollector()
{
Tracer("DataCollector::~DataCollector()");
}
void DataCollector::setAnalyticSolution(bool (*aS)(const real& t,Vec& solution))
{
analyticSolutionAvailable = true;
analyticSolution = aS;
}
void DataCollector::startUserStep(){}
void DataCollector::endUserStep(){}
void DataCollector::functionEvaluation(){}
void DataCollector::jacobianEvaluation(){}
void DataCollector::linearSolverIteration(){}
void DataCollector::setLinearSolverIterations(int i){}
int DataCollector::getLinearSolverIterations(){return 0;}
void DataCollector::nonlinearSolverIteration(){}
void DataCollector::lineSearch(){}
void DataCollector::stepTaken(int,real, real, real){}
void DataCollector::stepTaken(int,real, real, real, real, real, real){}
void DataCollector::includeSolution(const real&,const Vec&){}
void DataCollector::errorFailure(){}
void DataCollector::nonlinearSolverFailure(){}
void DataCollector::linearSolverFailure(){}
void DataCollector::conditionNumber(real& k){}
void DataCollector::reset(){}
}//Daetk