fixed: wrong order in gridEvaluator
the surface/curve methods have output as first parameter, the volume has it as the third parameter. \o/ gotools!
This commit is contained in:
committed by
Knut Morten Okstad
parent
d5b076d0e6
commit
407b9e9bbc
@@ -249,7 +249,7 @@ ASMmxBase::VolumeVec ASMmxBase::establishBases(Go::SplineVolume* svol,
|
||||
} else {
|
||||
RealArray XYZ(ndim*ug.size()*vg.size()*wg.size());
|
||||
// Evaluate the spline surface at all points
|
||||
svol->gridEvaluator(XYZ,ug,vg,wg);
|
||||
svol->gridEvaluator(ug,vg,wg,XYZ);
|
||||
// Project the coordinates onto the new basis (the 2nd XYZ is dummy here)
|
||||
result[0].reset(Go::VolumeInterpolator::regularInterpolation(b1,b2,b3,
|
||||
ug,vg,wg,XYZ,ndim,
|
||||
|
||||
Reference in New Issue
Block a user