diff --git a/FDTD/operator.cpp b/FDTD/operator.cpp index 349b303..ab921b9 100644 --- a/FDTD/operator.cpp +++ b/FDTD/operator.cpp @@ -413,17 +413,17 @@ void Operator::DumpMaterial2File(string filename) cout << "Dumping material information to vtk file: " << filename << " ..." << flush; - FDTD_FLOAT*** epsilon; - FDTD_FLOAT*** mue; - FDTD_FLOAT*** kappa; - FDTD_FLOAT*** sigma; + FDTD_FLOAT**** epsilon; + FDTD_FLOAT**** mue; + FDTD_FLOAT**** kappa; + FDTD_FLOAT**** sigma; unsigned int pos[3]; double inMat[4]; - epsilon = Create3DArray( numLines); - mue = Create3DArray( numLines); - kappa = Create3DArray( numLines); - sigma = Create3DArray( numLines); + epsilon = Create_N_3DArray( numLines); + mue = Create_N_3DArray( numLines); + kappa = Create_N_3DArray( numLines); + sigma = Create_N_3DArray( numLines); for (pos[0]=0;pos[0]