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 hashes)

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 hashes)

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 hashes)

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 hashes)

Uploaded CPython 3.11 macOS 10.15+ x86-64

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

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 hashes)

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 hashes)

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 hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

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 hashes)

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 hashes)

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 hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

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 hashes)

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 hashes)

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 hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

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