MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / Finalize

Method Finalize

Src/Extern/SUNDIALS/AMReX_SUNMemory.cpp:177–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void MemoryHelper::Finalize()
178{
179 for (int i = 0; i < initialized.size(); i++) {
180 initialized[i] = 0;
181 delete the_sunmemory_helper[i];
182 the_sunmemory_helper[i] = nullptr;
183 }
184}
185
186MemoryHelper* The_SUNMemory_Helper(int i)
187{

Callers 1

finalizeMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected