From 456c5f3e350a5a6c96673d9912c730f3dad09b42 Mon Sep 17 00:00:00 2001
From: Timo Koch <timokoch@math.uio.no>
Date: Tue, 4 Apr 2023 16:06:42 +0000
Subject: [PATCH] [exercise][model] Make sure task 1-5 can be done without
 imageIntensity interface

---
 exercises/exercise-model/main.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exercises/exercise-model/main.cc b/exercises/exercise-model/main.cc
index fe747afe..a036a6eb 100644
--- a/exercises/exercise-model/main.cc
+++ b/exercises/exercise-model/main.cc
@@ -161,7 +161,7 @@ int main(int argc, char** argv)
 
     // We initialize the VTK output module and write out the initial concentration field
     // VtkOutputModule<GridVariables, SolutionVector> vtkWriter(*gridVariables, sol, problem->name());
-    // vtkWriter.addVolumeVariable([](const auto& vv){ return vv.imageIntensity(); }, "imageIntensity");
+    // vtkWriter.addVolumeVariable([](const auto& vv){ return vv.priVar(0); }, "imageIntensity");
     // vtkWriter.write(0.0);
 
     // We instantiate time loop using start and end time as well as
-- 
GitLab