From 2526ab50318c9ed51ee0c03896d526e13de789cc Mon Sep 17 00:00:00 2001
From: Ponsuganth Ilangovan Ponkumar Ilango
 <pponkumar@geophysik.uni-muenchen.de>
Date: Mon, 8 Jul 2024 16:27:53 +0200
Subject: [PATCH] Update docstrings and toml

---
 generate/requirements.txt                     |  2 +-
 operators.toml                                | 30 +++++++++++++++++++
 ...2VectorToP1ElementwiseGradRhoByRhoDotU.hpp |  1 +
 ...1ElementwiseGradRhoByRhoDotUAnnulusMap.hpp |  1 +
 ...iseGradRhoByRhoDotUIcosahedralShellMap.hpp |  1 +
 5 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/generate/requirements.txt b/generate/requirements.txt
index 20411daf..d6582aae 100644
--- a/generate/requirements.txt
+++ b/generate/requirements.txt
@@ -1,5 +1,5 @@
 --extra-index-url https://test.pypi.org/simple/
 
-hog @ git+ssh://git@i10git.cs.fau.de/hyteg/hog@1e6c4081b8c3a85e7a4632241684af9f5c74fe2e
+hog @ git+https://i10git.cs.fau.de/hyteg/hog@94ff71ce05b3ee62fdd04c7b09c7ac3ee9a541c8
 tomli >= 1.1.0 ; python_version < "3.11"
 clang-format
diff --git a/operators.toml b/operators.toml
index 17cfbc0a..01bda864 100644
--- a/operators.toml
+++ b/operators.toml
@@ -358,3 +358,33 @@ quadrature    = 3
 loop-strategy = "sawtooth"
 optimizations = ["moveconstants", "vectorize", "quadloops"]
 blending      = "IcosahedralShellMap"
+
+[[grad_rho_by_rho_dot_u]]
+trial-space   = "P2Vector"
+test-space    = "P1"
+form-space-args.density_function_space = "P2"
+dimensions    = [2, 3]
+quadrature    = 3
+blending      = "IdentityMap"
+loop-strategy = "sawtooth"
+optimizations = ["quadloops"]
+
+[[grad_rho_by_rho_dot_u]]
+trial-space   = "P2Vector"
+test-space    = "P1"
+form-space-args.density_function_space = "P2"
+dimensions    = [2]
+quadrature    = 3
+blending      = "AnnulusMap"
+loop-strategy = "sawtooth"
+optimizations = ["quadloops"]
+
+[[grad_rho_by_rho_dot_u]]
+trial-space   = "P2Vector"
+test-space    = "P1"
+form-space-args.density_function_space = "P2"
+dimensions    = [3]
+quadrature    = 3
+blending      = "IcosahedralShellMap"
+loop-strategy = "sawtooth"
+optimizations = ["quadloops"]
diff --git a/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotU.hpp b/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotU.hpp
index 1487e6b3..6328e35f 100644
--- a/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotU.hpp
+++ b/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotU.hpp
@@ -54,6 +54,7 @@ namespace operatorgeneration {
 ///     v: test function  (space: Lagrange, degree: 1)
 ///     rho: coefficient    (space: Lagrange, degree: 2)
 ///
+///     ∫ ((∇ρ / ρ) · u) v
 
 class P2VectorToP1ElementwiseGradRhoByRhoDotU : public Operator< P2VectorFunction< real_t >, P1Function< real_t > >
 {
diff --git a/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUAnnulusMap.hpp b/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUAnnulusMap.hpp
index 7b5bb7c1..e94fb265 100644
--- a/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUAnnulusMap.hpp
+++ b/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUAnnulusMap.hpp
@@ -55,6 +55,7 @@ namespace operatorgeneration {
 ///     v: test function  (space: Lagrange, degree: 1)
 ///     rho: coefficient    (space: Lagrange, degree: 2)
 ///
+///     ∫ ((∇ρ / ρ) · u) v
 
 class P2VectorToP1ElementwiseGradRhoByRhoDotUAnnulusMap : public Operator< P2VectorFunction< real_t >, P1Function< real_t > >
 {
diff --git a/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUIcosahedralShellMap.hpp b/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUIcosahedralShellMap.hpp
index ed20b07a..0166e62c 100644
--- a/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUIcosahedralShellMap.hpp
+++ b/operators/grad_rho_by_rho_dot_u/P2VectorToP1ElementwiseGradRhoByRhoDotUIcosahedralShellMap.hpp
@@ -55,6 +55,7 @@ namespace operatorgeneration {
 ///     v: test function  (space: Lagrange, degree: 1)
 ///     rho: coefficient    (space: Lagrange, degree: 2)
 ///
+///     ∫ ((∇ρ / ρ) · u) v
 
 class P2VectorToP1ElementwiseGradRhoByRhoDotUIcosahedralShellMap
 : public Operator< P2VectorFunction< real_t >, P1Function< real_t > >
-- 
GitLab