From ef5ed708f56b83af76f8ff2ccfc19df09fc54177 Mon Sep 17 00:00:00 2001 From: Marcus Mohr <marcus.mohr@lmu.de> Date: Thu, 3 Apr 2025 15:37:24 +0200 Subject: [PATCH] Generate 2D diffusion operator w/o blending for the P2PlusBubble FE space --- generate/generate.py | 1 + generate/requirements.txt | 4 ++-- operators-diffusion.toml | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/generate/generate.py b/generate/generate.py index 507a0847..d3d2543f 100644 --- a/generate/generate.py +++ b/generate/generate.py @@ -265,6 +265,7 @@ def generate_operator( function_space.LagrangianFunctionSpace(2, symbolizer) ), "N1E1": function_space.N1E1Space(symbolizer), + "P2PlusBubble": function_space.P2PlusBubbleSpace(symbolizer), } geometries = { 2: element_geometry.TriangleElement(), diff --git a/generate/requirements.txt b/generate/requirements.txt index bbd26127..0c22a907 100644 --- a/generate/requirements.txt +++ b/generate/requirements.txt @@ -1,10 +1,10 @@ --extra-index-url https://test.pypi.org/simple/ # users with account on i10git.cs.fau.de can use ssh -# hog @ git+ssh://git@i10git.cs.fau.de/hyteg/hog@5cecb2d0c7cfb2449f80f6069a4fb6b4b3cb312d +# hog @ git+ssh://git@i10git.cs.fau.de/hyteg/hog@480cb0b5363ea1f4ba2be14d6a91cde5e2ddbdd2 # others should prefer https -hog @ git+https://i10git.cs.fau.de/hyteg/hog@5cecb2d0c7cfb2449f80f6069a4fb6b4b3cb312d +hog @ git+https://i10git.cs.fau.de/hyteg/hog@480cb0b5363ea1f4ba2be14d6a91cde5e2ddbdd2 tomli >= 1.1.0 ; python_version < "3.11" clang-format diff --git a/operators-diffusion.toml b/operators-diffusion.toml index 5124cc2e..7da07647 100644 --- a/operators-diffusion.toml +++ b/operators-diffusion.toml @@ -23,6 +23,14 @@ quadrature = 2 loop-strategy = "cubes" optimizations = ["moveconstants", "vectorize"] +[[diffusion]] +trial-space = "P2PlusBubble" +test-space = "P2PlusBubble" +dimensions = [2] +quadrature = 4 +loop-strategy = "cubes" +optimizations = ["moveconstants", "vectorize"] + [[diffusion]] trial-space = "P2" test-space = "P2" -- GitLab