mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Update clang-format.yml (#10068)
* Update to clang-format-15 Removed two custom .clang-format files in subfolders of AppFwk * Fixes by clang-format
This commit is contained in:
1 parent
310b54ef93
commit
952e766c2f
230 files changed
+2010
-2019
No files matched your search
@@ -668,7 +668,8 @@ bool RigMainGrid::isFaceNormalsOutwards() const
|
||||
void RigMainGrid::computeFaceNormalsDirection( const std::vector<size_t>& reservoirCellIndices ) const
|
||||
{
|
||||
auto isValidAndFaceNormalDir =
|
||||
[]( const double ijSize, const double kSize, const RigCell& cell, cvf::StructGridInterface::FaceType face ) -> std::pair<bool, bool> {
|
||||
[]( const double ijSize, const double kSize, const RigCell& cell, cvf::StructGridInterface::FaceType face ) -> std::pair<bool, bool>
|
||||
{
|
||||
const cvf::Vec3d cellCenter = cell.center();
|
||||
const cvf::Vec3d faceCenter = cell.faceCenter( face );
|
||||
const cvf::Vec3d faceNormal = cell.faceNormalWithAreaLength( face );
|
||||
|
||||
Reference in new issue
Block a user