30 positionInPatch = {0,0};
31 coarsePosition = {0,0};
34 positionInPatch = {0,3};
35 coarsePosition = {0,1};
38 positionInPatch = {3,3};
39 coarsePosition = {1,1};
42 positionInPatch = {2,2};
43 coarsePosition = {1,1};
46 positionInPatch = {2,3};
47 coarsePosition = {1,1};
50 positionInPatch = {0,2};
51 coarsePosition = {1,1};
54 positionInPatch = {0,2};
55 coarsePosition = {0,0};
91 int result = tree.getNeighbourTrees( fineGridVertices, 0,
true );
94 result = tree.getNeighbourTrees( fineGridVertices, 1,
true );
97 result = tree.getNeighbourTrees( fineGridVertices, 2,
true );
100 result = tree.getNeighbourTrees( fineGridVertices, 3,
true );
static bool restrictToCoarseGrid(const tarch::la::Vector< Dimensions, int > &coarseVertexPosition, const tarch::la::Vector< Dimensions, int > &fineVertexPosition)
Determines whether to restrict a vertex to the coarser level or not.