diff --git a/generate/generate.py b/generate/generate.py index ffc23f4261c374d438d102d6d470b73b7dabd691..498711b54198a6050cf552dfda5a6eb1418b5041 100644 --- a/generate/generate.py +++ b/generate/generate.py @@ -63,7 +63,7 @@ def generate_toplevel_cmake( output_path = os.path.join(args.output, "CMakeLists.txt") with open(output_path, "w") as f: - print(f'add_compile_options( "-Wno-shadow" )', file=f) + # print(f'add_compile_options( "-Wno-shadow" )', file=f) print(f"", file=f) print(f"if(NOT WALBERLA_DOUBLE_ACCURACY)", file=f) print(f' add_compile_options( "-Wno-float-conversion" )', file=f) diff --git a/generate/requirements.txt b/generate/requirements.txt index 47881e160f4460387982f6f9fc6b63398783b007..8875f4e7fac84f761d9d290119b5fa18f7089e29 100644 --- a/generate/requirements.txt +++ b/generate/requirements.txt @@ -1,5 +1,5 @@ --extra-index-url https://test.pypi.org/simple/ -hfg @ git+ssh://git@i10git.cs.fau.de/terraneo/hyteg-form-generator.git@2a830d525314b1ec1d718720534267c485b5a9a7 +hfg @ git+ssh://git@i10git.cs.fau.de/terraneo/hyteg-form-generator.git@aeeb7d4c4f99e59d208a8d09a51522a7093fd7ff tomli >= 1.1.0 ; python_version < "3.11" -clang-format +# clang-format diff --git a/operators.toml b/operators.toml index a2e525ef9ff96632c2c0524c277f8d08101d30ff..5b1058fb6175af57089442161e98f921caae95cf 100644 --- a/operators.toml +++ b/operators.toml @@ -1,27 +1,36 @@ -[[curl_curl]] +# [[curl_curl]] +# trial-space = "N1E1" +# test-space = "N1E1" +# dimensions = [3] +# quadrature = 0 +# loop-strategy = "sawtooth" +# optimizations = ["moveconstants", "vectorize"] + +[[curl_curl_plus_mass]] trial-space = "N1E1" test-space = "N1E1" +form-space-args = { alpha_fem_space = "P1", beta_fem_space = "P1" } dimensions = [3] -quadrature = 0 +quadrature = "xiao_gimbutas_02" loop-strategy = "sawtooth" -optimizations = ["moveconstants", "vectorize"] +optimizations = ["moveconstants", "vectorize", "quadloops", "tabulate"] -[[diffusion]] -trial-space = "P1" -test-space = "P1" -dimensions = [2, 3] -quadrature = 0 -loop-strategy = "cubes" -optimizations = ["cutloops", "moveconstants", "vectorize"] +# [[diffusion]] +# trial-space = "P1" +# test-space = "P1" +# dimensions = [2, 3] +# quadrature = 0 +# loop-strategy = "cubes" +# optimizations = ["cutloops", "moveconstants", "vectorize"] [[div_k_grad]] trial-space = "P1" test-space = "P1" form-space-args.coefficient_function_space = "P1" dimensions = [2, 3] -quadrature = 2 +quadrature = "xiao_gimbutas_01" loop-strategy = "sawtooth" -optimizations = ["moveconstants", "vectorize", "quadloops"] +optimizations = ["moveconstants", "vectorize", "quadloops", "tabulate"] [[div_k_grad]] trial-space = "P2" @@ -32,10 +41,10 @@ quadrature = 2 loop-strategy = "sawtooth" optimizations = ["moveconstants", "vectorize", "quadloops"] -[[mass]] -trial-space = "P1" -test-space = "P1" -dimensions = [2, 3] -quadrature = 2 -loop-strategy = "sawtooth" -optimizations = ["moveconstants", "vectorize", "quadloops", "tabulate"] +# [[mass]] +# trial-space = "P1" +# test-space = "P1" +# dimensions = [2, 3] +# quadrature = 2 +# loop-strategy = "sawtooth" +# optimizations = ["moveconstants", "vectorize", "quadloops", "tabulate"]