From 7ca0ba59f2f6c7d2f4b72f21d791047d6651484e Mon Sep 17 00:00:00 2001
From: Stephan Hilb <stephan@ecshi.net>
Date: Sun, 9 Jan 2022 18:59:14 +0100
Subject: [PATCH] add comments

---
 src/image.jl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/image.jl b/src/image.jl
index 609c9a7..0cf06e5 100644
--- a/src/image.jl
+++ b/src/image.jl
@@ -278,11 +278,15 @@ function project_qi_lagrange!(u::FeFunction, img)
             # size: nrdims
             value = evaluate(f, xhat)
             # size: nldofs
+            # actually: transformation to barycentric coordinates!
             phix = evaluate_basis(space.element, xhat)
 
             # no integration element used
             #u.data[gdofs] .+= qw[k] ./ area_refel .* 3 .* value * phix'
             u.data[gdofs] .+= qw[k] ./ area_refel * value * (12 .* phix' .- 3)
+
+            #rhox = SA[-12 -12; 12 0; 0 12] * xhat + SA[9, -3, -3]
+            #u.data[gdofs] .+= qw[k] ./ area_refel * value * rhox'
         end
         gdofcount[gdofs] .+= 1
     end
-- 
GitLab