fix: alpha dump not in drawing units

pull/1/head
Thorsten Liebig 2010-08-05 20:41:42 +02:00
parent 742713bed0
commit 992924a578
1 changed files with 4 additions and 1 deletions

View File

@ -95,6 +95,9 @@ void ProcessFields::InitProcess()
#ifdef OUTPUT_IN_DRAWINGUNITS #ifdef OUTPUT_IN_DRAWINGUNITS
array[i] = Lines[n][i]; array[i] = Lines[n][i];
#else #else
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(); array[i] = Lines[n][i] * Op->GetGridDelta();
#endif #endif
} }