You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment interpolate_parallel is implemented for BoutDataArray, and BoutDataset.interpolate_parallel() iterates over the member variables. This means that the coordinates get interpolated many times. It would probably be more efficient to implement either as a utility function that can be called on either a DataArray or a Dataset and then is called in BoutDataArray.interpolate_parallel() and BoutDataset.interpolate_parallel() on self, or to implement for BoutDataset (which should be mostly a copy-paste of the BoutDataArray.interpolate_parallel() code, and then in BoutDataArray.interpolate_parallel() convert the DataArray to a Dataset with one member variable, call the BoutDataset method, and convert back to a DataArray.
The text was updated successfully, but these errors were encountered:
At the moment
interpolate_parallel
is implemented forBoutDataArray
, andBoutDataset.interpolate_parallel()
iterates over the member variables. This means that the coordinates get interpolated many times. It would probably be more efficient to implement either as a utility function that can be called on either aDataArray
or aDataset
and then is called inBoutDataArray.interpolate_parallel()
andBoutDataset.interpolate_parallel()
onself
, or to implement forBoutDataset
(which should be mostly a copy-paste of theBoutDataArray.interpolate_parallel()
code, and then inBoutDataArray.interpolate_parallel()
convert theDataArray
to aDataset
with one member variable, call theBoutDataset
method, and convert back to aDataArray
.The text was updated successfully, but these errors were encountered: