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

Method resetLagrangianSourceFunction

src/IB/IBMethod.cpp:1956–1966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1954} // resetLagrangianForceFunction
1955
1956void
1957IBMethod::resetLagrangianSourceFunction(const double init_data_time, const bool initial_time)
1958{
1959 if (!d_ib_source_fcn) return;
1960 for (int ln = 0; ln <= d_hierarchy->getFinestLevelNumber(); ++ln)
1961 {
1962 if (!d_l_data_manager->levelContainsLagrangianData(ln)) continue;
1963 d_ib_source_fcn->initializeLevelData(d_hierarchy, ln, init_data_time, initial_time, d_l_data_manager);
1964 }
1965 return;
1966} // resetLagrangianSourceFunction
1967
1968void
1969IBMethod::updateIBInstrumentationData(const int timestep_num, const double data_time)

Callers

nothing calls this directly

Calls 3

getFinestLevelNumberMethod · 0.45
initializeLevelDataMethod · 0.45

Tested by

no test coverage detected