MCPcopy Create free account
hub / github.com/ProjectPhysX/FluidX3D / enqueue_integrate_particles

Method enqueue_integrate_particles

src/lbm.cpp:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244#endif // MOVING_BOUNDARIES
245#ifdef PARTICLES
246void 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
255void LBM_Domain::increment_time_step(const ulong steps) {

Callers 2

do_time_stepMethod · 0.80
integrate_particlesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected