Commit f78c3f6
committed
Squashed commit of the following:
commit d1d4ee8
Author: Hugo <hugo.talbot@sofa-framework.org>
Date: Wed Apr 2 15:31:53 2025 +0200
[examples] Minor update default scene (sofa-framework#5373)
Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
commit 7ae2862
Author: Hugo <hugo.talbot@sofa-framework.org>
Date: Wed Apr 2 15:30:58 2025 +0200
[Mapping] Remove warning in DistanceToPlaneMapping_test.cpp (sofa-framework#5374)
Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
commit 82b05c6
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Wed Apr 2 15:29:27 2025 +0200
[CMake] Fetch in build dir instead of source to avoid lots of cmake errors (sofa-framework#5332)
* Fetch in build dir instead of source to avoid lots of cmake errors
* Use sofa_add_generic in macros instead of sofa_add_subdirectory, because it makes no sense + remove deprecated macros
* Fix reference handling
* Fix topology regression
* Remove plugisn directory ans set everything in the cmakelist
* Fix config
commit c038c1d
Author: Frederick Roy <fredroy@users.noreply.github.com>
Date: Mon Mar 31 16:53:03 2025 +0900
[Examples] Add an option to (not) build SimpleAPI examples (sofa-framework#5362)
* add an option to build simplapi examples
* add option in presets
---------
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
commit b5afc3f
Author: Frederick Roy <fredroy@users.noreply.github.com>
Date: Mon Mar 31 16:31:36 2025 +0900
[All] Fix warnings (sofa-framework#5369)
* remove nagging deprecation warnings
* remove trivial warnings
commit 5179ed3
Author: Hugo <hugo.talbot@sofa-framework.org>
Date: Fri Mar 28 09:20:18 2025 +0100
[all] Lifecycle : Disable SOFA_ATTRIBUTE_DEPRECATED (sofa-framework#5360)
* [all] Lifecycle : Disable SOFA_ATTRIBUTE_DEPRECATED
* forgotten PartialFixedConstraint.h
commit 8f8989f
Author: Alex Bilger <alxbilger@users.noreply.github.com>
Date: Fri Mar 28 06:58:56 2025 +0100
[GUI.Common] Clean and fix MouseOperation (sofa-framework#5336)
* fix typo
* propagate fix typo
* minimal cleaning + variable initialization
* fix function return
* fix compilation for clang
---------
Co-authored-by: Frederick Roy <froy@lnrobo.com>
commit 3f98c18
Author: Hugo <hugo.talbot@sofa-framework.org>
Date: Fri Mar 28 02:24:30 2025 +0100
[examples] Fix wrong topology Data arrays on the surface mesh in HexahedralFEMForceField.scn (sofa-framework#5367)
* Update HexahedralFEMForceField.scn
* Update HexahedralFEMForceField.scn
---------
Co-authored-by: erik pernod <erik.pernod@gmail.com>
commit 80fa9d7
Author: Frederick Roy <fredroy@users.noreply.github.com>
Date: Thu Mar 27 17:29:13 2025 +0900
[CMake] Remove references to deleted projects/option (sofa-framework#5361)
remove references to deleted stuff
Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
commit 688cd89
Author: Frederick Roy <fredroy@users.noreply.github.com>
Date: Thu Mar 27 16:46:31 2025 +0900
[CMake] Fix install process with default option SOFA_INSTALL_RESOURCES_FILES (sofa-framework#5363)
* remove install of now-externalized sofa-launcher
* Update CMakeLists.txt
commit c7807fc
Author: Hugo <hugo.talbot@sofa-framework.org>
Date: Thu Mar 27 04:37:18 2025 +0100
[all] Lifecycle : Remove SOFA_ATTRIBUTE_DISABLED, forgotten files (sofa-framework#5359)
commit 183fee1
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Wed Mar 26 21:02:30 2025 +0100
[CMake] Remove compatibility layer in macro (sofa-framework#5349)
Remove compatibility layer meant for SOFA modules
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
commit a86f468
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Wed Mar 26 19:17:28 2025 +0100
[All] Spring cleaning 5: reduce size of ressources (sofa-framework#5341)
* Remove unused heavy mesh files + some config files + unused behavior models
* Restore needed raw file
* restore missing file
---------
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
commit 878d3e9
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Wed Mar 26 17:37:08 2025 +0100
[Tutorials] Spring cleaning 3: remove old c++ tutorials (sofa-framework#5339)
* delete old tutorials and exctract the two missing examples and implement them in xml
* Fix cmake config
* Add version of fallingBeam in SimpleAPI
* Add GUI but not working...
* Gui fixed
* Fix config file in current dir
* fix constraint attach button
commit 2ed5cf2
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Wed Mar 26 16:04:14 2025 +0100
[All] Spring cleaning 1: clean main & tools directories (sofa-framework#5325)
* Clean main directory + tools directory by removing unused stuff
* Take comment into account
commit 1c8cf17
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Wed Mar 26 16:03:13 2025 +0100
[examples] Propose a new default scene (sofa-framework#5324)
* Propose a new simple default scene
* some perf improvements
* Set it as the default scene
* Reduce timestep to get better dynamic
* Add regression test
* Add required plugins to try to fix regression
* Add comments as requested
* Apply suggestions from code review
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
* Apply suggestions from code review
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
---------
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
commit 95cb283
Author: Alex Bilger <alxbilger@users.noreply.github.com>
Date: Wed Mar 26 14:03:28 2025 +0100
[ODESolver] Introduction of generic Newton-Raphson algorithm (sofa-framework#5173)
* introduce files for NewtonRaphsonSolver
* start implementation
* move into Core
* create module for integration methods
* files for backward euler
* register objects
* function to get matrices factors
* start computation of right-hand side
* matrix factors
* start manipulation of vectors
* some comments
* rhs input
* apply projective
* compute error
* introduce first convergence criterion
* introduce example
* start the loop
* fix convergence criterion
* solve system
* update state
* some comments
* another simpler example
* fix intermediateVelocity
* check for convergence
* fix force computation
* fix some vector operations
* fix mass factor
* adjust parameters
* clear debug stuff
* cleaning
* show iteration count in the failing case
* implement line search
* support no line search with nb iter = 0
* Rayleigh damping
* extract force from the input because it's not an input
* update the scenes
* compute true residual
* implementation of relative stopping criteria
* rename
* implement relative successive stopping criteria
* compare to initial guess (not the first iteration)
* implement absolute estimate difference criterion
* implement relative estimate difference criterion
* update scenes
* test and feedback on convergence
* fix
* fix modules
* test another form
* missing test
* remove duplicated test
* refactor state list
* move convergence criteria in files
* try to fix algorithm
* add residual graph
* don't add residual if line search failed
* fix
* Introduce static solver
* Move integration method into Sofa.Component.ODESolver.Backward
* introduce ode solvers
* New design working with scalar in tests and in the static solver
* work on linear multi step
* add comments
* Remove Static (which is replaced by StaticOdeSolver)
* introduction of BDF2
* Introduce unique component for BDF
* cleaning and fix
* revert unnecessary
* clean and comments
* show squared
* more details
* implement line search with prediction
* data to warn or not
* fix static
* stopping criteria group
* test on coefficients
* callback on the order
* cleaning
* make sure order is >0
* remove backup
* restore alpha=1 after failed line search
* restore absolute estimate difference
* restore relative estimate difference measure
* remove static solver
* speed up the solver
* remove static solver scene
* Apply suggestions from code review
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
---------
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
commit 5ceafe0
Author: Hugo <hugo.talbot@sofa-framework.org>
Date: Wed Mar 26 09:11:00 2025 +0100
[all] Lifecycle : Remove SOFA_ATTRIBUTE_DEPRECATED (part 2) (sofa-framework#5347)
* Remove SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA_IN_IO_MESH
* Remove SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA_IN_VISUAL
* Remove SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA_IN_SETTING
* Cleaning : remove unnecessary includes
* forgotten VEC3STATE_AS_VISUALSTATE
* Remove SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA_IN_PLAYBACK
* fix compilation
* Remove SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA_IN_TOPOLOGY_CONTAINER_DYNAMIC
* Remove SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA_IN_ENGINE_GENERATE
* Remove ALL SOFA_ATTRIBUTE_DEPRECATED__RENAME_DATA*
* Disabling all v24.12 SOFA_ATTRIBUTE_DEPRECATED
* Disable all SOFA_HEADER_DEPRECATED and Fix older lifecycle forgotten
* Disable all SOFA_ATTRIBUTE_DEPRECATED
* forgotten setOriginalData
* complete removal of SparseCommon.cpp
* remove SOFAGENERALLOADER_HAVE_ZLIB compat
* Remove RemovedData d_draw
* fix compilation
* Fix PluginManager_Test
* Fix all uses of vec_id
* Fix compilation: macro didn't exists
* Fix scenes using plane definition in TrianglePressureForceField
---------
Co-authored-by: Frederick Roy <froy@lnrobo.com>
Co-authored-by: Paul Baksic <paul.baksic@outlook.fr>
Co-authored-by: Frederick Roy <fredroy@users.noreply.github.com>
commit c3ef5ce
Author: Alex Bilger <alxbilger@users.noreply.github.com>
Date: Wed Mar 26 06:16:07 2025 +0100
[GUI.Common] Change inheritance of ConstraintAttachOperation (sofa-framework#5338)
commit 761ddfc
Author: Themis Skamagkis <70031729+th-skam@users.noreply.github.com>
Date: Wed Mar 26 05:50:52 2025 +0100
[IO.Mesh.BlenderExporter] Inherit from BaseSimulationExporter (sofa-framework#5334)
* [BlenderExporter] Example scene added in Component/IO/Mesh
* [IO.Mesh] Changed inheritance of BlenderExporter to BaseSimulationExporter
* [BlenderExporter] Refactoring under BaseSimulationExporter
* Substituted member frameCounter with BaseSimulationExporter::m_stepCounter
* The code block that does the writing in BlenderExporter::handleEvent was
moved to BlenderExporter::write
* fileName is now created through BaseSimulationExporter::getOrCreateTargetPath
* Use of Base::isComponentValid instead of d_componentState
[Scenes] Adjusted BlenderExporter.scn to new variables
* [IO.Mesh] Removed redundant calls to BaseSimulationExporter::handleEvent
A few of the exporter components in IO/Mesh (BlenderExporter, MeshExporter,
VisualModelOBJExporter) override the handleEvent method yet do nothing except
call the one in the parent class. This call was removed.
* [BlenderExporter] Implemented intializations in doInit, called by doReInit
* Update examples/Component/IO/Mesh/BlenderExporter.scn
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
---------
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
commit 55425f4
Author: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
Date: Tue Mar 25 23:54:46 2025 +0100
[examples] Fix SofaScene not launched during scene tests (sofa-framework#5353)
* Expand RequiredPlugins
* Remove false diffs
* Apply suggestions from code review
---------
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>1 parent dae35aa commit f78c3f6
608 files changed
Lines changed: 3585 additions & 1095180 deletions
File tree
- Sofa
- Component
- AnimationLoop/src/sofa/component/animationloop
- Collision
- Detection
- Algorithm/src/sofa/component/collision/detection/algorithm
- Intersection/src/sofa/component/collision/detection/intersection
- Geometry/src/sofa/component/collision/geometry
- Response/Contact/src/sofa/component/collision/response/contact
- Constraint
- Lagrangian
- Correction/src/sofa/component/constraint/lagrangian/correction
- Model
- src/sofa/component/constraint/lagrangian/model
- tests
- Solver/src/sofa/component/constraint/lagrangian/solver
- Projective/src/sofa/component/constraint/projective
- Controller/src/sofa/component/controller
- Engine
- Analyze/src/sofa/component/engine/analyze
- Select/src/sofa/component/engine/select
- Haptics/src/sofa/component/haptics
- IO/Mesh/src/sofa/component/io/mesh
- LinearSolver
- Direct
- src/sofa/component/linearsolver/direct
- Iterative/src/sofa/component/linearsolver/iterative
- Preconditioner/src/sofa/component/linearsolver/preconditioner
- Mapping
- Linear
- src/sofa/component/mapping/linear
- tests
- MappedMatrix/src/sofa/component/mapping/mappedmatrix
- NonLinear/src/sofa/component/mapping/nonlinear
- MechanicalLoad
- src/sofa/component/mechanicalload
- tests
- ODESolver
- Backward
- src/sofa/component/odesolver/backward
- convergence
- tests
- Forward/src/sofa/component/odesolver/forward
- Playback/src/sofa/component/playback
- SolidMechanics
- FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic
- Spring/src/sofa/component/solidmechanics/spring
- TensorMass/src/sofa/component/solidmechanics/tensormass
- StateContainer/src/sofa/component/statecontainer
- Topology
- Container
- Constant/src/sofa/component/topology/container/constant
- Dynamic/src/sofa/component/topology/container/dynamic
- Grid/src/sofa/component/topology/container/grid
- Mapping/src/sofa/component/topology/mapping
- Utility/src/sofa/component/topology/utility
- Visual/src/sofa/component/visual
- GL/Component/Rendering3D/src/sofa/gl/component/rendering3d
- GUI/Common/src/sofa/gui/common
- framework
- Config/cmake
- Core
- src/sofa/core
- behavior
- objectmodel
- visual
- test
- Helper
- src/sofa/helper
- system
- test/system
- LinearAlgebra/src/sofa/linearalgebra
- Simulation/Core/src/sofa/simulation
- Testing/src/sofa/testing
- Type/src/sofa/type
- applications
- guis
- Sofa.Qt
- SofaGLFW
- plugins
- BeamAdapter
- BulletCollisionDetection/src/BulletCollisionDetection
- CGALPlugin
- CSparseSolvers
- CollisionAlgorithm
- ConstraintGeometry
- Cosserat
- ManifoldTopologies
- MeshSTEPLoader
- ModelOrderReduction
- MultiThreading/src/MultiThreading/component/solidmechanics/spring
- PSL
- PersistentContact
- PluginExample
- Registration
- STLIB
- Sensable
- ShapeMatchingPlugin
- Sofa.Metis
- SofaCUDA
- sofa/gpu/cuda
- src/SofaCUDA/component/constraint/projective
- SofaHAPI
- SofaHighOrder
- SofaOpenCL
- SofaPython3
- SofaSphFluid
- SofaTest
- SofaValidation
- SoftRobots
- Xitact
- projects
- Regression
- runSofa
- tutorials
- anatomyModelling
- mesh
- bones
- muscles
- chainHybrid
- compositeObject
- fig
- mixedPendulum
- oneParticleWithSofaTypedefs
- oneParticle
- oneTetrahedron
- examples
- Component
- Engine/Select
- IO/Mesh
- ODESolver/Backward
- SolidMechanics/FEM
- Topology
- Container/Dynamic
- Mapping
- Demos
- Dentistry/data/mesh
- SimpleAPI
- Tutorials/StepByStep/Dentistry_Haptics/data/mesh
- tools
- astyle
- sofa-launcher
- stylechecker
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 190 | | |
194 | | - | |
| 191 | + | |
195 | 192 | | |
196 | | - | |
| 193 | + | |
197 | 194 | | |
198 | 195 | | |
199 | 196 | | |
| |||
205 | 202 | | |
206 | 203 | | |
207 | 204 | | |
208 | | - | |
209 | | - | |
210 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
211 | 209 | | |
212 | 210 | | |
| 211 | + | |
213 | 212 | | |
214 | 213 | | |
215 | 214 | | |
| |||
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 234 | | |
241 | 235 | | |
242 | 236 | | |
| |||
264 | 258 | | |
265 | 259 | | |
266 | 260 | | |
267 | | - | |
| 261 | + | |
268 | 262 | | |
269 | 263 | | |
270 | 264 | | |
271 | 265 | | |
272 | | - | |
273 | 266 | | |
274 | 267 | | |
275 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 55 | | |
68 | 56 | | |
69 | 57 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
| |||
173 | 171 | | |
174 | 172 | | |
175 | 173 | | |
176 | | - | |
| 174 | + | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 45 | | |
51 | 46 | | |
52 | 47 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 44 | | |
52 | 45 | | |
53 | 46 | | |
| |||
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 34 | | |
53 | 35 | | |
54 | 36 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 51 | | |
57 | 52 | | |
58 | 53 | | |
| |||
0 commit comments