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; unsigned int* NrLines;
double** Lines; double** Lines;
if (m_DumpMode==CELL_INTERPOLATE) if (m_DumpMode==NO_INTERPOLATION)
{
NrLines = numDLines;
Lines = discDLines;
}
else if (m_DumpMode==NO_INTERPOLATION)
{ {
NrLines = numLines; NrLines = numLines;
Lines = discLines; Lines = discLines;
} }
else if (m_DumpMode==NODE_INTERPOLATE)
{
NrLines = numLines;
Lines = discLines;
}
else if (m_DumpMode==CELL_INTERPOLATE)
{
NrLines = numDLines;
Lines = discDLines;
}
else else
return; return;

View File

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