-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SofaSparseSolver] Clean examples scenes of sparse linear solvers (#2422
) * [SofaSparseSolver] Remove scenes as their equivalent are in examples\Components\linearsolver * [examples] Add example for PrecomputedLinearSolver * [examples] Add example for SVDLinearSolver * [SofaSparseSolver] msg_info without parameter * Cleaning * [examples] Speed up the example using multithreading * Turn multithreading on * [examples] Run only a few iterations to test FEMBAR-SVDLinearSolver.scn * Lower number of iterations * Clean scenes Remove collision components Add a scene for CGLinearSolver Set the right RequiredPlugin * ignore FEMBAR-SVDLinearSolver.scn on the CI
- Loading branch information
Showing
13 changed files
with
97 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
...seSolver/examples/FEM_SparseLDLSolver.scn → ...ts/linearsolver/FEMBAR-CGLinearSolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 11 additions & 14 deletions
25
examples/Components/linearsolver/FEMBAR-PCGLinearSolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
examples/Components/linearsolver/FEMBAR-PrecomputedLinearSolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Node name="root" dt="0.02" gravity="0 -10 0"> | ||
<RequiredPlugin name="SofaBoundaryCondition"/> | ||
<RequiredPlugin name="SofaImplicitOdeSolver"/> | ||
<RequiredPlugin name="SofaSimpleFem"/> | ||
<RequiredPlugin name="SofaSparseSolver"/> | ||
|
||
<VisualStyle displayFlags="showBehaviorModels showForceFields" /> | ||
|
||
<DefaultAnimationLoop/> | ||
<DefaultVisualManagerLoop/> | ||
|
||
<Node name="M1"> | ||
<EulerImplicitSolver name="odesolver" rayleighStiffness="0.1" rayleighMass="0.1" /> | ||
<PrecomputedLinearSolver/> | ||
<MechanicalObject /> | ||
<UniformMass vertexMass="1" /> | ||
<RegularGridTopology nx="4" ny="4" nz="20" xmin="-9" xmax="-6" ymin="0" ymax="3" zmin="0" zmax="19" /> | ||
<FixedConstraint indices="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15" /> | ||
<HexahedronFEMForceField name="FEM" youngModulus="400000" poissonRatio="0.3" method="large" /> | ||
</Node> | ||
</Node> |
19 changes: 11 additions & 8 deletions
19
...rseSolver/examples/FEM_SparseLUSolver.scn → ...s/linearsolver/FEMBAR-SVDLinearSolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 10 additions & 13 deletions
23
examples/Components/linearsolver/FEMBAR-SparseCholeskySolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 10 additions & 13 deletions
23
examples/Components/linearsolver/FEMBAR-SparseLDLSolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 10 additions & 13 deletions
23
examples/Components/linearsolver/FEMBAR-SparseLUSolver.scn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
modules/SofaSparseSolver/examples/FEM_SparseCholeskySolver.scn
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters