mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Fix variable name
This commit is contained in:
parent
8fe385adcf
commit
fc2df17380
@ -236,9 +236,9 @@ void RigGriddedPart3d::generateGeometry( const std::array<cvf::Vec3d, 12>& input
|
||||
nVertCells += layersPerRegion[region].size();
|
||||
}
|
||||
|
||||
const std::vector<double> m_thicknessFactors = { -1.0, 0.0, 1.0 };
|
||||
const int nThicknessCells = 2;
|
||||
cvf::Vec3d tVec = modelThickness * thicknessDirection;
|
||||
const std::vector<double> thicknessFactors = { -1.0, 0.0, 1.0 };
|
||||
const int nThicknessCells = 2;
|
||||
cvf::Vec3d tVec = modelThickness * thicknessDirection;
|
||||
|
||||
size_t reserveSize = ( nVertCells + 1 ) * ( nHorzCells + 1 ) * ( nThicknessCells + 1 );
|
||||
m_nodes.reserve( reserveSize );
|
||||
@ -320,7 +320,7 @@ void RigGriddedPart3d::generateGeometry( const std::array<cvf::Vec3d, 12>& input
|
||||
|
||||
for ( int t = 0; t <= nThicknessCells; t++, nodeIndex++ )
|
||||
{
|
||||
m_nodes.push_back( p + m_thicknessFactors[t] * tVec );
|
||||
m_nodes.push_back( p + thicknessFactors[t] * tVec );
|
||||
|
||||
if ( h == (int)nHorzCells )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user