Skip to content

Commit

Permalink
Fix a bug in the ProcessInterpPoints module which would mix up the fi…
Browse files Browse the repository at this point in the history
…eld names in the interpolated pts file
  • Loading branch information
lackhove authored and Yan Bao committed Feb 27, 2015
1 parent 1bedd40 commit 5aa18cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions utilities/PostProcessing/FieldConvert/ProcessInterpPoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,9 @@ void ProcessInterpPoints::Process(po::variables_map &vm)
}
m_fromField->m_exp[j]->BwdTrans(m_fromField->m_exp[j]->GetCoeffs(),
m_fromField->m_exp[j]->UpdatePhys());
vector<string> fieldNames;
fieldNames.push_back(m_fromField->m_fielddef[0]->m_fields[j]);
m_f->m_fieldPts->SetFieldNames(fieldNames);

Array< OneD, NekDouble > newPts(m_f->m_fieldPts->GetNpoints());
m_f->m_fieldPts->AddField(newPts, m_fromField->m_fielddef[0]->m_fields[j]);
}

if(m_fromField->m_session->GetComm()->GetRank() == 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<metrics>
<metric type="file" id="1">
<file filename="chan3D_probe.dat">
<sha1>c0c636b4b341a329e723cf2fc81fc4e2068b548b</sha1>
<sha1>26a1c31c159b798db40df148d29355e9c378d97b</sha1>
</file>
</metric>
</metrics>
Expand Down

0 comments on commit 5aa18cc

Please sign in to comment.