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:
Magne Sjaastad
2023-04-13 07:05:53 +02:00
committed by GitHub
parent 310b54ef93
commit 952e766c2f
230 changed files with 2010 additions and 2019 deletions

View File

@@ -174,12 +174,12 @@ TEST( RiaInterpolationToolsTest, InterpolateMissingValuesSmallDiffs )
{
double inf = std::numeric_limits<double>::infinity();
std::vector<double> x = { 898.02149910694368,
898.68522777852661,
898.68522777852661,
971.44605537010159,
971.44605537010887,
1074.7396805237731,
1074.7396805237802 };
898.68522777852661,
898.68522777852661,
971.44605537010159,
971.44605537010887,
1074.7396805237731,
1074.7396805237802 };
std::vector<double> y = { inf, inf, inf, inf, inf, 590.65394902812329, 590.75823974609375 };
RiaInterpolationTools::interpolateMissingValues( x, y );

View File

@@ -1,6 +1,6 @@
#include "gtest/gtest.h"
//#include "RiaTestDataDirectory.h"
// #include "RiaTestDataDirectory.h"
#include "RifOpmCommonSummary.h"
#include "RifReaderEclipseSummary.h"

View File

@@ -410,8 +410,8 @@ TEST( RigWellPathStimplanIntersector, intersection )
// std::vector<cvf::Vec3f> fracturePolygon ={ {0.0f, 0.0f, 0.0f}, {5.0f, 10.0f, 0.0f}, {10.0f, 0.0f, 0.0f} };
double perforationLength = 25.0;
std::vector<cvf::Vec3d> wellPathPoints = { { 50.0f - 4.0f, 6.0f, 10.0f },
{ 50.0f + 6.0f, 6.0f, 0.0f },
{ 50.0f + 10.0f, 10.0f, -100.0f } };
{ 50.0f + 6.0f, 6.0f, 0.0f },
{ 50.0f + 10.0f, 10.0f, -100.0f } };
double wellRadius = 1.5;
std::vector<std::vector<cvf::Vec3d>> stpCellPolygons = {
{ { 0.0f, 0.0f, 0.0f }, { 0.0f, 5.0f, 0.0f }, { 5.0f, 5.0f, 0.0f }, { 5.0f, 0.0f, 0.0f } },