Skip to content

Commit

Permalink
Remove spline_dim_type (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegouix authored Apr 19, 2024
1 parent 4ac3330 commit 203a86b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
4 changes: 0 additions & 4 deletions include/ddc/kernels/splines/spline_builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ class SplineBuilder
ddc::detail::TypeSeq<IDimX...>,
ddc::detail::TypeSeq<interpolation_mesh_type>>>;

template <typename Tag>
using spline_dim_type
= std::conditional_t<std::is_same_v<Tag, interpolation_mesh_type>, bsplines_type, Tag>;

using spline_domain_type =
typename ddc::detail::convert_type_seq_to_discrete_domain<ddc::type_seq_replace_t<
ddc::detail::TypeSeq<IDimX...>,
Expand Down
4 changes: 0 additions & 4 deletions include/ddc/kernels/splines/spline_evaluator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ class SplineEvaluator
ddc::detail::TypeSeq<IDimX...>,
ddc::detail::TypeSeq<interpolation_mesh_type>>>;

template <typename Tag>
using spline_dim_type
= std::conditional_t<std::is_same_v<Tag, interpolation_mesh_type>, bsplines_type, Tag>;

using spline_domain_type =
typename ddc::detail::convert_type_seq_to_discrete_domain<ddc::type_seq_replace_t<
ddc::detail::TypeSeq<IDimX...>,
Expand Down
6 changes: 0 additions & 6 deletions include/ddc/kernels/splines/spline_evaluator_2d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ class SplineEvaluator2D
ddc::detail::TypeSeq<IDimX...>,
ddc::detail::TypeSeq<interpolation_mesh_type1, interpolation_mesh_type2>>>;

template <typename Tag>
using spline_dim_type = std::conditional_t<
std::is_same_v<Tag, interpolation_mesh_type1>,
bsplines_type1,
std::conditional_t<std::is_same_v<Tag, interpolation_mesh_type2>, bsplines_type2, Tag>>;

using spline_domain_type =
typename ddc::detail::convert_type_seq_to_discrete_domain<ddc::type_seq_replace_t<
ddc::detail::TypeSeq<IDimX...>,
Expand Down

0 comments on commit 203a86b

Please sign in to comment.