Coder Social home page Coder Social logo

tkemmer / cunessie.jl Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 177 KB

CUDA-accelerated Nonlocal Electrostatics in Structured Solvents

License: MIT License

Julia 100.00%
bioinformatics boundary-element-method cuda electrostatics gpu-computing julia proteins

cunessie.jl's Introduction

CUDA-accelerated Nonlocal Electrostatics

CuNESSie.jl is an extension to the NESSie.jl package, providing CUDA-accelerated drop-in replacements for the package's numerical solvers and post-processors.

Installation

This package version requires Julia 1.8 or above. In the Julia shell, switch to the Pkg shell by pressing ] and enter the following command:

pkg> add https://github.com/tkemmer/NESSie.jl
pkg> add https://github.com/tkemmer/CuNESSie.jl

Usage example

The basic usage of this package is the same as for NESSie.jl. Just replace the NESSie.BEM module by CuNESSie in your code and you're ready to go:

using NESSie
using CuNESSie  # before: NESSie.BEM
using NESSie.Format: readoff, readpqr

# I. Create model
model           = readoff("data/born/na.off")
model.charges   = readpqr("data/born/na.pqr")
model.params.εΩ = 1   # dielectric constant for vacuum model
model.params.εΣ = 78  # dielectric constant for water

# II. Apply nonlocal solver
bem = solve(NonlocalES, model)  # <-- CUDA-accelerated solver

# III. Apply postprocessor
val = rfenergy(bem)             # <-- CUDA-accelerated post-processor
println("Reaction field energy: $val kJ/mol")

CuNESSie.jl reuses the system models and solver results from NESSie.jl, so the local and nonlocal BEM solvers as well as the corresponding post-processors from both packages can be interchanged freely.

Testing

CuNESSie.jl provides tests for most of its functions. You can run the test suite with the following command in the Pkg shell:

pkg> test CuNESSie

Citing

If you use CuNESSie.jl in your research, please cite the following publications:

T. Kemmer, S. Hack, B. Schmidt, A. Hildebrandt. CUDA-accelerated protein electrostatics in linear space. Journal of Computational Science 70 (2023) 102022. https://doi.org/10.1016/j.jocs.2023.102022

T. Kemmer. Space-efficient and exact system representations for the nonlocal protein electrostatics problem. Ph. D. thesis (2021), Johannes Gutenberg University Mainz. Mainz, Germany. https://doi.org/10.25358/openscience-5689

Citation items for BibTeX can be found in CITATION.bib.

cunessie.jl's People

Contributors

tkemmer avatar

Watchers

 avatar  avatar  avatar

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.