fix: dump operator debug files in native format only

pull/1/head
Thorsten Liebig 2011-07-14 13:42:33 +02:00
parent 68bc235058
commit c7d24d08f1
1 changed files with 6 additions and 0 deletions

View File

@ -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);