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

Add forcecomponents, generalize features #19

Merged
merged 8 commits into from
May 30, 2024
Merged

Add forcecomponents, generalize features #19

merged 8 commits into from
May 30, 2024

Conversation

timholy
Copy link
Member

@timholy timholy commented May 28, 2024

This breaking change adds a 3rd argument to the functions that compute
σ and ϕ, requiring the feature name as an argument. This allows one
to tune the decay-length or amplitude based on specific atom, residue,
and/or field-type.

This also establishes defaults for different fields that attempt to be a
bit more physically realistic. These have not, however, been
investigated in great detail.

Finally, forcecomponents can be used to compute the net force on a
residue, broken down by field. This is useful for tuning the amplitude,
using the condition that a realistic structure is in equilibrium.

This breaking change adds a 3rd argument to the functions that compute
`σ` and `ϕ`, requiring the feature name as an argument. This allows one
to tune the decay-length or amplitude based on specific atom, residue,
and/or field-type.

This also establishes defaults for different fields that attempt to be a
bit more physically realistic. These have not, however, been
investigated in great detail.

Finally, `forcecomponents` can be used to compute the net force on a
residue, broken down by field. This is useful for tuning the amplitude,
using the condition that a realistic structure is in equilibrium.
@timholy
Copy link
Member Author

timholy commented May 28, 2024

Will require release of a new version of https://github.com/tmcgrath325/GaussianMixtureAlignment.jl to pass tests. Let's wait on @tmcgrath325 for that.

Copy link
Contributor

@tmcgrath325 tmcgrath325 left a comment

Choose a reason for hiding this comment

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

Looks good! The newest version of GaussianMixtureAlignment.jl has been registered, and tests should be passing now.

src/forces.jl Outdated Show resolved Hide resolved
@timholy
Copy link
Member Author

timholy commented May 29, 2024

In line behind tmcgrath325/GaussianMixtureAlignment.jl#45

test/runtests.jl Outdated Show resolved Hide resolved
@timholy
Copy link
Member Author

timholy commented May 30, 2024

In light of #20, let's rerun the tests.

@timholy timholy closed this May 30, 2024
@timholy timholy reopened this May 30, 2024
@tmcgrath325
Copy link
Contributor

Looks good! Neither here nor there, but I appreciate the example of using weakdeps and extensions.

@timholy timholy merged commit 31e4dc6 into main May 30, 2024
4 of 6 checks passed
@timholy timholy deleted the teh/features2 branch May 30, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants