Commit e5a1e283 authored by Ansgar Burchardt's avatar Ansgar Burchardt Committed by Steffen Müthing

Use UG::INT instead of int in order to conform with the interface

(cherry picked from commit badd105a)
Signed-off-by: Steffen Müthing's avatarSteffen Müthing <muething@dune-project.org>
parent 2a3d1227
......@@ -538,9 +538,9 @@ void Dune::UGGrid<dim>::getChildrenOfSubface(const typename Traits::template Cod
typename UG_NS<dim>::Element* theElement = this->getRealImplementation(e).target_;
int Sons_of_Side = 0;
UG::INT Sons_of_Side = 0;
typename UG_NS<dim>::Element* SonList[UG_NS<dim>::MAX_SONS];
int SonSides[UG_NS<dim>::MAX_SONS];
UG::INT SonSides[UG_NS<dim>::MAX_SONS];
int rv = Get_Sons_of_ElementSide(theElement,
elementSide,
......@@ -567,9 +567,9 @@ void Dune::UGGrid<dim>::getChildrenOfSubface(const typename Traits::template Cod
typename UG_NS<dim>::Element* theElement = f->first;
int side = f->second;
int Sons_of_Side = 0;
UG::INT Sons_of_Side = 0;
typename UG_NS<dim>::Element* SonList[UG_NS<dim>::MAX_SONS];
int SonSides[UG_NS<dim>::MAX_SONS];
UG::INT SonSides[UG_NS<dim>::MAX_SONS];
if (UG_NS<dim>::myLevel(theElement) < maxl) {
......
......@@ -699,9 +699,9 @@ void Dune::UGGridLeafIntersection<GridImp>::constructLeafSubfaces() {
SLList<Face> list;
int levelNeighborSide = numberInNeighbor(center_, levelNeighbor);
int Sons_of_Side = 0;
UG::INT Sons_of_Side = 0;
typename UG_NS<dim>::Element* SonList[UG_NS<dim>::MAX_SONS];
int SonSides[UG_NS<dim>::MAX_SONS];
UG::INT SonSides[UG_NS<dim>::MAX_SONS];
int rv = Get_Sons_of_ElementSide(levelNeighbor,
levelNeighborSide,
......@@ -729,9 +729,9 @@ void Dune::UGGridLeafIntersection<GridImp>::constructLeafSubfaces() {
const typename UG_NS<dim>::Element* theElement = f->first;
int Sons_of_Side = 0;
UG::INT Sons_of_Side = 0;
typename UG_NS<dim>::Element* SonList[UG_NS<dim>::MAX_SONS];
int SonSides[UG_NS<dim>::MAX_SONS];
UG::INT SonSides[UG_NS<dim>::MAX_SONS];
if (!UG_NS<dim>::isLeaf(theElement)) {
......
......@@ -1071,7 +1071,7 @@ namespace Dune {
static void* CreateBoundarySegment(const char *name, int left, int right,
int index, int res,
int *point,
UG::INT *point,
const double *alpha, const double *beta,
UG_NAMESPACE ::BndSegFuncPtr boundarySegmentFunction,
void *userData) {
......@@ -1091,7 +1091,7 @@ namespace Dune {
static void* CreateLinearSegment(const char *name,
int left, int right,
int index, int numVertices,
const int* cornerIndices,
const UG::INT* cornerIndices,
double cornerCoordinates[2][ UG_DIM ])
{
return UG_NAMESPACE ::CreateLinearSegment(name, // internal name of the boundary segment
......
Markdown is supported
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