Skip to content

Commit f7be2d7

Browse files
committed
Rename some variables
1 parent 42131c6 commit f7be2d7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/splines/batched_3d_spline_builder.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,13 @@ void Batched3dSplineTest()
319319
ddc::ChunkSpan const derivs1_lhs_view
320320
= ddc::detail::derivs(derivs1, ddc::detail::dmin<DDimI1>);
321321

322-
ddc::Chunk derivs1_lhs1_host_alloc(
322+
ddc::Chunk derivs1_lhs_host_alloc(
323323
ddc::DiscreteDomain<
324324
ddc::Deriv<I1>,
325325
DDimI2,
326326
DDimI3>(derivs_domain1, interpolation_domain2, interpolation_domain3),
327327
ddc::HostAllocator<double>());
328-
ddc::ChunkSpan const derivs1_lhs_host = derivs1_lhs1_host_alloc.span_view();
328+
ddc::ChunkSpan const derivs1_lhs_host = derivs1_lhs_host_alloc.span_view();
329329
ddc::for_each(
330330
derivs1_lhs_host.domain(),
331331
KOKKOS_LAMBDA(ddc::DiscreteElement<ddc::Deriv<I1>, DDimI2, DDimI3> const e) {
@@ -336,29 +336,29 @@ void Batched3dSplineTest()
336336
= evaluator.deriv(x0<I1>(), x2, x3, deriv_idx + shift - 1, 0, 0);
337337
});
338338
auto derivs1_lhs_alloc = ddc::create_mirror_view_and_copy(exec_space, derivs1_lhs_host);
339-
ddc::ChunkSpan const derivs1_lhs1 = derivs1_lhs_alloc.span_view();
339+
ddc::ChunkSpan const derivs1_lhs = derivs1_lhs_alloc.span_view();
340340

341341
ddc::parallel_for_each(
342342
exec_space,
343343
derivs1_lhs_view.domain(),
344344
KOKKOS_LAMBDA(
345345
typename decltype(derivs1_lhs_view
346346
.domain())::discrete_element_type const e) {
347-
derivs1_lhs_view(e) = derivs1_lhs1(DElem<ddc::Deriv<I1>, DDimI2, DDimI3>(e));
347+
derivs1_lhs_view(e) = derivs1_lhs(DElem<ddc::Deriv<I1>, DDimI2, DDimI3>(e));
348348
});
349349
}
350350

351351
if (s_bcr == ddc::BoundCond::HERMITE) {
352352
ddc::ChunkSpan const derivs1_rhs_view
353353
= ddc::detail::derivs(derivs1, ddc::detail::dmax<DDimI1>);
354354

355-
ddc::Chunk derivs1_rhs1_host_alloc(
355+
ddc::Chunk derivs1_rhs_host_alloc(
356356
ddc::DiscreteDomain<
357357
ddc::Deriv<I1>,
358358
DDimI2,
359359
DDimI3>(derivs_domain1, interpolation_domain2, interpolation_domain3),
360360
ddc::HostAllocator<double>());
361-
ddc::ChunkSpan const derivs1_rhs_host = derivs1_rhs1_host_alloc.span_view();
361+
ddc::ChunkSpan const derivs1_rhs_host = derivs1_rhs_host_alloc.span_view();
362362
ddc::for_each(
363363
derivs1_rhs_host.domain(),
364364
KOKKOS_LAMBDA(ddc::DiscreteElement<ddc::Deriv<I1>, DDimI2, DDimI3> const e) {
@@ -369,15 +369,15 @@ void Batched3dSplineTest()
369369
= evaluator.deriv(xN<I1>(), x2, x3, deriv_idx + shift - 1, 0, 0);
370370
});
371371
auto derivs1_rhs_alloc = ddc::create_mirror_view_and_copy(exec_space, derivs1_rhs_host);
372-
ddc::ChunkSpan const derivs1_rhs1 = derivs1_rhs_alloc.span_view();
372+
ddc::ChunkSpan const derivs1_rhs = derivs1_rhs_alloc.span_view();
373373

374374
ddc::parallel_for_each(
375375
exec_space,
376376
derivs1_rhs_view.domain(),
377377
KOKKOS_LAMBDA(
378378
typename decltype(derivs1_rhs_view
379379
.domain())::discrete_element_type const e) {
380-
derivs1_rhs_view(e) = derivs1_rhs1(DElem<ddc::Deriv<I1>, DDimI2, DDimI3>(e));
380+
derivs1_rhs_view(e) = derivs1_rhs(DElem<ddc::Deriv<I1>, DDimI2, DDimI3>(e));
381381
});
382382
}
383383

0 commit comments

Comments
 (0)