Commit db334439 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

dof dim?

parent ca51b221
......@@ -56,13 +56,13 @@ struct PlotMap : public std::map<int, Plot *> {
}
string checkData(const SampleSolution &dataToPlot) {
return dataToPlot.U.dof::Name();
return dataToPlot.U.Name();
}
void VtkPlot(const SampleSolution &dataToPlot) {
string dataType = checkData(dataToPlot);
int level = GetLevelInteger(dataToPlot);
int dataDim = dataToPlot.U.dof::size();
int dataDim = dataToPlot.U.DoFDim(); // todo this is most likely another size() now
UpdateDirectory(dataToPlot);
UpdateMap(level, dataToPlot.U.GetMesh());
if (dataType.find(LagrangeDoF(1).Name()) != -1) {
......
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