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
This is useful for example for the Semi-Lagrangian scheme. However it is more common to use the operator() to evaluate the spline at the coordinates associated with the function. It is therefore common to call the function with the following code:
The batched
operator()
in SplineEvaluator takes the coordinates for the evaluation as argument:ddc/include/ddc/kernels/splines/spline_evaluator.hpp
Lines 263 to 273 in 98c1fc3
This is useful for example for the Semi-Lagrangian scheme. However it is more common to use the
operator()
to evaluate the spline at the coordinates associated with the function. It is therefore common to call the function with the following code:The lines:
lead to excessive code repetition and unnecessary memory allocation.
The addition of a new
operator()
defined as:would avoid this.
The text was updated successfully, but these errors were encountered: