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
Dominik Mehlich
waLBerla
Commits
f7684dcf
Commit
f7684dcf
authored
Oct 07, 2019
by
Sebastian Eibl
Browse files
[FIX] conversion warning
parent
ca3bc63f
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/tutorials/mesa_pd/01_MESAPD.cpp
View file @
f7684dcf
...
...
@@ -87,6 +87,8 @@ data::ParticleStorage::iterator createSphere( data::ParticleStorage& ps,
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
walberla
::
mesa_pd
;
//! [Parameters]
Environment
env
(
argc
,
argv
);
WALBERLA_UNUSED
(
env
);
...
...
@@ -237,7 +239,7 @@ int main( int argc, char ** argv )
accessor
);
walberla
::
mpi
::
reduceInplace
(
meanVelocity
,
walberla
::
mpi
::
SUM
);
meanVelocity
/=
numParticles
;
meanVelocity
/=
real_c
(
numParticles
)
;
WALBERLA_LOG_INFO_ON_ROOT
(
"mean velocity: "
<<
meanVelocity
);
//! [PostProcessing]
...
...
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