Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[example] Add implicit fem example #4352

Merged
merged 4 commits into from
Feb 22, 2022

Conversation

BillXu2000
Copy link
Collaborator

An implicit fem example, and also an example to show the usage of dynamic indexing.
Notes for reviewer:

  1. Some kernels might be too magic or not fully compatible with Taichi syntax concept.
  2. _ti_core.GGUI_AVAILABLE is necessary for ggui environment detection, but I am not sure whether it is safe to use it in example for long.

@netlify
Copy link

netlify bot commented Feb 21, 2022

✔️ Deploy Preview for docsite-preview ready!

🔨 Explore the source changes: 0ee865e

🔍 Inspect the deploy log: https://app.netlify.com/sites/docsite-preview/deploys/62144ec2fdb3a300072a7e82

😎 Browse the preview: https://deploy-preview-4352--docsite-preview.netlify.app

Copy link
Contributor

@strongoier strongoier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks!

BTW using _ti_core.GGUI_AVAILABLE is OK for now. We will design & add new APIs for detecting such things in the future.

python/taichi/examples/simulation/implicit_fem.py Outdated Show resolved Hide resolved
python/taichi/examples/simulation/implicit_fem.py Outdated Show resolved Hide resolved
@strongoier strongoier merged commit c466797 into taichi-dev:master Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants