| 323 | } |
| 324 | |
| 325 | void 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 |
no test coverage detected