Skip to content
Snippets Groups Projects

[freeflow][l2error] Get analytical solution from the corresponding function

Merged Melanie Lipp requested to merge feature/freeflow_l2error_warning into master
All threads resolved!
Files
3
@@ -174,7 +174,7 @@ public:
}
/*!
* \brief Returns the analytical solution of the problem at a given position.
* \brief Returns the analytical solution of the problem at a given time and position.
*
* \param globalPos The global position
* \param time The current simulation time
@@ -195,6 +195,16 @@ public:
return values;
}
/*!
* \brief Returns the analytical solution of the problem at a given position.
*
* \param globalPos The global position
*/
PrimaryVariables analyticalSolution(const GlobalPosition& globalPos) const
{
return analyticalSolution(globalPos, time_+timeStepSize_);
}
// \}
/*!
Loading