Whitespace

This commit is contained in:
Magne Sjaastad
2018-03-02 14:09:46 +01:00
parent 08995cf63e
commit bb0f026644
2 changed files with 25 additions and 19 deletions

View File

@@ -40,7 +40,8 @@
/// The returned CellIds is one less than the number of centerline points,
/// and are describing the lines between the points, starting with the first line
//--------------------------------------------------------------------------------------------------
void RigSimulationWellCenterLineCalculator::calculateWellPipeStaticCenterline(RimSimWellInView* rimWell,
void RigSimulationWellCenterLineCalculator::calculateWellPipeStaticCenterline(
RimSimWellInView* rimWell,
std::vector<std::vector<cvf::Vec3d>>& pipeBranchesCLCoords,
std::vector<std::vector<RigWellResultPoint>>& pipeBranchesCellIds)
{

View File

@@ -19,12 +19,17 @@
#pragma once
#include "RigSimWellData.h"
#include "cvfVector3.h"
#include <vector>
class RigEclipseCaseData;
class RimSimWellInView;
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
class RigSimulationWellCenterLineCalculator
{
public:
@@ -39,8 +44,8 @@ public:
bool useAllCellCenters,
std::vector<std::vector<cvf::Vec3d>>& pipeBranchesCLCoords,
std::vector<std::vector<RigWellResultPoint>>& pipeBranchesCellIds);
private:
private:
static bool hasAnyResultCells(const std::vector<RigWellResultBranch> &resBranches);
static bool hasAnyValidDataCells(const RigWellResultBranch& branch);
static void finishPipeCenterLine( std::vector< std::vector<cvf::Vec3d> > &pipeBranchesCLCoords, const cvf::Vec3d& lastCellCenter ) ;