Skip to content

Commit e41dd2c

Browse files
committed
clang-format 14
1 parent 6492cf3 commit e41dd2c

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

core/base/implicitTriangulation/ImplicitTriangulation.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3155,9 +3155,11 @@ int ttk::ImplicitTriangulation::preconditionDistributedCells() {
31553155
localBBox_z_max{this->localGridOffset_[2]};
31563156

31573157
#ifdef TTK_ENABLE_OPENMP
3158-
#pragma omp parallel for reduction( \
3159-
min : localBBox_x_min, localBBox_y_min, localBBox_z_min) \
3160-
reduction(max : localBBox_x_max, localBBox_y_max, localBBox_z_max)
3158+
#pragma omp parallel for reduction( \
3159+
min \
3160+
: localBBox_x_min, localBBox_y_min, localBBox_z_min) \
3161+
reduction(max \
3162+
: localBBox_x_max, localBBox_y_max, localBBox_z_max)
31613163
#endif
31623164
for(SimplexId lcid = 0; lcid < nLocCells; ++lcid) {
31633165
// only keep non-ghost cells

core/base/implicitTriangulation/ImplicitTriangulation.h

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,33 +110,29 @@ namespace ttk {
110110

111111
virtual int getTetrahedronEdge(const SimplexId &tetId,
112112
const int &id,
113-
SimplexId &edgeId) const
114-
= 0;
113+
SimplexId &edgeId) const = 0;
115114

116115
int getTetrahedronEdges(std::vector<std::vector<SimplexId>> &edges) const;
117116

118117
virtual int getTetrahedronTriangle(const SimplexId &tetId,
119118
const int &id,
120-
SimplexId &triangleId) const
121-
= 0;
119+
SimplexId &triangleId) const = 0;
122120

123121
int getTetrahedronTriangles(
124122
std::vector<std::vector<SimplexId>> &triangles) const;
125123

126124
virtual int getTetrahedronNeighbor(const SimplexId &tetId,
127125
const int &localNeighborId,
128-
SimplexId &neighborId) const
129-
= 0;
126+
SimplexId &neighborId) const = 0;
130127

131-
virtual SimplexId getTetrahedronNeighborNumber(const SimplexId &tetId) const
132-
= 0;
128+
virtual SimplexId
129+
getTetrahedronNeighborNumber(const SimplexId &tetId) const = 0;
133130

134131
int getTetrahedronNeighbors(std::vector<std::vector<SimplexId>> &neighbors);
135132

136133
virtual int getTetrahedronVertex(const SimplexId &tetId,
137134
const int &localVertexId,
138-
SimplexId &vertexId) const
139-
= 0;
135+
SimplexId &vertexId) const = 0;
140136

141137
SimplexId getTriangleEdgeNumberInternal(
142138
const SimplexId & /*triangleId*/) const override {
@@ -159,12 +155,10 @@ namespace ttk {
159155

160156
virtual int getTriangleNeighbor(const SimplexId &triangleId,
161157
const int &localNeighborId,
162-
SimplexId &neighborId) const
163-
= 0;
158+
SimplexId &neighborId) const = 0;
164159

165160
virtual SimplexId
166-
getTriangleNeighborNumber(const SimplexId &triangleId) const
167-
= 0;
161+
getTriangleNeighborNumber(const SimplexId &triangleId) const = 0;
168162

169163
int getTriangleNeighbors(std::vector<std::vector<SimplexId>> &neighbors);
170164

0 commit comments

Comments
 (0)