Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hyteg
hyteg
Commits
62862d42
Commit
62862d42
authored
Jan 17, 2022
by
Marcel Koch
Browse files
undo walberla changes
parent
549a47ff
Pipeline
#36843
failed with stages
in 13 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/hyteg/primitivestorage/PrimitiveStorage.cpp
View file @
62862d42
...
...
@@ -1683,8 +1683,8 @@ std::string PrimitiveStorage::getGlobalInfo( bool onRootOnly, MPI_Comm comm ) co
const
double
globalAvgNumberOfCells
=
(
double
)
globalNumberOfCells
/
(
double
)
numberOfProcesses
;
const
double
globalAvgNumberOfPrimitives
=
(
double
)
globalNumberOfPrimitives
/
(
double
)
numberOfProcesses
;
walberla
::
math
::
DistributedSample
neighborhoodSample
(
comm
)
;
walberla
::
math
::
DistributedSample
neighborhoodVolumeSample
(
comm
)
;
walberla
::
math
::
DistributedSample
neighborhoodSample
;
walberla
::
math
::
DistributedSample
neighborhoodVolumeSample
;
const
auto
numNeighborProcesses
=
getNeighboringRanks
().
size
();
const
auto
numNeighborVolumeProcesses
=
additionalHaloDepth_
>
0
?
getNeighboringVolumeRanksOfAllVolumes
().
size
()
:
0
;
neighborhoodSample
.
castToRealAndInsert
(
numNeighborProcesses
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment