Skip to content

Commit aa45dc4

Browse files
committed
some more trailing comments
1 parent 66f6516 commit aa45dc4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/forces_tumor_cart.cc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ Real4 InteractionVelocity::Calculate(const Agent* lhs, const Agent* rhs) const {
7878

7979
real_t repulsion = NAN;
8080

81-
// two tumor cells
8281
if ((a_tumor != nullptr) && (b_tumor != nullptr)) {
83-
repulsion = kRepulsionTumorTumor; // std::sqrt(kRepulsionTumorTumor *
84-
// kRepulsionTumorTumor);
85-
// two CAR-T cells
82+
// two tumor cells
83+
// std::sqrt(kRepulsionTumorTumor * kRepulsionTumorTumor);
84+
repulsion = kRepulsionTumorTumor;
8685
} else if ((a_tumor == nullptr) && (b_tumor == nullptr)) {
87-
repulsion =
88-
kRepulsionCartCart; // std::sqrt(kRepulsionCartCart*kRepulsionCartCart);
86+
// two CAR-T cells
87+
// std::sqrt(kRepulsionCartCart*kRepulsionCartCart);
88+
repulsion = kRepulsionCartCart;
8989
} else {
9090
// one tumor cell and one CAR-T
9191
repulsion = std::sqrt(kRepulsionCartTumor * kRepulsionTumorCart);
@@ -103,16 +103,16 @@ Real4 InteractionVelocity::Calculate(const Agent* lhs, const Agent* rhs) const {
103103
real_t temp_a = 1.0 - distance / max_interaction_distance;
104104
// (1-d/S)^2
105105
temp_a *= temp_a;
106-
107-
real_t adhesion = NAN; // Initialize to NAN
108-
// two tumor cells
106+
// Initialize to NAN
107+
real_t adhesion = NAN;
109108
if ((a_tumor != nullptr) && (b_tumor != nullptr)) {
109+
// two tumor cells
110110
adhesion = kAdhesionTumorTumor;
111-
// two CAR-T cells
112111
} else if ((a_tumor == nullptr) && (b_tumor == nullptr)) {
112+
// two CAR-T cells
113113
adhesion = kAdhesionCartCart;
114-
// one tumor cell and one CAR-T
115114
} else {
115+
// one tumor cell and one CAR-T
116116
adhesion = std::sqrt(kAdhesionCartTumor * kAdhesionTumorCart);
117117
}
118118

0 commit comments

Comments
 (0)