Skip to content

Commit abc947c

Browse files
committed
ident fixed
1 parent 3ef37a9 commit abc947c

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

fluids/tutorial.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,15 @@ In CMakeLists.txt, the cuda compiler might need graphics card specific flags:
9292
### Some code explanation:
9393

9494
* The world plugin `FluidWorldPlugin.cc`:
95-
96-
* in the constructor the fluid engine is initialized
97-
* in `FluidWorldPlugin::Load` the sdf parameters are loaded, the fluid world is created, fluid is added, the objects from the environment are recreated in the fluid environment (when possible)
98-
* in `FluidWorldPlugin::Init` the publishers of the objects and fluids particles positions are initialized
99-
* `FluidWorldPlugin::OnUpdate` is called every world update event, there the fluid engine is updated one timestamp, a msg is sent for the rendering plugin with all the new particles position, and computed forces and torques are applied on the rigid objects.
95+
* in the constructor the fluid engine is initialized
96+
* in `FluidWorldPlugin::Load` the sdf parameters are loaded, the fluid world is created, fluid is added, the objects from the environment are recreated in the fluid environment (when possible)
97+
* in `FluidWorldPlugin::Init` the publishers of the objects and fluids particles positions are initialized
98+
* `FluidWorldPlugin::OnUpdate` is called every world update event, there the fluid engine is updated one timestamp, a msg is sent for the rendering plugin with all the new particles position, and computed forces and torques are applied on the rigid objects.
10099

101100
* The system plugin `FluidVisPlugin.cc`, used for rendering the fluid:
102-
103-
* in `FluidVisPlugin::Load` the arguments (if given) are loaded for the type of rendering, `sphere` or default `point`. When sphere is selected the rendering gets slower if many particles are loaded.
104-
* in `FluidVisPlugin::Init` the subscribes for the fluid particle positions are loaded.
105-
* in `FluidVisPlugin::RenderAsPointsUpdate` or `FluidVisPlugin::RenderAsSpheresUpdate`, (depending on the rendering type) if a new message with the particle positions is available, these will be rendered.
101+
* in `FluidVisPlugin::Load` the arguments (if given) are loaded for the type of rendering, `sphere` or default `point`. When sphere is selected the rendering gets slower if many particles are loaded.
102+
* in `FluidVisPlugin::Init` the subscribes for the fluid particle positions are loaded.
103+
* in `FluidVisPlugin::RenderAsPointsUpdate` or `FluidVisPlugin::RenderAsSpheresUpdate`, (depending on the rendering type) if a new message with the particle positions is available, these will be rendered.
106104

107105
* The fluid simulation engine `FluidEngine.cu` is similar to the SPH example from Fluidix.
108106

0 commit comments

Comments
 (0)