| 294 | } // initializeOperatorState |
| 295 | |
| 296 | void |
| 297 | CIBStaggeredStokesOperator::deallocateOperatorState() |
| 298 | { |
| 299 | if (!d_is_initialized) return; |
| 300 | |
| 301 | IBAMR_TIMER_START(t_deallocate_operator_state); |
| 302 | |
| 303 | // Deallocate hierarchy math operations object. |
| 304 | if (!d_hier_math_ops_external) d_hier_math_ops.setNull(); |
| 305 | |
| 306 | // Deallocate the interpolation operators. |
| 307 | d_hier_bdry_fill->deallocateOperatorState(); |
| 308 | d_hier_bdry_fill.setNull(); |
| 309 | d_transaction_comps.clear(); |
| 310 | d_U_fill_pattern.setNull(); |
| 311 | d_P_fill_pattern.setNull(); |
| 312 | |
| 313 | // Indicate that the operator is NOT initialized. |
| 314 | d_is_initialized = false; |
| 315 | |
| 316 | IBAMR_TIMER_STOP(t_deallocate_operator_state); |
| 317 | return; |
| 318 | } // deallocateOperatorState |
| 319 | |
| 320 | void |
| 321 | CIBStaggeredStokesOperator::modifyRhsForBcs(Vec y) |
no test coverage detected