Skip to main content

Fast Complementary Dynamics Code

We're currently working on a pip installation, but for now, this is how you can get started with our codebase.

Clone this repo and all its submodules:

git clone --recursive https://github.com/otmanon/fast_cd_pyb

Inside the repository above, install the dependencies:

pip install -r requirements.txt

Finally, build the library from source by running:

python setup.py install

Apps

We provide a variety of fast_cd apps shown in our paper.

Interactive Affine Handle

Run

import fast_cd_pyb as fcd
fcd.apps.interactive_cd_affine_handle()

This should run a few computations, and then finally open a window with the classic Complementary Dynamics fish. By playing with the Guizmo, you can interact with the fish. Press g to change guizmo transorm operations.

We also provide a few different meshes. The demo found in demos/affine_handle.py shows how to change some of the inputs we give to the interactive_cd_affine_handle such as changing the subspace size, reading from cache, or using different meshes.

We also provide many example meshes in the data directory. To run the demo on a .msh file of your choice, run

fcd.apps.interactive_cd_affine_handle(msh_file_path)

Metadata

Release files for fast-cd-pyb 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for fast-cd-pyb 0.0.5
File
fast_cd_pyb-0.0.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
fast_cd_pyb-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
fast_cd_pyb-0.0.5-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
fast_cd_pyb-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.15+ x86-64 Details
fast_cd_pyb-0.0.5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
fast_cd_pyb-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
fast_cd_pyb-0.0.5-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
fast_cd_pyb-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.15+ x86-64 Details
fast_cd_pyb-0.0.5-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
fast_cd_pyb-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
fast_cd_pyb-0.0.5-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
fast_cd_pyb-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.15+ x86-64 Details
fast_cd_pyb-0.0.5-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
fast_cd_pyb-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
fast_cd_pyb-0.0.5-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details
fast_cd_pyb-0.0.5-cp38-cp38-macosx_10_15_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.15+ x86-64 Details

Total release size: 102.2 MB

Release files / fast_cd_pyb-0.0.5-cp311-cp311-win_amd64.whl

Download URL fast_cd_pyb-0.0.5-cp311-cp311-win_amd64.whl
Size 6.0 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
315da97c122511dba47f8e2a816e1796c2129cb3bb234981e7979653c0625a2d
BLAKE2b-256 checksum
How to use checksums
964a43deb6512c39de7e7174e12f3ee6f725abdffa3b099a480b1716f6a7fb2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
37afe551c74e843c1284534b0906c5f567c3af6d0d4939331fee20591d0345b9
BLAKE2b-256 checksum
How to use checksums
519d2f421316946f54c0a8d3644ab8b12ee7b54b87118f316c1f990b7ec9dfa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL fast_cd_pyb-0.0.5-cp311-cp311-macosx_11_0_arm64.whl
Size 6.2 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3d51058815893f808b0121ad46a2f3f4c42b646afbb25db9471b94e8e503737d
BLAKE2b-256 checksum
How to use checksums
c69ed0c0cc3c32eda7c044aab994231b49355ea71e41643eab22e19e3daaf54f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl
Size 6.5 MB
Tags CPython 3.11 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
7177dfe11f39a52070189eba45aa570e1c9876452f65bbc83aebe30e5060214b
BLAKE2b-256 checksum
How to use checksums
c343b5eaa2542b8d9e7985d34606063ae34af329b4aa37baa761fb7b7d26508e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp310-cp310-win_amd64.whl

Download URL fast_cd_pyb-0.0.5-cp310-cp310-win_amd64.whl
Size 6.0 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
62788cf348395385dc1606a23420d6dce8c4f8bc8e22013da6038b312664c8f1
BLAKE2b-256 checksum
How to use checksums
40200190b7bcb6242a47f5ef37949c062e3f1a81efee2d84d8adcd1a0d3b0fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bbffb4133fce4c0183f7cffc0a6b80635ab6608e3b80c80221c4f26d4e1d4431
BLAKE2b-256 checksum
How to use checksums
cd507061ebd786bc8d0c6b172f7912ff3169800383967feb55ba08eecd3bece3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp310-cp310-macosx_11_0_arm64.whl

Download URL fast_cd_pyb-0.0.5-cp310-cp310-macosx_11_0_arm64.whl
Size 6.2 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9184aa41498977ee74ef0c6b601771176fbc0e1ec3bc203755864680fb623869
BLAKE2b-256 checksum
How to use checksums
3fa5810f66c682b85480a9abed6b2265a03e0a01f460ccc67313268882c4d7bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl
Size 6.5 MB
Tags CPython 3.10 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
fd7b45ff7e83ca1f25870f7297f8aecdf312cfa4bfe0ff1cde736e63b5f3078c
BLAKE2b-256 checksum
How to use checksums
2d08f57accdbeb01afca3e22e2d7b8102830a502d55a6353fbd2267f72abd7e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp39-cp39-win_amd64.whl

Download URL fast_cd_pyb-0.0.5-cp39-cp39-win_amd64.whl
Size 6.0 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
28c4ddee19ec5072cf4281b1686ce8145e388ace3c0f8f3a4e4336e6d48135f5
BLAKE2b-256 checksum
How to use checksums
ebffe07de8022f3e3c670a7f7f4c8d10023a9353b424f353600c32d41a0ba16a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
82d2ba0af6dcc97d9bb13b18ea28a5cb18869a0f351a8791f3926bf0099cdabe
BLAKE2b-256 checksum
How to use checksums
b527c4d19a61d8ed56c2f6c37728b7f7afe80cd998a25de81891d95354cfe4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp39-cp39-macosx_11_0_arm64.whl

Download URL fast_cd_pyb-0.0.5-cp39-cp39-macosx_11_0_arm64.whl
Size 6.2 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3c2d00af861a261693014884ba9454359cd90b4d5994d35374a43c3358a2eb19
BLAKE2b-256 checksum
How to use checksums
630c9cbc9dd16c3755308472663e4857c6a5dbdf10322d501059ad41ba1b4970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl
Size 6.5 MB
Tags CPython 3.9 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
150be6d8e6080b4a08d0d0dacedcf38f3ebac18fa3b1eeeca280500feda53b50
BLAKE2b-256 checksum
How to use checksums
b8023b47e07427fd2df0decab856087b9159ecdb8cb85b79bacd073e233a21b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp38-cp38-win_amd64.whl

Download URL fast_cd_pyb-0.0.5-cp38-cp38-win_amd64.whl
Size 6.0 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
d77dac8b42e217e1453cf538fdb5a2cdd6afa592e20f3407edea8a54d3d3b1a8
BLAKE2b-256 checksum
How to use checksums
651f227fb68ee8271aecd034aa2690f2c2397c42e722de2f46e2d9fca90f4baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.8 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
edf491d4cf7616f999abe14601a1cd7afa7d16ab9e4fcfbcf10f11d9b51a72e6
BLAKE2b-256 checksum
How to use checksums
b8fe9f32a9dc91adb83385da508de3a570f816325784f11046aa10ae84744ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp38-cp38-macosx_11_0_arm64.whl

Download URL fast_cd_pyb-0.0.5-cp38-cp38-macosx_11_0_arm64.whl
Size 6.2 MB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
25f82f49e0b3a8a2f639c53a2a8c3c5993875c7e6e1f7a716b57813bd871fc9a
BLAKE2b-256 checksum
How to use checksums
4dad1da8a90bfef72fa94f2b631add2cb63b7268dd36733fb1d9a1cfafae410d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fast_cd_pyb-0.0.5-cp38-cp38-macosx_10_15_x86_64.whl

Download URL fast_cd_pyb-0.0.5-cp38-cp38-macosx_10_15_x86_64.whl
Size 6.5 MB
Tags CPython 3.8 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
50ce40733ad7af938aeeebdd74522092fc31b574e82864f0dd086838b2d8abc7
BLAKE2b-256 checksum
How to use checksums
7275b9999ede26d7ea79fc505635f7819abb96f28297fca8df58ceb6607b4c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.0.5 This release

16 release files

0.0.4

16 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page