Remove reallocatin of temporary local variables

This commit is contained in:
jakobtorben
2024-10-09 19:55:04 +02:00
parent 3ea5c5820e
commit 61d61541d6
2 changed files with 36 additions and 43 deletions

View File

@@ -591,6 +591,11 @@ template<class Scalar> class WellContributions;
private:
BlackoilWellModel(Simulator& simulator, const PhaseUsage& pu);
mutable BVector x_local_;
mutable BVector Ax_local_;
mutable BVector res_local_;
mutable GlobalEqVector linearize_res_local_;
};