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.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eacd30b4d880a3ae6b8a63cd84438cf18c90b7e4cdd1065afe4859bd5b66393 |
|
MD5 | 4bbeb7a03c735494baddca065c7534a1 |
|
BLAKE2b-256 | a713ec75e3f78480cd5139177dee1ed98cb291bd7b8d24de6165f5e95b959b70 |
Hashes for fast_cody-0.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c648acea8217ec68e9708946dfb30e043f6062a47498d53b49c9cd8bbec9ca33 |
|
MD5 | f15fef1a0ce29828fa89b61b7a464494 |
|
BLAKE2b-256 | 8ec289dd7cabfd31201f8047cace2f92c1c8cd676c4ad279a87941b869d50a1d |
Hashes for fast_cody-0.0.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e488bf7d3037909222c00e632dd51dc8538a63c369ab61b97eb4b16da041cbff |
|
MD5 | 57a01b416d66981c5b5a8bad7aba02ff |
|
BLAKE2b-256 | 88d959ce3ef304c749048c835d66267e9c77f8ce9e4f570d6067a25f450d7cf7 |
Hashes for fast_cody-0.0.6-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19eda5d928264d9c5665f1b2439f255a51f16a14973f2f728ef91ab9c4a6cf56 |
|
MD5 | e422e097df5a36aaee1501867739cd60 |
|
BLAKE2b-256 | a0fb229d171976022af0abc98b5665f0a9a5678d411c467a0e5972aa3639d908 |
Hashes for fast_cody-0.0.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2197b43668b02946c57f5af65fc09e5d5b0c242c720ac414d95cfb6ab2e67a4f |
|
MD5 | 0c4ae14d04124ee1372f6c485da95e25 |
|
BLAKE2b-256 | b29335b0fa1073bb78b1df2d14076e4a9beaf2a3129fb18548bf5c6c4f3c0e7d |
Hashes for fast_cody-0.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766014c9dba9150d8b9cfa1774b36f1243d456ee93d6a98526a643c506651426 |
|
MD5 | 50ec8a7d1d2baff4e20bb90c968ea406 |
|
BLAKE2b-256 | a003f09bda2499285732046a29a284e19fbeadf603639edde1244c2ca355498a |
Hashes for fast_cody-0.0.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1deb1c2a38d752bc9d33cf371c2300fed340f71f1a1c361b34e3101c5e285c85 |
|
MD5 | 22c3a1e489db3cdf3045169723da2bd1 |
|
BLAKE2b-256 | e936751a0c6ad8c69a47caf11388c6ed8874b61bbadf21bff0b59443c17782bf |
Hashes for fast_cody-0.0.6-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7547ed90efc63c250778c830f08d022752382776fcc4ea11689b5544d5c3f55f |
|
MD5 | dc7992e3042fa8171ad67e3ca3f9ef85 |
|
BLAKE2b-256 | b255894f51e2db94f30cdb90bdc9e3103e7377458156bb27f2e2b57371fd6254 |
Hashes for fast_cody-0.0.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d60541d9707844a60a6a71473f8fd19903ec25c476b37955450dde0ea519285 |
|
MD5 | d5177139cf7c78398b68233715cbfc32 |
|
BLAKE2b-256 | 76062753dfd94b4df2dc56ca0e86868afc2df690297e01689402286f91431c3c |
Hashes for fast_cody-0.0.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bea7c477c315d7b15e90a78f96eff2a821cb205db584364c3b4310c6b5893b29 |
|
MD5 | 6ef002af01d6a6a58e55c58f35b82693 |
|
BLAKE2b-256 | 43d4eef25734513e3f2e051b9d1092858a70659e73e305864266c58fcef53389 |
Hashes for fast_cody-0.0.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091e4ad5cb16d7f03d1aa12ce5d8803074c725846496aeaf048044813feb0612 |
|
MD5 | 6f4d24f0378e1afafebc9091db8fa0bd |
|
BLAKE2b-256 | 69791185b53399658d686ef308b8250d62ae50a5379dc60a98e2bb5d95198906 |
Hashes for fast_cody-0.0.6-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6c52ca8b1cb8b88337421dc0f3fab53e2293bb24f8522c9d28df42fbcbc005 |
|
MD5 | 29fad316e67c317a08bb399fc1add5bd |
|
BLAKE2b-256 | c14b92257ab2f6b7acabfb2bcdd5061fa61dc4f606256065da51e835b862e69d |
Hashes for fast_cody-0.0.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3726c7d4d717cd8528c197ff0f7f5a85b8b4e3f70f6b899ff3813cded5cac72c |
|
MD5 | fad2aef23081aaac95632c2e5e18c182 |
|
BLAKE2b-256 | ddaf9ce8a16c65882b8b36fd089355b92d61657e1a214e1f62a53d63feee4e00 |
Hashes for fast_cody-0.0.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64ecc17525e790c722d2b1625edcf2df641cd59af0e72a02d8b2de5f4ec0ed9 |
|
MD5 | 616eeaaefa3438bdc3333281a9ee2b8e |
|
BLAKE2b-256 | 43f8816e14ed7042eb07ef799f51a9801b678ae5d245cd499750d435366dbcb6 |
Hashes for fast_cody-0.0.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f33e287ee76d8073a297eb065dd430a9ae775d93f65553980535243fa71dabf |
|
MD5 | cbacff2fc76c0610de294a39cd2022cb |
|
BLAKE2b-256 | e5c9079d16941ad689469a2a052cab2db68107dd8909e4e294d4666654fd6007 |
Hashes for fast_cody-0.0.6-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa20dc78eb4bfcbc84f6c0fad9bd7d438c5f2f3141a0736e82d008d87ba6d1be |
|
MD5 | 053ee4811ab5d74e4132da863e9f1c52 |
|
BLAKE2b-256 | dd9acf02ecc9684e0ca048c0099fbeee015d110d3dfe1f9b1252b1b6912ebc4d |