Skip to content
Snippets Groups Projects
Commit 753483fd authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Inserted grid width calculation for some tests.

[[Imported from SVN: r723]]
parent f79a32f9
No related branches found
No related tags found
No related merge requests found
......@@ -550,6 +550,10 @@ namespace Dune
//! return the global unique index in grid , same as el_index
int global_index();
albertCtype maxEdgeWidth ();
albertCtype diam();
private:
// called from HierarchicIterator, because only this
// class changes the level of the entity, otherwise level is set by
......@@ -1149,6 +1153,10 @@ namespace Dune
//! transform grid N = scalar * x + trans
void setNewCoords(const Vec<dimworld,albertCtype> & trans, const albertCtype scalar);
//! calculate max edge length
double calcGridWidth ();
private:
// initialize of some members
void initGrid(int proc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment