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

[SofaExplicitOdeSolver] Introduce examples scenes #2199

Merged
merged 12 commits into from
Jul 12, 2021

Conversation

alxbilger
Copy link
Contributor

@alxbilger alxbilger commented Jun 24, 2021

Introduce examples scenes for 4 cases of Euler explicit solver:

  1. Mass matrix is not diagonal and Euler is not symplectic: EulerExplicitSolver.scn
  2. Mass matrix is diagonal and Euler is not symplectic: EulerExplicitSolver_diagonal.scn
  3. Mass matrix is not diagonal and Euler is symplectic: EulerSymplecticSolver.scn
  4. Mass matrix is diagonal and Euler is symplectic: EulerSymplecticSolver_diagonal.scn

I did my best to create stable scenes, but it is not that simple with an Euler explicit solver. Especially if not symplectic. It comes at the price of very small time step sizes.

This PR is based on #2163. It will need to be updated after #2165 is merged

[ci-depends-on https://github.com/sofa-framework/Regression/pull/15]

@alxbilger alxbilger added pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request and removed pr: fast merge Minor change that can be merged without waiting for the 7 review days labels Jun 24, 2021
@alxbilger alxbilger marked this pull request as ready for review June 24, 2021 14:35
@alxbilger
Copy link
Contributor Author

[ci-build][with-all-tests]

@fredroy fredroy added pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Jun 30, 2021
# Conflicts:
#	SofaKernel/modules/SofaExplicitOdeSolver/src/SofaExplicitOdeSolver/EulerSolver.cpp
#	SofaKernel/modules/SofaExplicitOdeSolver/src/SofaExplicitOdeSolver/EulerSolver.h
@alxbilger alxbilger added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jul 1, 2021
@alxbilger
Copy link
Contributor Author

[ci-build][with-all-tests]

@alxbilger
Copy link
Contributor Author

Now that #2165 is merged, I could remove the Data optimizedForDiagonalMatrix from the scenes. I confirm that the code goes to the right branch depending on the diagonal property of the mass matrix.

@fredroy
Copy link
Contributor

fredroy commented Jul 2, 2021

Two regression tests are failing :

  • Regression_test/StateRegression_test.sceneTest/EulerExplicitSolver
  • Regression_test/StateRegression_test.sceneTest/EulerExplicitSolver_diagonal

I suppose this is because you moved them into a new folder and the Regression project has not been updated accordingly.

@alxbilger
Copy link
Contributor Author

@fredroy, yes it makes sense. Thanks for pointing it out.

@alxbilger alxbilger added pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Jul 2, 2021
@alxbilger alxbilger added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jul 7, 2021
@alxbilger
Copy link
Contributor Author

[ci-build][with-all-tests]

@sofabot
Copy link
Collaborator

sofabot commented Jul 7, 2021

[ci-depends-on] detected during build #7.

To unlock the merge button, you must

@sofabot
Copy link
Collaborator

sofabot commented Jul 8, 2021

[ci-depends-on] detected during build #8.

To unlock the merge button, you must

@sofabot
Copy link
Collaborator

sofabot commented Jul 8, 2021

[ci-depends-on] detected during build #9.

To unlock the merge button, you must

@sofabot
Copy link
Collaborator

sofabot commented Jul 8, 2021

[ci-depends-on] detected during build #10.

To unlock the merge button, you must

@guparan
Copy link
Contributor

guparan commented Jul 8, 2021

[ci-build][with-all-tests][force-full-build]

@sofabot
Copy link
Collaborator

sofabot commented Jul 8, 2021

[ci-depends-on] detected during build #11.

To unlock the merge button, you must

@sofabot
Copy link
Collaborator

sofabot commented Jul 9, 2021

[ci-depends-on] detected during build #12.

To unlock the merge button, you must

@alxbilger
Copy link
Contributor Author

[ci-build][with-all-tests]

@sofabot
Copy link
Collaborator

sofabot commented Jul 9, 2021

[ci-depends-on] detected during build #13.

To unlock the merge button, you must

@fredroy fredroy added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jul 12, 2021
@fredroy fredroy merged commit 10c54cc into sofa-framework:master Jul 12, 2021
@guparan guparan added this to the v21.12 milestone Oct 1, 2021
@alxbilger alxbilger deleted the eulerexplicit_scenes branch June 28, 2022 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants