Skip to content

Commit 13097be

Browse files
committed
Update data, unused params
1 parent adaf9f8 commit 13097be

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/axom/quest/GWNMethods.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class PolylineGWN2D
295295
poly_mesh,
296296
AXOM_LAMBDA(axom::IndexType cellIdx,
297297
const axom::numerics::Matrix<double>& coords,
298-
const axom::IndexType* /*nodeIds*/) {
298+
const axom::IndexType* AXOM_UNUSED_PARAM(nodeIds)) {
299299
segments_view[cellIdx] =
300300
SegmentType {Point2D {coords(0, 0), coords(1, 0)}, Point2D {coords(0, 1), coords(1, 1)}};
301301
});
@@ -649,7 +649,7 @@ class TriangleGWN3D
649649
tri_mesh,
650650
AXOM_LAMBDA(axom::IndexType cellIdx,
651651
const axom::numerics::Matrix<double>& coords,
652-
const axom::IndexType* /*nodeIds*/) {
652+
const axom::IndexType* AXOM_UNUSED_PARAM(nodeIds)) {
653653
triangles_view[cellIdx] =
654654
TriangleType {Point3D {(coords(0, 0) - shape_center[0]) / scale,
655655
(coords(1, 0) - shape_center[1]) / scale,

src/axom/quest/tests/quest_step_reader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct MiniTriangleGWN3D
6161
BBox3D* shapeBBoxPtr = &shapeBBox;
6262
mint::for_all_nodes<axom::SEQ_EXEC, mint::xargs::xyz>(
6363
&mesh,
64-
AXOM_LAMBDA(axom::IndexType /*nodeIdx*/, double x, double y, double z) {
64+
AXOM_LAMBDA(axom::IndexType AXOM_UNUSED_PARAM(nodeIdx), double x, double y, double z) {
6565
shapeBBoxPtr->addPoint(Point3D {x, y, z});
6666
});
6767

@@ -76,7 +76,7 @@ struct MiniTriangleGWN3D
7676
&mesh,
7777
AXOM_LAMBDA(axom::IndexType cellIdx,
7878
const axom::numerics::Matrix<double>& coords,
79-
const axom::IndexType* /*nodeIds*/) {
79+
const axom::IndexType* AXOM_UNUSED_PARAM(nodeIds)) {
8080
// clang-format off
8181
trisView[cellIdx] = Triangle3D {Point3D {(coords(0, 0) - ctr[0]) / scl, (coords(1, 0) - ctr[1]) / scl, (coords(2, 0) - ctr[2]) / scl},
8282
Point3D {(coords(0, 1) - ctr[0]) / scl, (coords(1, 1) - ctr[1]) / scl, (coords(2, 1) - ctr[2]) / scl},

0 commit comments

Comments
 (0)