Skip to content

question #72

Open
Open

Description

@Jincz-lang

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?

Activity

  1. henrik-dahl-pinholt commented on Jun 19, 2024

    @henrik-dahl-pinholt
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions