| 49 | |
| 50 | |
| 51 | void BCell::removeCenterNode() { |
| 52 | auto* domain = OPS_GetDomain(); |
| 53 | if (center_node != 0) { |
| 54 | if (domain != 0) { |
| 55 | Node* nd = domain->removeNode(center_node->getTag()); |
| 56 | if (nd != 0) { |
| 57 | delete nd; |
| 58 | } |
| 59 | } |
| 60 | center_node = 0; |
| 61 | } |
| 62 | if (center_pc != 0) { |
| 63 | if (domain != 0) { |
| 64 | auto* pc = domain->removePressure_Constraint( |
| 65 | center_pc->getTag()); |
| 66 | if (pc != 0) { |
| 67 | delete pc; |
| 68 | } |
| 69 | } |
| 70 | center_pc = 0; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | void BCell::add(Particle* pt) { pts.push_back(pt); } |
| 75 |
no test coverage detected