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