summaryrefslogtreecommitdiff
path: root/src/refinement/coupler2D.hh
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-14 15:42:21 +0100
committerAdrian Kummerlaender2019-06-24 15:17:09 +0200
commit9546a228faa725df3a1956995f5c247ac8c79f51 (patch)
tree623dcd1f37a98630ee6ca98e4fe18d993b27284a /src/refinement/coupler2D.hh
parentdd658eec1f3d716fa18ceb990b924b38721ecdeb (diff)
downloadgrid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.tar
grid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.tar.gz
grid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.tar.bz2
grid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.tar.lz
grid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.tar.xz
grid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.tar.zst
grid_refinement_openlb-9546a228faa725df3a1956995f5c247ac8c79f51.zip
Remove unnecessary managed pointers
Diffstat (limited to 'src/refinement/coupler2D.hh')
-rw-r--r--src/refinement/coupler2D.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/refinement/coupler2D.hh b/src/refinement/coupler2D.hh
index 1d773f3..3bd2b2f 100644
--- a/src/refinement/coupler2D.hh
+++ b/src/refinement/coupler2D.hh
@@ -75,7 +75,7 @@ Coupler2D<T,DESCRIPTOR>::Coupler2D(Grid2D<T,DESCRIPTOR>& coarse, Grid2D<T,DESCRI
_physOrigin = coarseGeometry.getPhysR(tmpLatticeOrigin.toStdVector());
const T deltaX = _fine.getConverter().getPhysDeltaX();
- const Vector<T,2> stepPhysR = _vertical ? Vector<T,2>{0, deltaX} : Vector<T,2>{deltaX, 0};
+ const Vector<T,2> stepPhysR = _vertical ? Vector<T,2> {0, deltaX} : Vector<T,2> {deltaX, 0};
for (int i=0; i < _fineSize; ++i) {
if (i % 2 == 0) {
@@ -186,7 +186,7 @@ void FineCoupler2D<T,DESCRIPTOR>::couple()
Cell<T,DESCRIPTOR> cell;
fineLattice.get(finePos, cell);
for (int iPop=0; iPop < DESCRIPTOR<T>::q; ++iPop) {
- cell[iPop] = fEq[iPop] + this->getScalingFactor() * _c2f_fneq[y][iPop];
+ cell[iPop] = fEq[iPop] + this->getScalingFactor() * _c2f_fneq[y][iPop];
}
fineLattice.set(finePos, cell);
}
@@ -309,7 +309,7 @@ void computeRestrictedFneq(const SuperLattice2D<T,DESCRIPTOR>& lattice,
T restrictedFneq[DESCRIPTOR<T>::q])
{
for (int iPop=0; iPop < DESCRIPTOR<T>::q; ++iPop) {
- const auto neighbor = latticeR + Vector<int,3>{0, DESCRIPTOR<T>::c[iPop][0], DESCRIPTOR<T>::c[iPop][1]};
+ const auto neighbor = latticeR + Vector<int,3> {0, DESCRIPTOR<T>::c[iPop][0], DESCRIPTOR<T>::c[iPop][1]};
Cell<T,DESCRIPTOR> cell;
lattice.get(neighbor, cell);