MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / copyLtsTreeToLocal

Method copyLtsTreeToLocal

src/DynamicRupture/FrictionLaws/SourceTimeFunction.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10namespace seissol::dr::friction_law {
11void YoffeSTF::copyLtsTreeToLocal(seissol::initializer::Layer& layerData,
12 const seissol::initializer::DynamicRupture* dynRup,
13 real fullUpdateTime) {
14 const auto* concreteLts =
15 dynamic_cast<const seissol::initializer::LTSImposedSlipRatesYoffe*>(dynRup);
16 onsetTime = layerData.var(concreteLts->onsetTime);
17 tauS = layerData.var(concreteLts->tauS);
18 tauR = layerData.var(concreteLts->tauR);
19}
20
21real YoffeSTF::evaluate(real currentTime,
22 [[maybe_unused]] real timeIncrement,

Callers

nothing calls this directly

Calls 1

varMethod · 0.45

Tested by

no test coverage detected