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

Function initializeMemoryLayout

src/Initializer/InitProcedure/InitModel.cpp:325–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325void initializeMemoryLayout(LtsInfo& ltsInfo, seissol::SeisSol& seissolInstance) {
326 const auto& seissolParams = seissolInstance.getSeisSolParameters();
327
328 seissolInstance.getMemoryManager().initializeMemoryLayout();
329
330 seissolInstance.timeManager().addClusters(ltsInfo.timeStepping,
331 ltsInfo.meshStructure,
332 seissolInstance.getMemoryManager(),
333 seissolParams.model.plasticity);
334
335 // set tv for all time clusters (this needs to be done, after the time clusters start existing)
336 if (seissolParams.model.plasticity) {
337 seissolInstance.timeManager().setTv(seissolParams.model.tv);
338 }
339
340 seissolInstance.getMemoryManager().fixateBoundaryLtsTree();
341}
342
343} // namespace
344

Callers 1

initModelMethod · 0.85

Calls 4

addClustersMethod · 0.80
fixateBoundaryLtsTreeMethod · 0.80
setTvMethod · 0.45

Tested by

no test coverage detected