From 1cd55db89a0cd14e4e10748ce916312a30300491 Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Tue, 22 Sep 2020 10:48:07 +0200 Subject: [PATCH] small fix to satisfy the CI tests. --- apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp b/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp index 44ad274c6..78723495f 100644 --- a/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp +++ b/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp @@ -68,8 +68,7 @@ typedef lbm::CumulantMRTNoSlip NoSlip_T; /// Shear Flow Velocity Initialization /// ////////////////////////////////////////// -void initShearFlowVelocityField(const shared_ptr< StructuredBlockForest >& blocks, - const BlockDataID& velocityFieldId, +void initShearFlowVelocityField(const shared_ptr< StructuredBlockForest >& blocks, const BlockDataID& velocityFieldId, const Config::BlockHandle& config) { math::RealRandom< real_t > rng(config.getParameter< std::mt19937::result_type >("noiseSeed", 42)); @@ -182,7 +181,7 @@ int main(int argc, char** argv) timeloop.addFuncAfterTimeStep(timing::RemainingTimeLogger(timeloop.getNrOfTimeSteps(), remainingTimeLoggerFrequency), "remaining time logger"); - int vtkWriteFrequency = 100; + uint_t vtkWriteFrequency = uint_c(100); if (vtkWriteFrequency > 0) { const std::string path = "vtk_out/tut03"; -- GitLab