From b19be4c28f6404346c480f188793f9f9bfcc5fd8 Mon Sep 17 00:00:00 2001 From: podlesny <podlesny@zedat.fu-berlin.de> Date: Thu, 15 Mar 2018 16:51:51 +0100 Subject: [PATCH] . --- src/spatial-solving/fixedpointiterator.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/spatial-solving/fixedpointiterator.cc b/src/spatial-solving/fixedpointiterator.cc index 7b70ca59..1d475684 100644 --- a/src/spatial-solving/fixedpointiterator.cc +++ b/src/spatial-solving/fixedpointiterator.cc @@ -125,8 +125,6 @@ void FixedPointIterator<Factory, Updaters, ErrorNorm>::relativeVelocities(std::v using field_type = typename Factory::Matrix::field_type; - - // adaptation of DualMortarCoupling::setup() const size_t dim = DeformedGrid::dimension; @@ -147,10 +145,14 @@ void FixedPointIterator<Factory, Updaters, ErrorNorm>::relativeVelocities(std::v gridFunctions[i] = new BasisGridFunction<MyAssembler::VertexBasis, Vector>(assemblers[i]->vertexBasis, v_m[i]); } - const auto& contactCouplings = nBodyAssembler_.getContactCouplings(); - for (size_t i=0; i<contactCouplings.size(); i++) { - auto contactCoupling = contactCouplings[i]; - auto glue = contactCoupling->getGlue(); + /* + for (size_t i=0; i<nBodyAssembler_.nCouplings(); i++) { + const auto& coupling = nBodyAssembler_.getCoupling(i); + auto glue = coupling.backend(); + + const std::array<int, 2> gridIdx = coupling.gridIdx_; + const int nonmortarGridIdx = ; + const int mortarGridIdx = ; // loop over all intersections for (const auto& rIs : intersections(glue)) { @@ -288,7 +290,7 @@ void FixedPointIterator<Factory, Updaters, ErrorNorm>::relativeVelocities(std::v } } } - + */ } -- GitLab