Loading docs/source/ParticleBasics.rst +7 −4 Original line number Diff line number Diff line Loading @@ -26,9 +26,9 @@ During the DES steps, particle positions are updated using the <https://amrex-codes.github.io/MFIX-Exa/doxygen/class_m_f_i_x_particle_container.html#a158f3f5fa11c262ad6a9909b40a5cd13>`_ method. It's structure is: .. highlight:: c++ :: .. code-block:: c++ :linenos: :emphasize-lines: 29-39, 42-45 // Set time-step size (subdt) and number (numbsebsteps) for the DES steps des_init_time_loop( &time, &dt, &nsubsteps, &subdt, &subdt_io ); Loading Loading @@ -67,7 +67,8 @@ method. It's structure is: calc_particle_collisions(particles , &nrp, neighbors[index].dataPtr() , &size_ng, neighbor_list[index].dataPtr(), &size_nl, tow[index].dataPtr(), fc[index].dataPtr(), &subdt, &ncoll); tow[index].dataPtr(), fc[index].dataPtr(), &subdt, &ncoll); } // Move particles based on velocities and forces Loading @@ -75,3 +76,5 @@ method. It's structure is: &ntot, tow[index].dataPtr(), fc[index].dataPtr(), &subdt, &xlen, &ylen, &zlen, &stime, &n); } where the highlighted lines are responsible for moving the particles. Loading
docs/source/ParticleBasics.rst +7 −4 Original line number Diff line number Diff line Loading @@ -26,9 +26,9 @@ During the DES steps, particle positions are updated using the <https://amrex-codes.github.io/MFIX-Exa/doxygen/class_m_f_i_x_particle_container.html#a158f3f5fa11c262ad6a9909b40a5cd13>`_ method. It's structure is: .. highlight:: c++ :: .. code-block:: c++ :linenos: :emphasize-lines: 29-39, 42-45 // Set time-step size (subdt) and number (numbsebsteps) for the DES steps des_init_time_loop( &time, &dt, &nsubsteps, &subdt, &subdt_io ); Loading Loading @@ -67,7 +67,8 @@ method. It's structure is: calc_particle_collisions(particles , &nrp, neighbors[index].dataPtr() , &size_ng, neighbor_list[index].dataPtr(), &size_nl, tow[index].dataPtr(), fc[index].dataPtr(), &subdt, &ncoll); tow[index].dataPtr(), fc[index].dataPtr(), &subdt, &ncoll); } // Move particles based on velocities and forces Loading @@ -75,3 +76,5 @@ method. It's structure is: &ntot, tow[index].dataPtr(), fc[index].dataPtr(), &subdt, &xlen, &ylen, &zlen, &stime, &n); } where the highlighted lines are responsible for moving the particles.