File tree Expand file tree Collapse file tree 3 files changed +22
-20
lines changed
examples/Components/linearsolver Expand file tree Collapse file tree 3 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 22 <RequiredPlugin name="SofaBoundaryCondition"/>
33 <RequiredPlugin name="SofaImplicitOdeSolver"/>
44 <RequiredPlugin name="SofaSimpleFem"/>
5- <RequiredPlugin name="SofaSparseSolver"/>
65
76 <VisualStyle displayFlags="showBehaviorModels showForceFields" />
87
1110
1211 <Node name="M1">
1312 <EulerImplicitSolver name="odesolver" rayleighStiffness="0.1" rayleighMass="0.1" />
14- <CGLinearSolver iterations="1000" threshold="1e-5 " tolerance="1e-5 "/>
13+ <CGLinearSolver template="CompressedRowSparseMatrixMat3x3d" iterations="1000" threshold="1e-9 " tolerance="1e-9 "/>
1514 <MechanicalObject />
1615 <UniformMass vertexMass="1" />
1716 <RegularGridTopology nx="4" ny="4" nz="20" xmin="-9" xmax="-6" ymin="0" ymax="3" zmin="0" zmax="19" />
Original file line number Diff line number Diff line change 1+ <Node name="root" dt="0.02" gravity="0 -10 0">
2+ <RequiredPlugin name="SofaBoundaryCondition"/>
3+ <RequiredPlugin name="SofaImplicitOdeSolver"/>
4+ <RequiredPlugin name="SofaSimpleFem"/>
5+ <RequiredPlugin name="SofaGeneralLinearSolver"/>
6+
7+ <VisualStyle displayFlags="showBehaviorModels showForceFields" />
8+
9+ <DefaultAnimationLoop/>
10+ <DefaultVisualManagerLoop/>
11+
12+ <Node name="M1">
13+ <EulerImplicitSolver name="odesolver" rayleighStiffness="0.1" rayleighMass="0.1" />
14+ <MinResLinearSolver template="GraphScattered" iterations="1000" tolerance="1e-9" />
15+ <MechanicalObject />
16+ <UniformMass vertexMass="1" />
17+ <RegularGridTopology nx="4" ny="4" nz="20" xmin="-9" xmax="-6" ymin="0" ymax="3" zmin="0" zmax="19" />
18+ <FixedConstraint indices="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15" />
19+ <HexahedronFEMForceField name="FEM" youngModulus="4000" poissonRatio="0.3" method="large" />
20+ </Node>
21+ </Node>
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments