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

question #72

Open
Jincz-lang opened this issue Jun 7, 2024 · 1 comment
Open

question #72

Jincz-lang opened this issue Jun 7, 2024 · 1 comment

Comments

@Jincz-lang
Copy link

radius = sim_object.conlen * radiusMult
nbCutOffDist = radius
repul_energy = (
"rsc12 * (rsc2 - 1.0) * REPe / emin12 + REPe;"
"rsc12 = rsc4 * rsc4 * rsc4;"
"rsc4 = rsc2 * rsc2;"
"rsc2 = rsc * rsc;"
"rsc = r / REPsigma * rmin12;
What is REPsigma, rmin12,rsc?

@henrik-dahl-pinholt
Copy link
Contributor

I don't think I completely understand your question. Do you mean "what do the parameters represent mathematically"? Or do you mean "where are they defined"?

If you mean "what do the parameters represent mathematically" you can see the potential (assuming you are referring to the polynomial_repulsive potential) plotted here with the mathematical formula written out. I believe the parameters you ask about are represented in that equation as:

  • REPsigma <-> $R_\mathrm{max}$
  • rmin12 <-> $\sqrt{6/7}$
  • rsc <-> $\frac{r\sqrt{6/7}}{R_\mathrm{max}}$

If you mean "where are they defined", then you can find their definition a little further down in the code using the function addGlobalParameter

I hope that clarifies things a bit. If not, don't hesitate to ask clarifying questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants