PyMem3DG: Membrane Dynamics in 3D using Discrete Differential Geometry
Project description
Membrane Dynamics in 3D using Discrete Differential Geometry (Mem3DG)
Mem3DG is a flexible software package to model the membrane and its dynamics using unstructured meshes. This work is currently under heavy development, please star this repository to follow along!
Acknowledging your use of Mem3DG
Mem3DG is developed by Cuncheng Zhu, Christopher T. Lee, with contributions from others. Development of Mem3DG is funded in part by AFOSR MURI FA9550-18-1-0051, and a Hartwell Foundation Postdoctoral Fellowship.
Installation
mkdir build
cd build
cmake -DBUILD_PYDDG=ON -DWITH_NETCDF=ON -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release
Source released can also be obtained from PyPi.
Temporary notes for setting up netcdf (especially on windows...)
-
Download
vcpkg
and follow the instructions to install -
Install 32 or 64 bit version of
netcdf-c
andnetcdf-cxx4
libraries depending upon your configuration.vcpkg install netcdf-c:x64-windows netcdf-cxx4:x64-windows
Remove the
:x64-windows
from the above string for the 32 bit libraries. -
Configure the vcpkg CMake toolchain
vcpkg integrate install
-
Copy and paste the
-DCMAKE_TOOLCHAIN_File="..."
string as an input into your CMake configuration. -
Build as normal
The toolchain options can be passed through setup.py
accordingly:
- python setup.py build -- -DCMAKE_TOOLCHAIN_FILE="C:/Users/Kieran/vcpkg/scripts/buildsystems/vcpkg.cmake" -G "Visual Studio 16 2019" -T host=x64 -A x64 -- /m:6
Dependencies
- Meshes are represented using Geometry-Central.
- Optional trajectory output uses NetCDF-cxx4.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pymem3dg-0.0.3a1.tar.gz
.
File metadata
- Download URL: pymem3dg-0.0.3a1.tar.gz
- Upload date:
- Size: 157.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd0a2c9921b71f901b922dbb60d21d30849ec80c9729ce2b72982f54db2fc7a |
|
MD5 | 92007d8b8813f57a11bb3a3be887b900 |
|
BLAKE2b-256 | 7b8c8e4d76e74d1a984c6589ed824b5f1390ed1fec9bda8bd7fe7c533adbdf84 |