Skip to main content

No project description provided

Project description

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)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

fast_cd_pyb-0.0.5-cp311-cp311-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.11 Windows x86-64

fast_cd_pyb-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fast_cd_pyb-0.0.5-cp311-cp311-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fast_cd_pyb-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

fast_cd_pyb-0.0.5-cp310-cp310-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10 Windows x86-64

fast_cd_pyb-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fast_cd_pyb-0.0.5-cp310-cp310-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fast_cd_pyb-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

fast_cd_pyb-0.0.5-cp39-cp39-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.9 Windows x86-64

fast_cd_pyb-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fast_cd_pyb-0.0.5-cp39-cp39-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fast_cd_pyb-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

fast_cd_pyb-0.0.5-cp38-cp38-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

fast_cd_pyb-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

fast_cd_pyb-0.0.5-cp38-cp38-macosx_11_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

fast_cd_pyb-0.0.5-cp38-cp38-macosx_10_15_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

Details for the file fast_cd_pyb-0.0.5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 315da97c122511dba47f8e2a816e1796c2129cb3bb234981e7979653c0625a2d
MD5 419ba582792139387cc748948f61aeed
BLAKE2b-256 964a43deb6512c39de7e7174e12f3ee6f725abdffa3b099a480b1716f6a7fb2d

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37afe551c74e843c1284534b0906c5f567c3af6d0d4939331fee20591d0345b9
MD5 5da938eff41a59b1b7b612d4d63c3017
BLAKE2b-256 519d2f421316946f54c0a8d3644ab8b12ee7b54b87118f316c1f990b7ec9dfa8

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d51058815893f808b0121ad46a2f3f4c42b646afbb25db9471b94e8e503737d
MD5 573667577030c902459199ae3f961b66
BLAKE2b-256 c69ed0c0cc3c32eda7c044aab994231b49355ea71e41643eab22e19e3daaf54f

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7177dfe11f39a52070189eba45aa570e1c9876452f65bbc83aebe30e5060214b
MD5 4de7d7ccae015360606309518571c949
BLAKE2b-256 c343b5eaa2542b8d9e7985d34606063ae34af329b4aa37baa761fb7b7d26508e

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 62788cf348395385dc1606a23420d6dce8c4f8bc8e22013da6038b312664c8f1
MD5 b093eda69f59bce49c5ebb2a0d47eb30
BLAKE2b-256 40200190b7bcb6242a47f5ef37949c062e3f1a81efee2d84d8adcd1a0d3b0fe9

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbffb4133fce4c0183f7cffc0a6b80635ab6608e3b80c80221c4f26d4e1d4431
MD5 d6540b3191ebf68fea1da21b5ede09bf
BLAKE2b-256 cd507061ebd786bc8d0c6b172f7912ff3169800383967feb55ba08eecd3bece3

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9184aa41498977ee74ef0c6b601771176fbc0e1ec3bc203755864680fb623869
MD5 59f31ce8bf3b203115d9d97ec88dc2ac
BLAKE2b-256 3fa5810f66c682b85480a9abed6b2265a03e0a01f460ccc67313268882c4d7bb

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 fd7b45ff7e83ca1f25870f7297f8aecdf312cfa4bfe0ff1cde736e63b5f3078c
MD5 4a28c98d1bccd8dac5dfddb0587addd2
BLAKE2b-256 2d08f57accdbeb01afca3e22e2d7b8102830a502d55a6353fbd2267f72abd7e9

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 28c4ddee19ec5072cf4281b1686ce8145e388ace3c0f8f3a4e4336e6d48135f5
MD5 3744324f81ef6e965dee8873f2c2b824
BLAKE2b-256 ebffe07de8022f3e3c670a7f7f4c8d10023a9353b424f353600c32d41a0ba16a

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82d2ba0af6dcc97d9bb13b18ea28a5cb18869a0f351a8791f3926bf0099cdabe
MD5 c195df2aaabec984b11103be80a96d5a
BLAKE2b-256 b527c4d19a61d8ed56c2f6c37728b7f7afe80cd998a25de81891d95354cfe4ed

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3c2d00af861a261693014884ba9454359cd90b4d5994d35374a43c3358a2eb19
MD5 1d4328e123b31384f386c5737f460808
BLAKE2b-256 630c9cbc9dd16c3755308472663e4857c6a5dbdf10322d501059ad41ba1b4970

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 150be6d8e6080b4a08d0d0dacedcf38f3ebac18fa3b1eeeca280500feda53b50
MD5 f68f315f99436200c4a5a99038275099
BLAKE2b-256 b8023b47e07427fd2df0decab856087b9159ecdb8cb85b79bacd073e233a21b7

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d77dac8b42e217e1453cf538fdb5a2cdd6afa592e20f3407edea8a54d3d3b1a8
MD5 76f4af0f8b7f0171e6193dab8d292f1b
BLAKE2b-256 651f227fb68ee8271aecd034aa2690f2c2397c42e722de2f46e2d9fca90f4baa

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 edf491d4cf7616f999abe14601a1cd7afa7d16ab9e4fcfbcf10f11d9b51a72e6
MD5 f99bcbccd19f9b0d03ae8bbf40aa8d9e
BLAKE2b-256 b8fe9f32a9dc91adb83385da508de3a570f816325784f11046aa10ae84744ee1

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 25f82f49e0b3a8a2f639c53a2a8c3c5993875c7e6e1f7a716b57813bd871fc9a
MD5 1879b6dbf8a3b54c0dd9cac409ed23a1
BLAKE2b-256 4dad1da8a90bfef72fa94f2b631add2cb63b7268dd36733fb1d9a1cfafae410d

See more details on using hashes here.

File details

Details for the file fast_cd_pyb-0.0.5-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fast_cd_pyb-0.0.5-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 50ce40733ad7af938aeeebdd74522092fc31b574e82864f0dd086838b2d8abc7
MD5 a96fb932264c7875110f4d70fa8690c2
BLAKE2b-256 7275b9999ede26d7ea79fc505635f7819abb96f28297fca8df58ceb6607b4c48

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