diff --git a/include/ddc/kernels/splines/spline_builder_batched.hpp b/include/ddc/kernels/splines/spline_builder_batched.hpp index 12f1771c5..26182c49d 100644 --- a/include/ddc/kernels/splines/spline_builder_batched.hpp +++ b/include/ddc/kernels/splines/spline_builder_batched.hpp @@ -127,6 +127,24 @@ class SplineBuilderBatched return spline_tr_domain_type(bsplines_domain(), batch_domain()); } + derivs_domain_type derivs_xmin_domain() const noexcept + { + return ddc::replace_dim_of( + vals_domain(), + ddc::DiscreteDomain( + ddc::DiscreteElement(1), + ddc::DiscreteVector(s_nbc_xmin))); + } + + derivs_domain_type derivs_xmax_domain() const noexcept + { + return ddc::replace_dim_of( + vals_domain(), + ddc::DiscreteDomain( + ddc::DiscreteElement(1), + ddc::DiscreteVector(s_nbc_xmax))); + } + int offset() const noexcept { return spline_builder.offset();