Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Die Konto der externen Nutzer:innen sind ü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. The accounts of external users can be accessed via the "Standard" tab. The administrators

Commit 80a33364 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'feature/tree_container' into 'master'

correct boundary condition treecontainer access

See merge request !194
parents 98d84228 31bc0cd2
Pipeline #4521 failed with stage
in 14 seconds
......@@ -308,10 +308,10 @@ addDirichletBC(Predicate const& predicate, RowTreePath row, ColTreePath col, Val
"Function passed to addDirichletBC for `predicate` does not model the Functor<bool(WorldVector)> concept");
auto localView = globalBasis_->localView();
auto i = child(localView.tree(), makeTreePath(row));
auto j = child(localView.tree(), makeTreePath(col));
auto rowBasis = Dune::Functions::subspaceBasis(*globalBasis_, makeTreePath(row));
auto colBasis = Dune::Functions::subspaceBasis(*globalBasis_, makeTreePath(col));
auto i = makeTreePath(row);
auto j = makeTreePath(col);
auto rowBasis = Dune::Functions::subspaceBasis(*globalBasis_, i);
auto colBasis = Dune::Functions::subspaceBasis(*globalBasis_, j);
auto valueGridFct = makeGridFunction(values, this->gridView());
......@@ -328,10 +328,10 @@ void ProblemStat<Traits>::
addDirichletBC(BoundaryType id, RowTreePath row, ColTreePath col, Values const& values)
{
auto localView = globalBasis_->localView();
auto i = child(localView.tree(), makeTreePath(row));
auto j = child(localView.tree(), makeTreePath(col));
auto rowBasis = Dune::Functions::subspaceBasis(*globalBasis_, makeTreePath(row));
auto colBasis = Dune::Functions::subspaceBasis(*globalBasis_, makeTreePath(col));
auto i = makeTreePath(row);
auto j = makeTreePath(col);
auto rowBasis = Dune::Functions::subspaceBasis(*globalBasis_, i);
auto colBasis = Dune::Functions::subspaceBasis(*globalBasis_, j);
auto valueGridFct = makeGridFunction(values, this->gridView());
......@@ -349,7 +349,7 @@ addPeriodicBC(BoundaryType id, WorldMatrix const& matrix, WorldVector const& vec
auto basis = Dune::Functions::subspaceBasis(*globalBasis_, treepath());
auto bc = makePeriodicBC<SystemMatrix, SolutionVector, SystemVector>(
std::move(basis), {*boundaryManager_, id}, {matrix, vector});
boundaryConditions_[localView.tree()][localView.tree()].push_back(makeUniquePtr(std::move(bc)));
boundaryConditions_[treepath()][treepath()].push_back(makeUniquePtr(std::move(bc)));
}
......
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