Commit f69806b9 authored by mattijs's avatar mattijs
Browse files

optional perpendicular reading

parent 9a1d3aec
...@@ -211,7 +211,6 @@ Foam::refinementSurfaces::refinementSurfaces ...@@ -211,7 +211,6 @@ Foam::refinementSurfaces::refinementSurfaces
minLevel_[globalRegionI] = iter(); minLevel_[globalRegionI] = iter();
maxLevel_[globalRegionI] = regionMaxLevel[surfI][iter.key()]; maxLevel_[globalRegionI] = regionMaxLevel[surfI][iter.key()];
perpendicularAngle_[globalRegionI] = regionAngle[surfI][iter.key()];
// Check validity // Check validity
if if
...@@ -231,6 +230,13 @@ Foam::refinementSurfaces::refinementSurfaces ...@@ -231,6 +230,13 @@ Foam::refinementSurfaces::refinementSurfaces
<< exit(FatalError); << exit(FatalError);
} }
} }
forAllConstIter(Map<scalar>, regionAngle[surfI], iter)
{
label globalRegionI = regionOffset_[surfI] + iter.key();
perpendicularAngle_[globalRegionI] = regionAngle[surfI][iter.key()];
}
//// Optional patch names and patch types //// Optional patch names and patch types
//forAllConstIter(HashTable<word>, regionPatchName[surfI], iter) //forAllConstIter(HashTable<word>, regionPatchName[surfI], iter)
...@@ -387,7 +393,6 @@ Foam::refinementSurfaces::refinementSurfaces ...@@ -387,7 +393,6 @@ Foam::refinementSurfaces::refinementSurfaces
minLevel_[globalRegionI] = iter(); minLevel_[globalRegionI] = iter();
maxLevel_[globalRegionI] = regionMaxLevel[surfI][iter.key()]; maxLevel_[globalRegionI] = regionMaxLevel[surfI][iter.key()];
perpendicularAngle_[globalRegionI] = regionAngle[surfI][iter.key()];
// Check validity // Check validity
if if
...@@ -407,6 +412,12 @@ Foam::refinementSurfaces::refinementSurfaces ...@@ -407,6 +412,12 @@ Foam::refinementSurfaces::refinementSurfaces
<< exit(FatalError); << exit(FatalError);
} }
} }
forAllConstIter(Map<scalar>, regionAngle[surfI], iter)
{
label globalRegionI = regionOffset_[surfI] + iter.key();
perpendicularAngle_[globalRegionI] = regionAngle[surfI][iter.key()];
}
} }
} }
......
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