MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / computeMobilityRegularization

Method computeMobilityRegularization

src/IB/CIBMethod.cpp:1107–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1105} // getInterpolatedVelocity
1106
1107void
1108CIBMethod::computeMobilityRegularization(Vec D, Vec L, const double scale)
1109{
1110 const int struct_ln = getStructuresLevelNumber();
1111 Pointer<LData> reg_data = d_l_data_manager->getLData("regulator", struct_ln);
1112 Vec W = reg_data->getVec();
1113 VecPointwiseMult(D, L, W);
1114 VecScale(D, scale);
1115
1116 return;
1117} // computeMobilityRegularization
1118
1119unsigned int
1120CIBMethod::getNumberOfNodes(const unsigned int struct_no) const

Callers 2

applyMethod · 0.80
MatVecMult_KMInvMethod · 0.80

Calls 2

getLDataMethod · 0.80
getVecMethod · 0.80

Tested by

no test coverage detected