Skip to content

Commit

Permalink
Update makefile for new solver opts
Browse files Browse the repository at this point in the history
  • Loading branch information
danshapero committed Jun 3, 2024
1 parent 4c83d52 commit 45f4741
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions demo/lbb-stability/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@ results-2d.pdf: results-2d.json make_plots.py
python make_plots.py --input $< --output $@

results-2d.json: lbb-stability.py
for element in mini taylor-hood crouzeix-raviart; do \
python lbb-stability.py --dimension 2 --element $$element --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 2 3 4; do \
python lbb-stability.py \
--dimension 3 \
--element $$element \
--log-num-cells-min 2 \
--log-num-cells-max 8 \
--num-layers $$num_layers \
--uvdegree $$vdegree \
--output $@ ; \
-dimension 3 \
-element $$element \
-log-num-cells-min 2 \
-log-num-cells-max 8 \
-num-layers $$num_layers \
-uvdegree $$vdegree \
-output $@ ; \
done \
done \
done

0 comments on commit 45f4741

Please sign in to comment.