From 992924a5788dd89250f9c8ff048d9b3b3b8fb573 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Thu, 5 Aug 2010 20:41:42 +0200 Subject: [PATCH] fix: alpha dump not in drawing units --- FDTD/processfields.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FDTD/processfields.cpp b/FDTD/processfields.cpp index b5a2f9d..1d65823 100644 --- a/FDTD/processfields.cpp +++ b/FDTD/processfields.cpp @@ -95,7 +95,10 @@ void ProcessFields::InitProcess() #ifdef OUTPUT_IN_DRAWINGUNITS array[i] = Lines[n][i]; #else - array[i] = Lines[n][i] * Op->GetGridDelta(); + if ((m_Mesh_Type==CYLINDRICAL_MESH) && (n==1)) //check for alpha-direction + array[i] = Lines[n][i]; + else + array[i] = Lines[n][i] * Op->GetGridDelta(); #endif } //write to dataset