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 fc378565 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

corrections in VtkVectorWriter

parent caee5088
......@@ -78,7 +78,7 @@ namespace AMDiS {
bool writeParallel,
bool writeAs3dVector)
{
DOFVector<std::vector<double> > *newValues = new DOFVector<std::vector<double> >(values[0]->getFeSpace(), "values");
DOFVector<std::vector<double> > *newValues = new DOFVector<std::vector<double> >(values[0]->getFeSpace(), values[0]->getName());
std::vector<DOFIterator<double>* > iterators;
for (size_t i = 0; i < values.size(); i++)
iterators.push_back(new DOFIterator<double>(values[i],USED_DOFS));
......@@ -110,7 +110,7 @@ namespace AMDiS {
bool writeParallel,
bool writeAs3dVector)
{
DOFVector<WorldVector<double> > *newValues = new DOFVector<WorldVector<double> >(values[0]->getFeSpace(), "values");
DOFVector<WorldVector<double> > *newValues = new DOFVector<WorldVector<double> >(values[0]->getFeSpace(), values[0]->getName());
WorldVector<DOFIterator<double>* > iterators;
for (size_t i = 0; i < static_cast<size_t>(values.getSize()); i++)
iterators[i] = new DOFIterator<double>(values[i],USED_DOFS);
......@@ -139,7 +139,7 @@ namespace AMDiS {
bool writeParallel,
bool writeAs3dVector)
{
DOFVector<std::vector<double> > *newValues = new DOFVector<std::vector<double> >(values->getDOFVector(0)->getFeSpace(), "values");
DOFVector<std::vector<double> > *newValues = new DOFVector<std::vector<double> >(values->getDOFVector(0)->getFeSpace(), values->getName());
std::vector<DOFIterator<double>* > iterators;
for (size_t i = 0; i < static_cast<size_t>(values->getSize()); i++)
iterators.push_back(new DOFIterator<double>(values->getDOFVector(i),USED_DOFS));
......
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