#4683 clang-format on all files in ApplicationCode

This commit is contained in:
Magne Sjaastad
2019-09-06 10:40:57 +02:00
parent 3a317504bb
commit fe9e567825
2092 changed files with 117952 additions and 111846 deletions

View File

@@ -24,10 +24,10 @@
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RivWellConnectionSourceInfo::RivWellConnectionSourceInfo(RimWellPath* wellPath,
RivWellConnectionFactorGeometryGenerator* geometryGenerator)
: m_wellPath(wellPath)
, m_geometryGenerator(geometryGenerator)
RivWellConnectionSourceInfo::RivWellConnectionSourceInfo( RimWellPath* wellPath,
RivWellConnectionFactorGeometryGenerator* geometryGenerator )
: m_wellPath( wellPath )
, m_geometryGenerator( geometryGenerator )
{
}
@@ -42,19 +42,19 @@ RimWellPath* RivWellConnectionSourceInfo::wellPath() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
size_t RivWellConnectionSourceInfo::globalCellIndexFromTriangleIndex(cvf::uint triangleIndex) const
size_t RivWellConnectionSourceInfo::globalCellIndexFromTriangleIndex( cvf::uint triangleIndex ) const
{
if (m_geometryGenerator.isNull()) return 0;
if ( m_geometryGenerator.isNull() ) return 0;
return m_geometryGenerator->globalCellIndexFromTriangleIndex(triangleIndex);
return m_geometryGenerator->globalCellIndexFromTriangleIndex( triangleIndex );
}
//--------------------------------------------------------------------------------------------------
///
///
//--------------------------------------------------------------------------------------------------
double RivWellConnectionSourceInfo::connectionFactorFromTriangleIndex(cvf::uint triangleIndex) const
double RivWellConnectionSourceInfo::connectionFactorFromTriangleIndex( cvf::uint triangleIndex ) const
{
if (m_geometryGenerator.isNull()) return 0.0;
if ( m_geometryGenerator.isNull() ) return 0.0;
return m_geometryGenerator->connectionFactor(triangleIndex);
return m_geometryGenerator->connectionFactor( triangleIndex );
}