-
Notifications
You must be signed in to change notification settings - Fork 318
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
[ODESolver] Apply new factory registration mechanism #4975
Conversation
[ci-build][with-all-tests] |
[ci-build][with-all-tests][force-full-build] |
; | ||
void registerEulerImplicitSolver(sofa::core::ObjectFactory* factory) | ||
{ | ||
factory->registerObjects(core::ObjectRegistrationData("Time integrator using implicit backward Euler scheme.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coming up to my mind :
@alxbilger does our automatic scrapping for doc generation works with this new factory registration method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("Dumping ObjectFactory in json...")
object_factory_data = Sofa.Core.ObjectFactory.dump_json()
The DocGenerator uses directly the ObjectFactory so the new registration wont change anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @fredroy
{"CentralDifference", Dealiased("v24.12","CentralDifferenceSolver")}, | ||
{"DampVelocity", Dealiased("v24.12","DampVelocitySolver")}, | ||
{"RungeKutta2", Dealiased("v24.12","RungeKutta2Solver")}, | ||
{"RungeKutta4", Dealiased("v24.12","RungeKutta4Solver")}, | ||
{"EulerImplicit", Dealiased("v24.12","EulerImplicitSolver")}, | ||
{"ImplicitEulerSolver", Dealiased("v24.12","EulerImplicitSolver")}, | ||
{"ImplicitEuler", Dealiased("v24.12","EulerImplicitSolver")}, | ||
{"VariationalSolver", Dealiased("v24.12","VariationalSymplecticSolver")}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet !
Nice alias cleaning 👍 (this will please @damienmarchal :) )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm.
See
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if