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
Built Distributions
Hashes for fast_cd_pyb-0.0.4-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74295dd4c3c066ee54825f5e648f7dd1ad2fae83df5081fe80cc99644952cfe5 |
|
MD5 | 3c3bd9e05c0c1558125679e09c3458e0 |
|
BLAKE2b-256 | 437a0a982bb87655be625c37b3f6a2f3e479757614564f7935b392fbb99439b8 |
Hashes for fast_cd_pyb-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37c204dafb6bfa3bf8798cd5e60d65490aca350a450fc2566e3c5af7f15bed61 |
|
MD5 | 38c6a974b6536b4d038afcd12ac6d35b |
|
BLAKE2b-256 | f35916b6ef1baf8860f5f13747d7527ffb47f3e63bc3bd2a13f2aabcaf685401 |
Hashes for fast_cd_pyb-0.0.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c8ebe09023e13d86ac422bc2800d4960e1c5013a57d2c0675f6242fa16fb44 |
|
MD5 | 90e6cc0b622f276ed48f4d12ea18e7cc |
|
BLAKE2b-256 | 6745290488f801c80e1f49d693ce2d071d12bf1e191d06a2c81a22d9be8c66e5 |
Hashes for fast_cd_pyb-0.0.4-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9626985c2d9a8597d3f52705a6b09f89adfcdbb80c9346948eac5241642b788 |
|
MD5 | a951920df46a712449bc1e592eb35701 |
|
BLAKE2b-256 | 6473e7cdb3d1c40946ad4166c9373aa65be087b0d5d1132df7e06b0d35ad98d0 |
Hashes for fast_cd_pyb-0.0.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84e82dc4f3c79f53a08d12328222d497474509cad980972c8fce26f8065abbb2 |
|
MD5 | bf60330cfd278b694ae2c873a791b6c7 |
|
BLAKE2b-256 | 05f31d138318772d1d78796461807b2add85cd103b4acc5a948dfcf936008cd1 |
Hashes for fast_cd_pyb-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cc1790a947391d0b4b6e4017f0fbc341d6590300081e04e870d51c72d307208 |
|
MD5 | 6b05b16bd4639c98bab6a69ab27e8be8 |
|
BLAKE2b-256 | 8d289295722b87be3f0a5c4d74b641bf263378e726583bd721c72e9395cb9db3 |
Hashes for fast_cd_pyb-0.0.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb6bb3f72755d121a14650b6f16e72ce7287ec0fadac36fa7c29fe241d747cdf |
|
MD5 | 56d816cd2ff6cd3dd7979f2c4cdb1f1c |
|
BLAKE2b-256 | e546afe2d6c98fd8309a57c109b8489cb980d015424d784c3c9f9b5a9c9b2c1c |
Hashes for fast_cd_pyb-0.0.4-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c518308b47bc7f513f14f6cf822ecc01dcbd62d75d2bb194a2700228cdb2b80 |
|
MD5 | e2e0320bdd5f5b4788660ae6fb824f3e |
|
BLAKE2b-256 | b2ae92d28e0e43d48c41154116ebf2f64673b82ab5e0aa8a22fc76ab8bd4b14d |
Hashes for fast_cd_pyb-0.0.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14be4446a5a6f93cf338ef6a911e6ad9b7488d715dd9956a36550356c905061 |
|
MD5 | f8d5ccc7c4a2cfd6ef09b9b75231967a |
|
BLAKE2b-256 | a060ddd32821a596f769cd97c345efd9a5fd3b3f80ba14a0694c4cc5500b5ab0 |
Hashes for fast_cd_pyb-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da5178dd41ce627c19cc564cb1656eb2e3f7d7d5f2c546f2307775bf5967b4a |
|
MD5 | 4f64c2325c402b309c5d8d2af3511715 |
|
BLAKE2b-256 | 79c223ed9e9fdd9b1353713f6f777e571a5175fa67e6ecb19d629ea58f0cb990 |
Hashes for fast_cd_pyb-0.0.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e3945ffaab25d5d19333f01217fc89a29bf2b7e85be3b4c70d7411dda427e1 |
|
MD5 | edf4a5493280e0d7464e5daf675981ab |
|
BLAKE2b-256 | fb17adbf1188289004cf4aa5530d6c00e7d70c43658bf1ee06e4beb6cc51f864 |
Hashes for fast_cd_pyb-0.0.4-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8fce366bd2cb84c2e9d88c2eba8e96e2d739a0dbaddf9c92603b83b91d49f2 |
|
MD5 | d6b5d982deaa79af202c650109fd1561 |
|
BLAKE2b-256 | a2000e8a607bf36ccee7f3f0a4c6217fb6fd68cb8418f0d6c1624b51b616ba98 |
Hashes for fast_cd_pyb-0.0.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2201d769b953eb0c3c42c070c737734e237b7d306956a4502035b4ebd24c70c3 |
|
MD5 | 3cb91befc49e098548b71efc3803a317 |
|
BLAKE2b-256 | 6e094067a2e4c9f369be7663235f80138926bda0b10d80ea1a3149f57515d5c2 |
Hashes for fast_cd_pyb-0.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be9a9a081361677695e8455cb0452aac3a6a9bfb755daafb99c3b54968cd8b2 |
|
MD5 | 66f268ab3246f3a126327f689f064644 |
|
BLAKE2b-256 | c4ae12194ebbfc0f70da3c0545cfdbabfac7d3d0b7c1e7e08777a680ed57aca2 |
Hashes for fast_cd_pyb-0.0.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e554aabd9be8733cdc5dfebfe54aed2dca22d2459c6c422d811401d5c30585b7 |
|
MD5 | 995e9a46e6b332c2ee22e17ca15a29a3 |
|
BLAKE2b-256 | c320fd57987b7443f57df170212530e8de1f599b82230335be4ff02823a0e69a |
Hashes for fast_cd_pyb-0.0.4-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2586001d0444ab5527c74976b643c4d24934f314c0ff686dd77250bddb0e50fe |
|
MD5 | e9efc5f9eb0b4398848d10cad8442968 |
|
BLAKE2b-256 | 7908487b0ef0a59575f21a1528b79232c8e36ab01133f77aea0c6f8bda387689 |