Skip to content

Commit

Permalink
All 3D elements + degrees + num layers
Browse files Browse the repository at this point in the history
  • Loading branch information
danshapero committed Jun 30, 2023
1 parent 5734495 commit 616e71e
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions demo/lbb-stability/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ results-2d.pdf: results-2d.json make_plots.py
python make_plots.py --input $< --output $@

results-2d.json: lbb-stability.py
python lbb-stability.py --dimension 2 --element mini --output $@
python lbb-stability.py --dimension 2 --element taylor-hood --output $@
python lbb-stability.py --dimension 2 --element crouzeix-raviart --output $@
for element in mini taylor-hood crouzeix-raviart; do \
python lbb-stability.py --dimension 2 --element $$element --output $@ ; \
done

results-3d.json: lbb-stability.py
@for element in mini taylor-hood crouzeix-raviart; do \
for num-layers in 1 2 3; do \
for vdegree in 1 2 3 4; do \
python lbb-stability.py \
--dimension 3 \
--element $$element \
--num-cells-min 4 \
--num-cells-max 32 \
--num-cells-step 2 \
--num-layers $$num-layers \
--vdegree $$vdegree \
--output $@ ; \
done \
done \
done

0 comments on commit 616e71e

Please sign in to comment.