Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ void CompositeLinearSystem<TMatrix, TVector>::init()
}
}
}

if (!this->isComponentStateInvalid())
{
this->d_matrixChanged.setParent(&l_solverLinearSystem->d_matrixChanged);
}
}

template <class TMatrix, class TVector>
Expand Down
4 changes: 1 addition & 3 deletions examples/Component/LinearSystem/CompositeLinearSystem.scn
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
<RequiredPlugin pluginName="Sofa.Component.Topology.Container.Grid"/> <!-- Needed to use components [RegularGridTopology] -->
<RequiredPlugin pluginName="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
<RequiredPlugin pluginName="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
<RequiredPlugin pluginName="SofaMatrix.Qt"/> <!-- Needed to use components [GlobalSystemMatrixImage] -->
<RequiredPlugin pluginName="SofaMatrix"/> <!-- Needed to use components [GlobalSystemMatrixImage] -->

<VisualStyle displayFlags="showBehaviorModels showWireframe" />

<DefaultAnimationLoop/>
<DefaultVisualManagerLoop/>

<DefaultVisualManagerLoop/>

<Node name="node">
<EulerImplicitSolver name="odesolver" rayleighStiffness="0.1" rayleighMass="0.1" />

Expand Down
1 change: 1 addition & 0 deletions examples/RegressionStateScenes.regression-tests
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Component/LinearSolver/Preconditioner/FEMBAR_PCG_NoPreconditioner.scn 100 1e-8 0
Component/LinearSolver/Preconditioner/FEMBAR_PCG_PrecomputedWarpPreconditioner.scn 100 1e-8 0 1
Component/LinearSolver/Preconditioner/FEMBAR_PCG_SSORPreconditioner.scn 100 1e-8 0 1
Component/LinearSolver/Preconditioner/FEMBAR_PCG_WarpPreconditioner.scn 100 1e-8 0 1
Component/LinearSystem/CompositeLinearSystem.scn 100 1e-8 0 1
Component/Mapping/NonLinear/DistanceMapping.scn 100 1e-8 0 1
Component/Mapping/NonLinear/DistanceMultiMapping.scn 100 1e-8 0 1
Component/Mapping/NonLinear/SquareDistanceMapping.scn 100 1e-8 0 1
Expand Down
Loading