Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Ein Anmelden über dieses erzeugt ein neues Konto. Das alte Konto ist über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. Logging in via this will create a new account. The old account can be accessed via the "Standard" tab. The administrators

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