Commit 3526bb0b authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

demo for polarization ordering

parent 86fcec75
......@@ -95,10 +95,11 @@ Flag BaseProblem<ProblemType>::initDataFromFile(AdaptInfo *adaptInfo)
if (!file_exists(filename))
throw(std::runtime_error("The file '" + filename + "' does not exist!"));
std::vector<DOFVector<double>*> solutions;
for (int i = 0; i < prob->getNumComponents(); i++)
solutions.push_back(prob->getSolution()->getDOFVector(i));
ArhReader::read(filename, prob->getMesh(), solutions);
// std::vector<DOFVector<double>*> solutions;
// for (int i = 0; i < prob->getNumComponents(); i++)
// solutions.push_back(prob->getSolution()->getDOFVector(i));
// ArhReader::read(filename, prob->getMesh(), solutions);
readFile(filename, prob->getSolution());
}
else if (readFormat == "dat")
{
......
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