From 4a17986e7a84a896f89a0acbc207fac178424e4a Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Wed, 7 Oct 2015 16:14:33 +0000
Subject: [PATCH] add total_energy to foo mapping

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5120 d63d8f72-b253-0410-a779-e742ad2e26cf
---
 crpptbx/TCV/tcv_requests_mapping.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/crpptbx/TCV/tcv_requests_mapping.m b/crpptbx/TCV/tcv_requests_mapping.m
index ef30ff45..b75e3003 100644
--- a/crpptbx/TCV/tcv_requests_mapping.m
+++ b/crpptbx/TCV/tcv_requests_mapping.m
@@ -254,6 +254,11 @@ switch lower(data_request)
   % extra TCV cases (not necessarily in official data_request name list)
   % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %
+ case '\results::total_energy'
+  mapping.timedim = 1;
+  mapping.gdat_timedim = 1;
+  mapping.method = 'tdiliuqe';
+  mapping.expression = '\results::total_energy:foo';
  case '\results::thomson:psiscatvol'
   mapping.timedim = 1;
   mapping.gdat_timedim = 1;
-- 
GitLab