Skip to main content

PyMem3DG: Membrane Dynamics in 3D using Discrete Differential Geometry

Project description

Membrane Dynamics in 3D using Discrete Differential Geometry (Mem3DG)

Build Status PyPI

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

git submodule --init --recursive
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...)

  1. Download vcpkg and follow the instructions to install

  2. Install 32 or 64 bit version of netcdf-c and netcdf-cxx4 libraries depending upon your configuration.

    vcpkg install netcdf-c:x64-windows netcdf-cxx4:x64-windows eigen3:x64-windows

    Remove the :x64-windows from the above string for the 32 bit libraries.

  3. Configure the vcpkg CMake toolchain vcpkg integrate install

  4. Copy and paste the -DCMAKE_TOOLCHAIN_File="..." string as an input into your CMake configuration.

  5. Build as normal

The toolchain options can be passed through setup.py accordingly:

  1. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymem3dg-0.0.5a0.tar.gz (16.5 MB view details)

Uploaded Source

File details

Details for the file pymem3dg-0.0.5a0.tar.gz.

File metadata

  • Download URL: pymem3dg-0.0.5a0.tar.gz
  • Upload date:
  • Size: 16.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pymem3dg-0.0.5a0.tar.gz
Algorithm Hash digest
SHA256 3c1a3409e399f7481df0516ad1581caa22bc3c77d49b29de287fe7becb41598a
MD5 530e0f4f8883a3121a65d3f7f6fe0d61
BLAKE2b-256 2ff42351475689559f03530a5ee41d7696c58f67758e2ad5ec510ec66c31c06b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page