Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Change the URL source of the images. #117

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/sphinx/source/usage/examples/HexaBeam/hexaBeam.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# HexaBeam
![](https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/269971953c647ca45858ae26512ed17c3f613142/doc/sphinx/source/usage/examples/HexaBeamWithGravity/original_versus_reudced.png)
![](https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/HexaBeam/original_versus_reudced.png)
## Presentation
HexaBeam structures are highly effective at accurately representing the deformations of complex geometries within finite element-based simulations. In this context, we demonstrate model order reduction using a straightforward scenario involving a single beam subjected to gravitational force.

Expand All @@ -17,12 +17,12 @@ We employ our model order reduction to effectively characterize the beam's defor
After applying model order reduction on this scene, the model reduces to one with 24 active nodes and only 3 hexahedra.

**Before**
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/93f264e3edad6e0b4552c2ac9cf4796469c3e16e/doc/sphinx/source/usage/examples/HexaBeamWithGravity/hexaBeam_test_with_boxROI_original.png" alt="Alt Text"> <figcaption> 1000 iterations done in 4.31962 s ( 231.502 FPS).</figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/HexaBeam/hexaBeam_test_with_boxROI_original.png" alt="Alt Text"> <figcaption> 1000 iterations done in 4.31962 s ( 231.502 FPS).</figcaption> </figure>



**After**
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/93f264e3edad6e0b4552c2ac9cf4796469c3e16e/doc/sphinx/source/usage/examples/HexaBeamWithGravity/reduced_test_with_boxROI.png" alt="Alt Text"> <figcaption>1000 iterations done in 0.270993 s ( 3690.13 FPS).</figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/HexaBeam/reduced_test_with_boxROI.png" alt="Alt Text"> <figcaption>1000 iterations done in 0.270993 s ( 3690.13 FPS).</figcaption> </figure>



Expand Down
10 changes: 5 additions & 5 deletions doc/sphinx/source/usage/examples/Liver/liver.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Liver

<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/3c96518c488043997fecb5cb6abaf66a4468bdc4/tools/test/sofa_test_scene/originsl_versus_reduced.png" alt="Alt Text"> <figcaption> From left to right: fine mesh with 4293 nodes; reduced mesh: 40 active nodes and only 10 tetrahedra. </figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/b473fe3f3ebccb752bace0603aa6c2fe1bdc0241/doc/sphinx/source/usage/examples/liverWithRotation/original_versus_reduced.png" alt="Alt Text"> <figcaption> From left to right: fine mesh with 4293 nodes; reduced mesh: with 53 active nodes and only 18 tetrahedra. </figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/Liver/full_versus_reduced_gravity.png" alt="Alt Text"> <figcaption> From left to right: fine mesh with 4293 nodes; reduced mesh: 40 active nodes and only 10 tetrahedra. </figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/Liver/full_versus_reduced_rotation.png" alt="Alt Text"> <figcaption> From left to right: fine mesh with 4293 nodes; reduced mesh: with 53 active nodes and only 18 tetrahedra. </figcaption> </figure>


## Presentation
Expand All @@ -23,17 +23,17 @@ To apply actuation, we utilize a specialized animation function called 'shakingL
In both examples, we use the following mesh with 22019 tetrahedra and 4293 nodes:

**Original Model**
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/a3a587a8457eca9fa18dd1444a7c20a9ba0b8046/tools/test/sofa_test_scene/liverFine_test_with_visual_larg.png" alt="Alt Text"> <figcaption>1000 iterations done in 1612.79 s ( 0.620042 FPS).</figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/Liver/fullModel.png" alt="Alt Text"> <figcaption>1000 iterations done in 1612.79 s ( 0.620042 FPS).</figcaption> </figure>

### Liver Under Gravity
After applying model order reduction on this fine mesh of the liver, the mesh reduces to one with 40 active nodes and only 10 tetrahedra.


**Reduced Model**
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/3a52e852afaff9ac71ebf7602353f369410086d2/tools/test/sofa_test_scene/reduced_test_with_visual_large.png" alt="Alt Text"> <figcaption> 1000 iterations done in 3.80876 s ( 262.553 FPS).</figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/Liver/reducedModel_gravity.png" alt="Alt Text"> <figcaption> 1000 iterations done in 3.80876 s ( 262.553 FPS).</figcaption> </figure>

### Liver With Rotational Actuation
After applying model order reduction on the fine mesh of the liver, the mesh reduces to one with 53 active nodes and only 18 tetrahedra.

**Reduced Model**
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/58d27d84204844609252691f031a656c82427a4e/doc/sphinx/source/usage/examples/liverWithRotation/reduced_pyscn_with_visual_larg.png" alt="Alt Text"> <figcaption>1000 iterations done in 5.79132 s ( 172.672 FPS).</figcaption> </figure>
<figure> <img src="https://raw.githubusercontent.com/SofaDefrost/ModelOrderReduction/master/doc/sphinx/source/usage/examples/Liver/reducedModel_rotation.png" alt="Alt Text"> <figcaption>1000 iterations done in 5.79132 s ( 172.672 FPS).</figcaption> </figure>
Loading