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

Function Finalize

Src/Extern/SUNDIALS/AMReX_Sundials_Core.cpp:37–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void Finalize()
38{
39 // Cleanup the memory helpers
40 MemoryHelper::Finalize();
41
42 // Clean up the sundials contexts
43 for (int i = 0; i < initialized.size(); i++) {
44 initialized[i] = 0;
45 delete the_sundials_context[i];
46 the_sundials_context[i] = nullptr;
47 }
48}
49
50::sundials::Context* The_Sundials_Context(int i)
51{

Callers 1

~InSituBridgeMethod · 0.50

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected