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

[AdaptiveBeamForceFieldAndMass] Update code to to use a single gravity vector #57

Merged
merged 2 commits into from Oct 5, 2022

Conversation

epernod
Copy link
Collaborator

@epernod epernod commented Sep 22, 2022

Use a single Vec3 for gravity vector (which is still updated at each timestep using root->getGravity())
instead of filling a DataVecDeriv (aka a vec of the size of the nbr of dof) filled with the same gravity for each dof.

Update all methods to use this single vec3

@epernod epernod added pr: clean pr: status to review To notify reviewers to review this pull-request labels Sep 22, 2022
@epernod epernod changed the title Update AdaptiveBeamForceFieldAndMass to use a single gravity vector [AdaptiveBeamForceFieldAndMass] Update code to to use a single gravity vector Sep 29, 2022
@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 Oct 5, 2022
@alxbilger alxbilger merged commit 2b50881 into sofa-framework:master Oct 5, 2022
@epernod epernod deleted the singleGravity branch October 5, 2022 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: clean pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants