Commit 0b2d2a12 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Work on pdd.

parent fec8463a
......@@ -323,14 +323,15 @@ namespace AMDiS {
std::string numberedName = "";
for (int i = 0; i < nComponents; i++) {
(*systemMatrix)[i][i] = new DOFMatrix(componentSpaces[i],
componentSpaces[i], "A_ii");
componentSpaces[i], "A_ii");
(*systemMatrix)[i][i]->setCoupleMatrix(false);
sprintf(number, "[%d]", i);
numberedName = "rhs" + std::string(number);
rhs->setDOFVector(i, new DOFVector<double>(componentSpaces[i], numberedName));
numberedName = name + std::string(number);
solution->setDOFVector(i, new DOFVector<double>(componentSpaces[i],
numberedName));
solution->setDOFVector(i, new DOFVector<double>(componentSpaces[i],
numberedName));
solution->getDOFVector(i)->setCoarsenOperation(COARSE_INTERPOL);
solution->getDOFVector(i)->set(0.0);
}
......
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