Skip to content

Commit 085f4c3

Browse files
committed
More
1 parent ff70156 commit 085f4c3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/cart_cell.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Real3 CartCell::CalculateDisplacement(const InteractionForce* force,
153153
// We check for every neighbor object if they touch us, i.e. push us
154154
// away and agreagate the velocities
155155

156-
uint64_t non_zero_neighbor_forces = 0; // NOLINT
156+
uint64_t non_zero_neighbor_forces = 0;
157157
if (!IsStatic()) {
158158
auto* ctxt = Simulation::GetActive()->GetExecutionContext();
159159
auto calculate_neighbor_forces =
@@ -190,7 +190,7 @@ Real3 CartCell::CalculateDisplacement(const InteractionForce* force,
190190
// consumption/ secretion
191191
real_t CartCell::ConsumeSecreteSubstance(int substance_id,
192192
real_t old_concentration) {
193-
real_t res = NAN; // NOLINT
193+
real_t res = NAN;
194194
if (substance_id == oxygen_dgrid_->GetContinuumId()) {
195195
// consuming oxygen
196196
res = (old_concentration + constant1_oxygen_) / constant2_oxygen_;

src/cart_cell.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ class CartCell : public Cell {
267267
/// It inherits from the base Behavior class and implements the Run method to
268268
/// execute the state control logic during simulation steps.
269269
struct StateControlCart : public Behavior {
270+
// NOLINTNEXTLINE(llvm-else-after-return, moderinize-type-traits,
271+
// cppcoreguidelines-owning-memory)
270272
BDM_BEHAVIOR_HEADER(StateControlCart, Behavior, 1);
271273

272274
StateControlCart() { AlwaysCopyToNew(); }

src/tumor_cell.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ class TumorCell : public Cell {
330330
/// necrosis based on oxygen levels and other environmental factors.
331331

332332
struct StateControlGrowProliferate : public Behavior {
333+
// NOLINTNEXTLINE(llvm-else-after-return, moderinize-type-traits,
334+
// cppcoreguidelines-owning-memory)
333335
BDM_BEHAVIOR_HEADER(StateControlGrowProliferate, Behavior, 1);
334336

335337
StateControlGrowProliferate() { AlwaysCopyToNew(); }

0 commit comments

Comments
 (0)