Skip to content
Snippets Groups Projects
Commit 6807a42a authored by Oliver Sander's avatar Oliver Sander
Browse files

added missing methods ghostSize(int,int) and overlapSize(int,int)

[[Imported from SVN: r3694]]
parent c76a9459
No related branches found
No related tags found
No related merge requests found
......@@ -343,14 +343,26 @@ namespace Dune {
/** \brief Returns UGGrid_Id for run-time type identification */
GridIdentifier type () const { return UGGrid_Id; };
/** \brief Size of the overlap on the leaf level */
unsigned int overlapSize(int codim) const {
return 0;
}
/** \brief Size of the ghost cell layer on the leaf level */
unsigned int ghostSize(int codim) const {
return (codim==0) ? 1 : 0;
}
/** \brief Size of the overlap on a given level */
unsigned int overlapSize(int level, int codim) const {
return 0;
}
/** \brief Size of the ghost cell layer on a given level */
unsigned int ghostSize(int level, int codim) const {
return (codim==0) ? 1 : 0;
}
/** \brief Distributes this grid over the available nodes in a distributed machine
*
\param minlevel The coarsest grid level that gets distributed
......
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