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

Method ODEVector

src/Numerical/ODEVector.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26ODEVector::ODEVector(std::vector<real*> storages, std::vector<std::size_t> sizes)
27 : storages(std::move(storages)), sizes(std::move(sizes)) {
28 std::size_t curOffset = 0;
29 for (const unsigned long size : this->sizes) {
30 offsets.push_back(curOffset);
31 curOffset += size;
32 }
33}
34
35void ODEVector::updateStoragesAndSizes(std::vector<real*> newStorages,
36 std::vector<std::size_t> newSizes) {

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected