Code Monkey home page Code Monkey logo

Comments (2)

jchodera avatar jchodera commented on September 21, 2024

Perhaps the user can specify a set of CustomIntegrator-syntax strings for the propagation bits

It would be hard to engineer something that allows the user to specify a CustomIntegrator-like syntax that also automagically computes the NCMC logP. Instead, it might be easier to have a base NCMCEngine class and subclasses that fill in a switching function that returns new positions and the logP for the switching step.

Alternatively, since we might want to have NCMCEngine variants that do dual-topology relative transformations instead of atom insert/delete transformations, we might have an NCMCIntegrator base class where subclasses do this, and call them VelocityVerletNCMCIntegrator, GHMCNCMCIntegrator, etc.

Or we could just maintain one NCMCEngine class and have a string option 'integration that can select a function implemented in the class, like velocity verlet, GHMC, etc.

from perses.

jchodera avatar jchodera commented on September 21, 2024

I strongly think we should stick to velocity Verlet for NCMC now. It is very likely the most efficient choice without going to extremely complex integrators that are designed to maximize acceptance rates, e.g. methods that Suri has developed.

The only situation I can think of where we need to get fancier is if we find we run into NaNs very frequently and find GHMC would be a superior choice because its ability to reject NaNs on a per-step basis rather than a per-trajectory basis.

We can still discuss what the API would look like in the meantime, but I think we have many other things to optimize that should take priority.

from perses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.