Hi Ankang, Thanks for the bug report and potential fix! We just merged a branch that has some fixes for FieldConvert in -- not sure if we patched this but if not we can add it as a fix branch. Cheers, Dave
On 2 Jul 2017, at 10:41, Ankang Gao <gaoak@pku.edu.cn> wrote:
Hello,
ProcessInterpPointDataToFld assigns the coordinates values instead of values of physical quantities when I using it to interpolate a fld from given points set in version 4.4.0
I find it is because line 131 in void Nektar::FieldUtils::ProcessInterpPointDataToFld::Process(po::variables_map & vm) is not right. 131 m_f->m_exp[j]->SetPhys(i, outPts->GetPointVal(j, i));
It should use an offset=outPts->GetDim() when assigning value to m_exp, like the follows m_f->m_exp[j]->SetPhys(i, outPts->GetPointVal(outPts->GetDim()+j, i));
Best wishes
Ankang _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users