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
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 Distributions
Built Distributions
Hashes for fast_cody-0.0.7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daee3879b0f393642ab0f67eef1b81654f8e28338786e0bb360c1f4f2f6f2997 |
|
MD5 | 07cb64b95d4bbcd9244da0f05638ba78 |
|
BLAKE2b-256 | a5d681870d223eac39ec9bebdf64cf234fa769151e6ab9d2f977ca81079956dd |
Hashes for fast_cody-0.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13144a0483d03abdf1b1c495a6b161686e44e35b7751ce68f536c31ffc550117 |
|
MD5 | 6a2c35802805371ba71271eeff48d569 |
|
BLAKE2b-256 | 1289fa3b1423dbbee162e42a7a5a5a48799f0501452bc11037c0c577a667465b |
Hashes for fast_cody-0.0.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f0f2a5230deff00021fd0796db259ce86257f2c53f5035de4327d5c43d1c72 |
|
MD5 | 9fc7132560731b97ebd513c3c63778e5 |
|
BLAKE2b-256 | af84776be0acc86e66c37055cbb61c8c8ee38004c16c42c7086375adca65beaf |
Hashes for fast_cody-0.0.7-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26e5ad5a29da7a58ef14acc3708059dfde591db452d355017ba9a5e127cd994 |
|
MD5 | 87e48dff388fc76ba93f9b62e087cf79 |
|
BLAKE2b-256 | d9b5dd22f0849a82640344a193908d813ebfd97f54fe4e4651d95170327e86cb |
Hashes for fast_cody-0.0.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81aa5ee7f8c4c8f181940a08defd8e1ff070956ac504febdfdac25dd3358cb8 |
|
MD5 | 19f0bb8132900a781573ee0fab4243b2 |
|
BLAKE2b-256 | e3f3a436ae91352aa654e9599f1c22710f27dadddd5bab2b8cf802a09bf2d337 |
Hashes for fast_cody-0.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba020c1ad771428312ff7fbc142103b26fed5a9dccb733a88e074c28a1a22e5 |
|
MD5 | bc6e1721fd0ee727b581e1b83be0bb78 |
|
BLAKE2b-256 | afb8de50d1be294c575cfb6d23749ec4cab0028fa4847d95ee889762ce79c1fa |
Hashes for fast_cody-0.0.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa19f471318a57c9dd1eb9ea0435c0df8e55b54526ded24c892e1f769220a02f |
|
MD5 | 1baabf406ab9e799cca5b198586bdde1 |
|
BLAKE2b-256 | 36a031bf2b47efde4269ea10b0d47818bbdf8df3c9afeaf8e3d50317467f70b9 |
Hashes for fast_cody-0.0.7-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d4e74e5966500fdfd641f3ba2dac86138af1db1441639c28d49d40e5c151352 |
|
MD5 | 39d2190a63cef4c5c15f796300571df4 |
|
BLAKE2b-256 | 894fdef8d34387002e3d9890ac298496600f8e4c28a585b83283508bf3c6a95d |
Hashes for fast_cody-0.0.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 254705f7822bdf9c4517a41b6afc903363b8c91d8b70704191e5ddbe6229a60d |
|
MD5 | 9f08637172da820ad9f02ed3fedfce64 |
|
BLAKE2b-256 | b32a39a3b3b341444f6b0eeb94c0bf58ecf8ed0c2e88b14c7a50a39322e07094 |
Hashes for fast_cody-0.0.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ff905174a42c83e8b056aab7a8ceedc30e30b7207dcf33053b7847efac2e5f9 |
|
MD5 | 7f48570b2ca3791c47d0aa8af105f107 |
|
BLAKE2b-256 | 08fb32681f9a5a8288421772ff1008b024eb6c30fdf570fde67fe8b99b6bfa4e |
Hashes for fast_cody-0.0.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75cbe87b8c55eeed7e207669931448c27cee5a2ee9e26947789b12cf27368e1f |
|
MD5 | 5208ff5e49a0278ac9f4c251c1b4ed9c |
|
BLAKE2b-256 | c96a0809b4336840d14c5d1ec6e75e9f0ae0d4db6eb29df304fd845c87414c84 |
Hashes for fast_cody-0.0.7-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43b79cd4d65a9af58d133c5f4d5bb25b0e576ea677064e4234604ac56e01301 |
|
MD5 | 82a153a0a524d82213a3e11c201a4dfe |
|
BLAKE2b-256 | 839a7cf7b9d44b3b0c6aaf8b38abdb30fc705849d7cd7f2d8273b5a797a29328 |
Hashes for fast_cody-0.0.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5c3ea4769a11b7ac86be0999eb9338eae3d52bb6ae7fa891ace565872a8502 |
|
MD5 | c9fabafebc46a2e058d4744b3e2acc04 |
|
BLAKE2b-256 | 75500f95b1447fd6653518ca06923e4e117b274b97d6c542b75a640a65cd5def |
Hashes for fast_cody-0.0.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a612ddc5feb65ad991ff3bd51806c2b9f7fe2aabb319b78a4bbff195cc90994 |
|
MD5 | 11951c72b26b3acacf90761a99e22dec |
|
BLAKE2b-256 | 26279725a849c1449536cee4c7b26e12c997dbf1e75c2a1712d8cc853d786ae2 |
Hashes for fast_cody-0.0.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dd71ec6e7274e0129aa9ab742c31af17f61bbe3e3ff5b657395438bf80bf8e3 |
|
MD5 | 8e2597241ac0e4300353b1956f2874bd |
|
BLAKE2b-256 | 3b3ab06277f5df274b10b5771804ae6b8fcdc3b046806e49db6ca10d7395d143 |
Hashes for fast_cody-0.0.7-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05502d2b2aab10632f49cee2d5457d63e9668cf227fcaa5fc6f6d995988a3e98 |
|
MD5 | 5c22c3343485233db5030aa91c453116 |
|
BLAKE2b-256 | f9292ee9635e3337de11bb2d2f927e607efa6a1af9e34a98da8aef9706a6532f |