<commit_before>#!/bin/bash

#set -x

source $LIBMESH_DIR/examples/run_common.sh

example_name=adaptivity_ex3
example_dir=examples/adaptivity/$example_name

run_example "$example_name" refinement_type=h
# Some solvers still give us trouble with too much p
run_example "$example_name" refinement_type=p max_r_steps=4
run_example "$example_name" refinement_type=hp max_r_steps=6
run_example "$example_name" refinement_type=matchedhp max_r_steps=4

# Let's get some 1D coverage too; that's cheap.
run_example "$example_name" dimension=1 refinement_type=h
# After enough p refinement we start breaking non-pivoting ILU preconditioners
run_example "$example_name" dimension=1 refinement_type=p max_r_steps=8
run_example "$example_name" dimension=1 refinement_type=hp max_r_steps=6
run_example "$example_name" dimension=1 refinement_type=matchedhp max_r_steps=4

# And try out another element type
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=h
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=p max_r_steps=6
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=hp max_r_steps=8
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=matchedhp max_r_steps=4

# Examples to use for benchmarking
benchmark_example 1 "$example_name" dimension=3 approx_type=LAGRANGE approx_order=2 refinement_type=h max_r_steps=12
benchmark_example 1 "$example_name" dimension=3 approx_type=HIERARCHIC approx_order=3 refinement_type=h<commit_msg>Cover more Elem+FE types in adaptivity ex3<commit_after>#!/bin/bash

#set -x

source $LIBMESH_DIR/examples/run_common.sh

example_name=adaptivity_ex3
example_dir=examples/adaptivity/$example_name

run_example "$example_name" refinement_type=h
# Some solvers still give us trouble with too much p
run_example "$example_name" refinement_type=p max_r_steps=4
run_example "$example_name" refinement_type=hp max_r_steps=6
run_example "$example_name" refinement_type=matchedhp max_r_steps=4

# Let's get some 1D coverage too; that's cheap.
run_example "$example_name" dimension=1 refinement_type=h
# After enough p refinement we start breaking non-pivoting ILU preconditioners
run_example "$example_name" dimension=1 refinement_type=p max_r_steps=8
run_example "$example_name" dimension=1 refinement_type=hp max_r_steps=6
run_example "$example_name" dimension=1 refinement_type=matchedhp max_r_steps=4

# And try out another element type
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=h
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=p max_r_steps=6
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=hp max_r_steps=8
run_example "$example_name" dimension=1 approx_type=HERMITE approx_order=3 refinement_type=matchedhp max_r_steps=4

# Examples to use for test coverage
run_example "$example_name" dimension=2 element_type=simplex approx_type=LAGRANGE approx_order=2 refinement_type=h max_r_steps=3
run_example "$example_name" dimension=2 element_type=simplex complete=true approx_type=LAGRANGE approx_order=3 refinement_type=h max_r_steps=3
run_example "$example_name" dimension=2 element_type=simplex approx_type=HIERARCHIC approx_order=3 refinement_type=h max_r_steps=3
run_example "$example_name" dimension=2 element_type=simplex approx_type=CLOUGH singularity=false approx_order=3 refinement_type=h max_r_steps=3
run_example "$example_name" dimension=3 element_type=simplex extrusion=true approx_type=LAGRANGE approx_order=1 refinement_type=h max_r_steps=3
run_example "$example_name" dimension=3 element_type=simplex extrusion=true approx_type=LAGRANGE approx_order=2 refinement_type=h max_r_steps=3
run_example "$example_name" dimension=3 element_type=simplex extrusion=true complete=true approx_type=LAGRANGE approx_order=3 refinement_type=h max_r_steps=3

# Examples to use for benchmarking
benchmark_example 1 "$example_name" dimension=3 approx_type=LAGRANGE approx_order=2 refinement_type=h max_r_steps=12
benchmark_example 1 "$example_name" dimension=3 approx_type=HIERARCHIC approx_order=3 refinement_type=h
{'fraction_non_alphanumeric': 0.07173295454545454, 'fraction_numerical': 0.019886363636363636, 'mean_word_length': 10.639118457300276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3004564', 'n_tokens_mistral': 1408, 'n_tokens_neox': 1383, 'n_words': 317}