Commit a9eb516e authored by Praetorius, Simon's avatar Praetorius, Simon

some new baseproblems

parent 84c343fc
......@@ -449,6 +449,17 @@ namespace AMDiS {
{
return scalContents[index]->est_t_sum;
}
/// Returns \ref est_t the estimated overall time error
inline double getTimeEst()
{
return est_t;
}
inline void setTimeEst(double value)
{
est_t = value;
}
/// Returns \ref spaceTolerance.
inline double getSpaceTolerance(int index)
......@@ -792,6 +803,9 @@ namespace AMDiS {
/// Is true, if the time adaption is controlled by a Rosenbrock Method.
bool rosenbrockMode;
/// overall time error estimate
double est_t;
};
}
......
......@@ -65,7 +65,7 @@ namespace AMDiS {
/// Initialisation of the problem.
virtual void initialize(Flag initFlag,
CouplingProblemStatImpl<ProblemStatType> *adoptProblem = NULL,
ProblemStatSeq *adoptProblem = NULL,
Flag adoptFlag = INIT_NOTHING)
{
......@@ -76,8 +76,8 @@ namespace AMDiS {
if (!adoptProblem)
createRefCoarseManager();
else {
refinementManager = adoptProblem->refinementManager;
coarseningManager = adoptProblem->coarseningManager;
refinementManager = adoptProblem->getRefinementManager();
coarseningManager = adoptProblem->getCoarseningManager();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment