processings: fixed missing star/stop initializing

This commit is contained in:
Thorsten Liebig 2011-02-21 12:12:59 +01:00
parent 277b746462
commit f059ff5a58
2 changed files with 8 additions and 6 deletions

View File

@ -26,12 +26,6 @@ ProcessFields::ProcessFields(Engine_Interface_Base* eng_if) : Processing(eng_if)
m_DumpType = E_FIELD_DUMP;
// vtk-file is default
m_fileType = VTK_FILETYPE;
subSample[0]=1;
subSample[1]=1;
subSample[2]=1;
optResolution[0]=0;
optResolution[1]=0;
optResolution[2]=0;
m_SampleType = NONE;
SetPrecision(6);
m_dualTime = false;
@ -41,6 +35,8 @@ ProcessFields::ProcessFields(Engine_Interface_Base* eng_if) : Processing(eng_if)
numLines[n]=0;
posLines[n]=NULL;
discLines[n]=NULL;
subSample[n]=1;
optResolution[n]=0;
}
}

View File

@ -38,6 +38,12 @@ Processing::Processing(Engine_Interface_Base* eng_if)
m_dualMesh = false;
m_dualTime = false;
m_Mesh_Type = CARTESIAN_MESH;
for (int n=0;n<3;++n)
{
start[n]=0;
stop[n]=0;
}
}
Processing::~Processing()