Skip to content
Snippets Groups Projects
Commit cd69cf5c authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : do not expose dgResidualVolume and dgResidualInterface, only use

dgResidual (allows optimization)
parent 42a05359
No related branches found
No related tags found
No related merge requests found
...@@ -345,6 +345,8 @@ dataCacheMap::~dataCacheMap() ...@@ -345,6 +345,8 @@ dataCacheMap::~dataCacheMap()
void dataCacheMap::setNbEvaluationPoints(int nbEvaluationPoints) void dataCacheMap::setNbEvaluationPoints(int nbEvaluationPoints)
{ {
if (_nbEvaluationPoints == nbEvaluationPoints)
return;
_nbEvaluationPoints = nbEvaluationPoints; _nbEvaluationPoints = nbEvaluationPoints;
for(std::set<dataCacheDouble*>::iterator it = _allDataCaches.begin(); for(std::set<dataCacheDouble*>::iterator it = _allDataCaches.begin();
it != _allDataCaches.end(); it++){ it != _allDataCaches.end(); it++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment