Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frederik Hennig
waLBerla
Commits
a08b8c30
Commit
a08b8c30
authored
Sep 16, 2021
by
Frederik Hennig
Browse files
Fixed uniform BM data aquisition
parent
82bfb70f
Pipeline
#34258
failed with stages
in 11 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/benchmarks/NonuniformGridGenerated/NonuniformGridCodegenPerformance.cpp
View file @
a08b8c30
...
...
@@ -588,8 +588,6 @@ void run(std::shared_ptr< Config > & config) {
const
uint_t
warmup
=
params
.
getParameter
<
uint_t
>
(
"warmupSteps"
,
uint_c
(
2
));
const
uint_t
vtkWriteFrequency
=
params
.
getParameter
<
uint_t
>
(
"vtkWriteFrequency"
,
uint_c
(
0
));
const
double
remainingTimeLoggerFrequency
=
params
.
getParameter
<
double
>
(
"remainingTimeLoggerFrequency"
,
3.0
);
// in seconds
// Setup Procedure -- make sure the desired geometry is correctly constructed
auto
flowSetup
=
getSetup
(
params
);
...
...
@@ -739,7 +737,13 @@ void run(std::shared_ptr< Config > & config) {
for
(
uint_t
k
=
0
;
k
<=
setupBfs
.
getDepth
();
++
k
){
blocksPerLevel
[
k
]
=
setupBfs
.
getNumberOfBlocks
(
k
);
cellsPerLevel
[
k
]
=
blocksPerLevel
[
k
]
*
totalCellsPerBlock
;
updatesPerRunAndLevel
[
k
]
=
cellsPerLevel
[
k
]
*
stepsPerRun
*
(
uint_t
(
1
)
<<
k
);
if
(
useUniformPackInfo
){
// no temporal refinement done here!
updatesPerRunAndLevel
[
k
]
=
cellsPerLevel
[
k
]
*
stepsPerRun
;
}
else
{
updatesPerRunAndLevel
[
k
]
=
cellsPerLevel
[
k
]
*
stepsPerRun
*
(
uint_t
(
1
)
<<
k
);
}
totalUpdatesPerRun
+=
updatesPerRunAndLevel
[
k
];
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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