| 120 | } // ~CIBMethod |
| 121 | |
| 122 | void |
| 123 | CIBMethod::registerConstrainedVelocityFunction(ConstrainedNodalVelocityFcnPtr nodalvelfcn, |
| 124 | ConstrainedCOMVelocityFcnPtr comvelfcn, |
| 125 | void* ctx, |
| 126 | unsigned int part) |
| 127 | { |
| 128 | #if !defined(NDEBUG) |
| 129 | TBOX_ASSERT(part < d_num_rigid_parts); |
| 130 | #endif |
| 131 | |
| 132 | registerConstrainedVelocityFunction(ConstrainedVelocityFcnsData(nodalvelfcn, comvelfcn, ctx), part); |
| 133 | |
| 134 | return; |
| 135 | } // registerConstrainedVelocityFunction |
| 136 | |
| 137 | void |
| 138 | CIBMethod::registerConstrainedVelocityFunction(const ConstrainedVelocityFcnsData& data, unsigned int part) |