From c7d24d08f1ce13234fa237e44c825b2cc8babb32 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Thu, 14 Jul 2011 13:42:33 +0200 Subject: [PATCH] fix: dump operator debug files in native format only --- FDTD/operator.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FDTD/operator.cpp b/FDTD/operator.cpp index 3fcca39..545cdeb 100644 --- a/FDTD/operator.cpp +++ b/FDTD/operator.cpp @@ -433,6 +433,8 @@ void Operator::DumpOperator2File(string filename) vtk_io->SetMeshLines(discLines,numLines,discLines_scaling); vtk_io->SetHeader("openEMS - Operator dump"); + vtk_io->SetNativeDump(true); + vtk_io->AddVectorField("vv",vv_temp,numLines); Delete_N_3DArray(vv_temp,numLines); vtk_io->AddVectorField("vi",vi_temp,numLines); @@ -528,6 +530,8 @@ void Operator::DumpPEC2File( string filename ) vtk_io->SetMeshLines(discLines,numLines,scaling); vtk_io->SetHeader("openEMS - PEC dump"); + vtk_io->SetNativeDump(true); + vtk_io->AddVectorField("PEC",pec,numLines); Delete_N_3DArray(pec,numLines); @@ -576,6 +580,8 @@ void Operator::DumpMaterial2File(string filename) vtk_io->SetMeshLines(discLines,numLines,discLines_scaling); vtk_io->SetHeader("openEMS - material dump"); + vtk_io->SetNativeDump(true); + vtk_io->AddVectorField("epsilon",epsilon,numLines); Delete_N_3DArray(epsilon,numLines); vtk_io->AddVectorField("mue",mue,numLines);