From 03403ae79fe0fe416f51cbe92a2ca871846466c2 Mon Sep 17 00:00:00 2001 From: Sebastian Eibl <sebastian.eibl@fau.de> Date: Fri, 22 Mar 2019 10:36:38 +0100 Subject: [PATCH] fixed some spelling --- src/pe/amr/InfoCollection.cpp | 11 ++++++++--- src/pe/amr/InfoCollection.h | 9 +++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/pe/amr/InfoCollection.cpp b/src/pe/amr/InfoCollection.cpp index dced160b3..6f19bd8f9 100644 --- a/src/pe/amr/InfoCollection.cpp +++ b/src/pe/amr/InfoCollection.cpp @@ -29,7 +29,9 @@ namespace walberla { namespace pe { -void createWithNeighborhoodLocalShadow(const BlockForest& bf, const BlockDataID storageID, InfoCollection& ic ) +void createWithNeighborhoodLocalShadow( const BlockForest& bf, + const BlockDataID storageID, + InfoCollection& ic ) { ic.clear(); @@ -87,7 +89,10 @@ void createWithNeighborhoodLocalShadow(const BlockForest& bf, const BlockDataID } } -void createWithNeighborhoodContacts(BlockForest& bf, const BlockDataID storageID, const BlockDataID fcdID, InfoCollection& ic ) +void createWithNeighborhoodContactsShadow( BlockForest& bf, + const BlockDataID storageID, + const BlockDataID fcdID, + InfoCollection& ic ) { ic.clear(); @@ -95,7 +100,7 @@ void createWithNeighborhoodContacts(BlockForest& bf, const BlockDataID storageID for (auto blockIt = bf.begin(); blockIt != bf.end(); ++blockIt) { - blockforest::Block* block = static_cast<blockforest::Block*> (&(*blockIt)); + blockforest::Block* block = static_cast<blockforest::Block*> (&(*blockIt)); Storage const * storage = block->getData< Storage >( storageID ); BodyStorage const & shadowStorage = (*storage)[StorageType::SHADOW]; fcd::IFCD * fcd = block->getData< fcd::IFCD >( fcdID ); diff --git a/src/pe/amr/InfoCollection.h b/src/pe/amr/InfoCollection.h index 4830ba543..b8df5f46c 100644 --- a/src/pe/amr/InfoCollection.h +++ b/src/pe/amr/InfoCollection.h @@ -39,7 +39,9 @@ typedef std::pair<blockforest::BlockID, BlockInfo> InfoCollectionPair; * The number of shadow particles is used as the communication weight. * */ -void createWithNeighborhoodLocalShadow(const BlockForest& bf, const BlockDataID storageID, InfoCollection& ic ); +void createWithNeighborhoodLocalShadow( const BlockForest& bf, + const BlockDataID storageID, + InfoCollection& ic ); /** * @brief Fills \a InfoCollection with up to date information. @@ -48,7 +50,10 @@ void createWithNeighborhoodLocalShadow(const BlockForest& bf, const BlockDataID * The number of shadow particles is used as the communication weight. * */ -void createWithNeighborhoodContactsShadow(const BlockForest& bf, const BlockDataID storageID, const BlockDataID fcdID, InfoCollection& ic ); +void createWithNeighborhoodContactsShadow( BlockForest& bf, + const BlockDataID storageID, + const BlockDataID fcdID, + InfoCollection& ic ); } } -- GitLab