| 995 | } // spreadForce |
| 996 | |
| 997 | void |
| 998 | IBMethod::spreadLinearizedForce(const int f_data_idx, |
| 999 | RobinPhysBdryPatchStrategy* f_phys_bdry_op, |
| 1000 | const std::vector<Pointer<RefineSchedule<NDIM>>>& f_prolongation_scheds, |
| 1001 | const double data_time) |
| 1002 | { |
| 1003 | std::vector<Pointer<LData>>*F_jac_data, *X_LE_data; |
| 1004 | bool *F_jac_needs_ghost_fill, *X_LE_needs_ghost_fill; |
| 1005 | getLinearizedForceData(&F_jac_data, &F_jac_needs_ghost_fill); |
| 1006 | getLECouplingPositionData(&X_LE_data, &X_LE_needs_ghost_fill, data_time); |
| 1007 | resetAnchorPointValues(*F_jac_data, |
| 1008 | /*coarsest_ln*/ 0, |
| 1009 | /*finest_ln*/ d_hierarchy->getFinestLevelNumber()); |
| 1010 | d_l_data_manager->spread(f_data_idx, |
| 1011 | *F_jac_data, |
| 1012 | *X_LE_data, |
| 1013 | f_phys_bdry_op, |
| 1014 | f_prolongation_scheds, |
| 1015 | data_time, |
| 1016 | *F_jac_needs_ghost_fill, |
| 1017 | *X_LE_needs_ghost_fill); |
| 1018 | *F_jac_needs_ghost_fill = false; |
| 1019 | *X_LE_needs_ghost_fill = false; |
| 1020 | return; |
| 1021 | } // spreadLinearizedForce |
| 1022 | |
| 1023 | void |
| 1024 | IBMethod::constructInterpOp(Mat& J, |
no test coverage detected