Skip to content
Snippets Groups Projects
Commit 09c7bde2 authored by podlesny's avatar podlesny
Browse files

fix Aii

parent 89533f11
Branches
No related tags found
No related merge requests found
......@@ -248,9 +248,11 @@ auto coordinateRestriction(const GlobalShiftedFunctional& f, const Index& i)
Dune::MatrixVector::addProduct(ri, maxEig, origini);
Aii = 0;
//print(Aii, "Aii: ");
for (size_t j=0; j<Aii.N(); j++) {
Aii[j] = maxEig;
Aii[j][j] = maxEig;
}
//print(Aii, "Aii: ");
//print(*Aii_p, "Aii_p:");
//print(ri, "ri:");
......@@ -266,6 +268,8 @@ auto coordinateRestriction(const GlobalShiftedFunctional& f, const Index& i)
dui -= origini;
return Functional<decltype(Aii), LocalVector, decltype(phii), LocalLowerObstacle, LocalUpperObstacle, Range>(Aii, std::move(ri), phii, std::move(dli), std::move(dui));
//return ShiftedFunctional<decltype(Aii), LocalVector, decltype(phii), LocalLowerObstacle, LocalUpperObstacle, LocalVector, Range>(Aii, std::move(ri), phii, std::move(dli), std::move(dui), origini);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment