Skip to content
Snippets Groups Projects
Unverified Commit 30069877 authored by Matt Smith's avatar Matt Smith Committed by GitHub
Browse files

Vectorize local_grad and weak_local_grad (#87)


* vectorize local_grad and weak_local_grad

* added stack argument to local_grad/weak_local_grad

* add test for gradient using op

* propagate stack argument

* tweak comment to avoid flake8 warning

* stack -> (not) nested

* add visualization to gradient test

* disable strong form gradient test for now

* minor cosmetic changes

* tweak local_div/weak_local_div vectorization to work with both nested and non-nested arrays

* suppress pylint false positives

* remove inverse_mass around grad/div in strong form tests

* add check for valid 'form' argument

* remove unneeded flux terms from strong form tests

* Tweak phrasing: "no jumps" instead of "smooth"

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>
parent e4ad160b
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment