diff --git a/tests/lbm/codegen/FluctuatingMRT.cpp b/tests/lbm/codegen/FluctuatingMRT.cpp index f7657d25953b6a18f334e49b7d9f7137cd9e566f..342d2d4236e01cffede917dbfa537280dcd5d64c 100644 --- a/tests/lbm/codegen/FluctuatingMRT.cpp +++ b/tests/lbm/codegen/FluctuatingMRT.cpp @@ -89,9 +89,7 @@ int main( int argc, char ** argv ) timeloop.add() << BeforeFunction( [&](){ latticeModel.time_step_ = uint32_c(timeloop.getCurrentTimeStep()); }, "set RNG counter" ) << Sweep( [&]( IBlock * block ){ auto field = block->getData< PdfField_T >( pdfFieldId ); - field->resetLatticeModel( latticeModel ); - field->latticeModel().configure( *block, *blocks ); - WALBERLA_ASSERT_EQUAL( field->latticeModel().time_step_, latticeModel.time_step_ ); + field->latticeModel().time_step_ = latticeModel.time_step_; }, "set RNG counter" ); // add LBM sweep and communication to time loop timeloop.add() << BeforeFunction( communication, "communication" )