Skip to content
Snippets Groups Projects
Commit f7684dcf authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[FIX] conversion warning

parent ca3bc63f
Branches
No related merge requests found
......@@ -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]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment