mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
GitHub Actions: Add apt mirror to make package download more robust
- Download of Ubuntu packages from Azure is unstable. Add mirror sites to improve reliability. - Improve use of clang-format and include source code changes
This commit is contained in:
@@ -30,9 +30,9 @@ class RicMswSegmentCellIntersection
|
||||
{
|
||||
public:
|
||||
RicMswSegmentCellIntersection( const QString& gridName, // Pass in empty string for main grid
|
||||
size_t globalCellIndex,
|
||||
const cvf::Vec3st& gridLocalCellIJK,
|
||||
const cvf::Vec3d& lengthsInCell );
|
||||
size_t globalCellIndex,
|
||||
const cvf::Vec3st& gridLocalCellIJK,
|
||||
const cvf::Vec3d& lengthsInCell );
|
||||
const QString& gridName() const;
|
||||
size_t globalCellIndex() const;
|
||||
cvf::Vec3st gridLocalCellIJK() const;
|
||||
|
||||
@@ -117,10 +117,11 @@ public:
|
||||
|
||||
int priority() const
|
||||
{
|
||||
return type == RigCompletionData::CompletionType::FRACTURE ? 1
|
||||
: type == RigCompletionData::CompletionType::FISHBONES ? 2
|
||||
: type == RigCompletionData::CompletionType::PERFORATION ? 3
|
||||
: 4;
|
||||
return type == RigCompletionData::CompletionType::FRACTURE
|
||||
? 1
|
||||
: type == RigCompletionData::CompletionType::FISHBONES
|
||||
? 2
|
||||
: type == RigCompletionData::CompletionType::PERFORATION ? 3 : 4;
|
||||
}
|
||||
|
||||
// Sort by priority, then name, then number
|
||||
|
||||
Reference in New Issue
Block a user