Added destructor for WellContributionsOCLContainer

This commit is contained in:
Jose Eduardo Bueno 2020-09-28 09:15:17 -03:00
parent d236079173
commit d653873735
2 changed files with 5 additions and 1 deletions

View File

@ -110,4 +110,8 @@ namespace bda
applyStdWells(x, y);
}
}
WellContributionsOCLContainer::~WellContributionsOCLContainer(){
toOrder.clear();
}
} // end namespace bda

View File

@ -52,7 +52,7 @@ namespace bda
public:
WellContributionsOCLContainer() {};
~WellContributionsOCLContainer() {};
~WellContributionsOCLContainer();
void apply(cl::Buffer& x, cl::Buffer& y);
void init(Opm::WellContributions &wellContribs, int Nb);