| 146 | } // registerConstrainedVelocityFunction |
| 147 | |
| 148 | void |
| 149 | CIBMethod::registerExternalForceTorqueFunction(ExternalForceTorqueFcnPtr forcetorquefcn, void* ctx, unsigned int part) |
| 150 | { |
| 151 | #if !defined(NDEBUG) |
| 152 | TBOX_ASSERT(part < d_num_rigid_parts); |
| 153 | #endif |
| 154 | |
| 155 | registerExternalForceTorqueFunction(ExternalForceTorqueFcnData(forcetorquefcn, ctx), part); |
| 156 | |
| 157 | return; |
| 158 | } // registerExternalForceTorqueFunction |
| 159 | |
| 160 | void |
| 161 | CIBMethod::registerExternalForceTorqueFunction(const ExternalForceTorqueFcnData& data, unsigned int part) |
no test coverage detected