From 5163c69e7ec797bd1d404c4d8111c7aa9d61a8e9 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 21 May 2010 10:14:09 +0200 Subject: [PATCH] fix: data size is MiB instead of MB --- FDTD/operator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FDTD/operator.cpp b/FDTD/operator.cpp index 18af0f6..89b81b6 100644 --- a/FDTD/operator.cpp +++ b/FDTD/operator.cpp @@ -289,8 +289,8 @@ void Operator::ShowStat() const cout << "------- Stat: FDTD Operator -------" << endl; cout << "Dimensions\t\t: " << numLines[0] << "x" << numLines[1] << "x" << numLines[2] << " = " << numLines[0]*numLines[1]*numLines[2] << " Cells (" << numLines[0]*numLines[1]*numLines[2]/1e6 << " MCells)" << endl; - cout << "Size of Operator\t: " << OpSize << " Byte (" << (double)OpSize/MBdiff << " MB) " << endl; - cout << "Size of Field-Data\t: " << FieldSize << " Byte (" << (double)FieldSize/MBdiff << " MB) " << endl; + cout << "Size of Operator\t: " << OpSize << " Byte (" << (double)OpSize/MBdiff << " MiB) " << endl; + cout << "Size of Field-Data\t: " << FieldSize << " Byte (" << (double)FieldSize/MBdiff << " MiB) " << endl; cout << "-----------------------------------" << endl; cout << "Voltage excitations\t: " << Exc->E_Count << endl; cout << "Current excitations\t: " << Exc->Curr_Count << endl;