Commit d68cbeaf authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'feature/grid_adaption_counter' into 'develop'

add changeIndex to track grid changes

See merge request spraetor/dune-amdis!76
parents fa6bdcc0 4153ca0a
......@@ -81,6 +81,13 @@ namespace AMDiS
/// Returns the grid change index, see \ref changeIndex.
unsigned long changeIndex() const
return changeIndex_;
......@@ -88,6 +95,10 @@ namespace AMDiS
std::list<DOFVectorInterface*> data_;
bool mightCoarsen_ = false;
bool refined_ = false;
/// This index is incremented every time the grid is changed, e.g. by
/// refinement or coarsening.
unsigned long changeIndex_ = 0;
} // end namespace AMDiS
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment