allow node-interpolated hdf5 dump

pull/1/head
Thorsten Liebig 2010-05-12 11:09:04 +02:00
parent e756433aa6
commit a0c215a40c
2 changed files with 13 additions and 6 deletions

View File

@ -58,16 +58,21 @@ void ProcessFields::InitProcess()
unsigned int* NrLines;
double** Lines;
if (m_DumpMode==CELL_INTERPOLATE)
{
NrLines = numDLines;
Lines = discDLines;
}
else if (m_DumpMode==NO_INTERPOLATION)
if (m_DumpMode==NO_INTERPOLATION)
{
NrLines = numLines;
Lines = discLines;
}
else if (m_DumpMode==NODE_INTERPOLATE)
{
NrLines = numLines;
Lines = discLines;
}
else if (m_DumpMode==CELL_INTERPOLATE)
{
NrLines = numDLines;
Lines = discDLines;
}
else
return;

View File

@ -388,6 +388,8 @@ int ProcessFieldsTD::Process()
{
if (m_DumpMode==NO_INTERPOLATION)
DumpNoInterpol(m_fileName);
if (m_DumpMode==NODE_INTERPOLATE)
DumpNodeInterpol(m_fileName);
if (m_DumpMode==CELL_INTERPOLATE)
DumpCellInterpol(m_fileName);
}