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

Method resetLagrangianForceFunction

src/IB/IBMethod.cpp:1944–1954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1942/////////////////////////////// PRIVATE //////////////////////////////////////
1943
1944void
1945IBMethod::resetLagrangianForceFunction(const double init_data_time, const bool initial_time)
1946{
1947 if (!d_ib_force_fcn) return;
1948 for (int ln = 0; ln <= d_hierarchy->getFinestLevelNumber(); ++ln)
1949 {
1950 if (!d_l_data_manager->levelContainsLagrangianData(ln)) continue;
1951 d_ib_force_fcn->initializeLevelData(d_hierarchy, ln, init_data_time, initial_time, d_l_data_manager);
1952 }
1953 return;
1954} // resetLagrangianForceFunction
1955
1956void
1957IBMethod::resetLagrangianSourceFunction(const double init_data_time, const bool initial_time)

Callers

nothing calls this directly

Calls 3

getFinestLevelNumberMethod · 0.45
initializeLevelDataMethod · 0.45

Tested by

no test coverage detected