| 244 | #endif // MOVING_BOUNDARIES |
| 245 | #ifdef PARTICLES |
| 246 | void LBM_Domain::enqueue_integrate_particles(const uint time_step_multiplicator) { // intgegrate particles forward in time and couple particles to fluid |
| 247 | #ifdef FORCE_FIELD |
| 248 | if(particles_rho!=1.0f) kernel_reset_force_field.enqueue_run(); // only reset force field if particles have buoyancy and apply forces on fluid |
| 249 | kernel_integrate_particles.set_parameters(5u, fx, fy, fz); |
| 250 | #endif // FORCE_FIELD |
| 251 | kernel_integrate_particles.set_parameters(3u, (float)time_step_multiplicator).enqueue_run(); |
| 252 | } |
| 253 | #endif // PARTICLES |
| 254 | |
| 255 | void LBM_Domain::increment_time_step(const ulong steps) { |
no outgoing calls
no test coverage detected