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

Mesh area conservation #1795

Merged
merged 106 commits into from
Oct 23, 2024
Merged

Mesh area conservation #1795

merged 106 commits into from
Oct 23, 2024

Conversation

SchoeniPhlippsn
Copy link
Contributor

Description

This adds two area constraint potentials which can be applied to the mesh data structure.

Motivation and context

These area constraints allow applying a global target area per mesh type or a local target area per mesh triangle to membranes represented by a particle mesh.

How has this been tested?

I added pytests and used this potential in my current studies.

Change log

Addition of area constraint mesh potentials

Checklist:

syjlee and others added 30 commits January 19, 2022 11:47
…th energy and forces by iterating triangles in mesh
mesh_area_conservation should be updated as its parent branch mesh-data-structure has updated
@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@SchoeniPhlippsn
Copy link
Contributor Author

@joaander @tcmoore3
Ready for review!

@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

Copy link
Member

@joaander joaander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Now that volume conservation is merged, you need to merge trunk-minor into this branch and resolve conflicts.

The code looks great. I found a few duplicate or unused lines of code that can be removed.

hoomd/md/TriangleAreaConservationMeshForceCompute.h Outdated Show resolved Hide resolved
hoomd/md/TriangleAreaConservationMeshForceComputeGPU.cu Outdated Show resolved Hide resolved
hoomd/md/TriangleAreaConservationMeshForceComputeGPU.cu Outdated Show resolved Hide resolved
@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@joaander joaander added the validate Execute long running validation tests on pull requests label Oct 23, 2024
Copy link
Member

@joaander joaander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@joaander joaander merged commit ca42b1a into trunk-minor Oct 23, 2024
66 checks passed
@joaander joaander deleted the mesh_area_conservation branch October 23, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validate Execute long running validation tests on pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants