mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove reallocatin of temporary local variables
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user