Skip to content

Commit

Permalink
Optimization for libCEED PA removing objects for QFunction data assem…
Browse files Browse the repository at this point in the history
…bly after they are no longer needed
  • Loading branch information
sebastiangrimberg committed Apr 25, 2023
1 parent 19a4503 commit 0c5952d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fem/ceed/interface/integrator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ class Integrator : public Operator

CeedOperatorDestroy(&build_oper);
CeedQFunctionDestroy(&build_qfunc);

CeedVectorDestroy(&node_coords);
node_coords = nullptr;
delete coeff;
coeff = nullptr;
}

std::string apply_func = !use_mf ? info.apply_func :
Expand Down

0 comments on commit 0c5952d

Please sign in to comment.