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

Function Clear

Src/FFT/AMReX_FFT.cpp:56–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void Clear ()
57{
58 for (auto& [k, p] : s_plans_d) {
59 Plan<double>::destroy_vendor_plan(p);
60 }
61
62 for (auto& [k, p] : s_plans_f) {
63 Plan<float>::destroy_vendor_plan(p);
64 }
65
66 s_plans_d.clear();
67 s_plans_f.clear();
68}
69
70PlanD* get_vendor_plan_d (Key const& key)
71{

Callers 1

FinalizeFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected