mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format : Set AllowAllParametersOfDeclarationOnNextLine to false
This commit is contained in:
@@ -924,8 +924,11 @@ bool RimStimPlanFractureTemplate::hasConductivity() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimStimPlanFractureTemplate::resultValueAtIJ(
|
||||
const QString& uiResultName, const QString& unitName, size_t timeStepIndex, size_t i, size_t j )
|
||||
double RimStimPlanFractureTemplate::resultValueAtIJ( const QString& uiResultName,
|
||||
const QString& unitName,
|
||||
size_t timeStepIndex,
|
||||
size_t i,
|
||||
size_t j )
|
||||
{
|
||||
auto values = resultValues( uiResultName, unitName, timeStepIndex );
|
||||
|
||||
|
||||
@@ -191,8 +191,9 @@ void RimPlotTemplateFolderItem::defineEditorAttribute( const caf::PdmFieldHandle
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPlotTemplateFolderItem::appendOptionItemsForPlotTemplatesRecursively(
|
||||
QList<caf::PdmOptionItemInfo>& options, RimPlotTemplateFolderItem* templateFolderItem, int menuLevel )
|
||||
void RimPlotTemplateFolderItem::appendOptionItemsForPlotTemplatesRecursively( QList<caf::PdmOptionItemInfo>& options,
|
||||
RimPlotTemplateFolderItem* templateFolderItem,
|
||||
int menuLevel )
|
||||
{
|
||||
{
|
||||
auto subFolders = templateFolderItem->subFolders();
|
||||
|
||||
@@ -1160,7 +1160,8 @@ void RimContourMapProjection::generateContourPolygons()
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimContourMapProjection::ContourPolygons RimContourMapProjection::createContourPolygonsFromLineSegments(
|
||||
caf::ContourLines::ListOfLineSegments& unorderedLineSegments, double contourValue )
|
||||
caf::ContourLines::ListOfLineSegments& unorderedLineSegments,
|
||||
double contourValue )
|
||||
{
|
||||
const double areaThreshold = 1.5 * ( m_sampleSpacing * m_sampleSpacing ) /
|
||||
( sampleSpacingFactor() * sampleSpacingFactor() );
|
||||
|
||||
@@ -67,8 +67,11 @@ void RimEclipseGeometrySelectionItem::setFromSelectionItem( const RiuEclipseSele
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseGeometrySelectionItem::setFromCaseGridAndIJK(
|
||||
RimEclipseCase* eclipseCase, size_t gridIndex, size_t i, size_t j, size_t k )
|
||||
void RimEclipseGeometrySelectionItem::setFromCaseGridAndIJK( RimEclipseCase* eclipseCase,
|
||||
size_t gridIndex,
|
||||
size_t i,
|
||||
size_t j,
|
||||
size_t k )
|
||||
{
|
||||
m_eclipseCase = eclipseCase;
|
||||
m_gridIndex = gridIndex;
|
||||
|
||||
@@ -405,7 +405,9 @@ std::map<std::string, std::vector<std::string>> RimGeoMechResultDefinition::getR
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechResultDefinition::getUiAndResultVariableStringList(
|
||||
QStringList* uiNames, QStringList* variableNames, const std::map<std::string, std::vector<std::string>>& fieldCompNames )
|
||||
QStringList* uiNames,
|
||||
QStringList* variableNames,
|
||||
const std::map<std::string, std::vector<std::string>>& fieldCompNames )
|
||||
{
|
||||
CVF_ASSERT( uiNames && variableNames );
|
||||
|
||||
|
||||
@@ -154,8 +154,12 @@ void RimGridTimeHistoryCurve::setFromSelectionItem( const RiuSelectionItem* sele
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGridTimeHistoryCurve::setFromEclipseCellAndResult(
|
||||
RimEclipseCase* eclCase, size_t gridIdx, size_t i, size_t j, size_t k, const RigEclipseResultAddress& resAddr )
|
||||
void RimGridTimeHistoryCurve::setFromEclipseCellAndResult( RimEclipseCase* eclCase,
|
||||
size_t gridIdx,
|
||||
size_t i,
|
||||
size_t j,
|
||||
size_t k,
|
||||
const RigEclipseResultAddress& resAddr )
|
||||
{
|
||||
delete m_geometrySelectionItem();
|
||||
delete m_eclipseResultDefinition();
|
||||
|
||||
@@ -53,9 +53,13 @@ public:
|
||||
RimGridTimeHistoryCurve();
|
||||
~RimGridTimeHistoryCurve() override;
|
||||
|
||||
void setFromSelectionItem( const RiuSelectionItem* selectionItem );
|
||||
void setFromEclipseCellAndResult(
|
||||
RimEclipseCase* eclCase, size_t gridIdx, size_t i, size_t j, size_t k, const RigEclipseResultAddress& resAddr );
|
||||
void setFromSelectionItem( const RiuSelectionItem* selectionItem );
|
||||
void setFromEclipseCellAndResult( RimEclipseCase* eclCase,
|
||||
size_t gridIdx,
|
||||
size_t i,
|
||||
size_t j,
|
||||
size_t k,
|
||||
const RigEclipseResultAddress& resAddr );
|
||||
RiaDefines::PlotAxis yAxis() const;
|
||||
void setYAxis( RiaDefines::PlotAxis plotAxis );
|
||||
|
||||
|
||||
@@ -165,8 +165,10 @@ RimObservedSummaryData*
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimObservedSummaryData* RimObservedDataCollection::createAndAddCvsObservedSummaryDataFromFile(
|
||||
const QString& fileName, bool useSavedFieldsValuesInDialog, QString* errorText /*= nullptr*/ )
|
||||
RimObservedSummaryData*
|
||||
RimObservedDataCollection::createAndAddCvsObservedSummaryDataFromFile( const QString& fileName,
|
||||
bool useSavedFieldsValuesInDialog,
|
||||
QString* errorText /*= nullptr*/ )
|
||||
{
|
||||
if ( !fileExists( fileName, errorText ) ) return nullptr;
|
||||
|
||||
|
||||
@@ -214,8 +214,11 @@ void RimTernaryLegendConfig::updateLegend()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimTernaryLegendConfig::setAutomaticRanges(
|
||||
TernaryArrayIndex ternaryIndex, double globalMin, double globalMax, double localMin, double localMax )
|
||||
void RimTernaryLegendConfig::setAutomaticRanges( TernaryArrayIndex ternaryIndex,
|
||||
double globalMin,
|
||||
double globalMax,
|
||||
double localMin,
|
||||
double localMax )
|
||||
{
|
||||
double candidateGlobalAutoMin = roundToNumSignificantDigits( globalMin, precision );
|
||||
double candidateGlobalAutoMax = roundToNumSignificantDigits( globalMax, precision );
|
||||
@@ -379,8 +382,12 @@ void RimTernaryLegendConfig::defineEditorAttribute( const caf::PdmFieldHandle* f
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimTernaryLegendConfig::ternaryRanges(
|
||||
double& soilLower, double& soilUpper, double& sgasLower, double& sgasUpper, double& swatLower, double& swatUpper ) const
|
||||
void RimTernaryLegendConfig::ternaryRanges( double& soilLower,
|
||||
double& soilUpper,
|
||||
double& sgasLower,
|
||||
double& sgasUpper,
|
||||
double& swatLower,
|
||||
double& swatUpper ) const
|
||||
{
|
||||
if ( rangeMode() == AUTOMATIC_CURRENT_TIMESTEP )
|
||||
{
|
||||
|
||||
@@ -55,8 +55,11 @@ public:
|
||||
~RimTernaryLegendConfig() override;
|
||||
|
||||
void setUiValuesFromLegendConfig( const RimTernaryLegendConfig* otherLegendConfig );
|
||||
void setAutomaticRanges(
|
||||
TernaryArrayIndex ternaryIndex, double globalMin, double globalMax, double localMin, double localMax );
|
||||
void setAutomaticRanges( TernaryArrayIndex ternaryIndex,
|
||||
double globalMin,
|
||||
double globalMax,
|
||||
double localMin,
|
||||
double localMax );
|
||||
|
||||
void recreateLegend();
|
||||
bool showLegend() const;
|
||||
|
||||
@@ -576,8 +576,11 @@ void RimWellLogExtractionCurve::findAndLoadWbsParametersFromLasFiles( const RimW
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogExtractionCurve::setAutoNameComponents(
|
||||
bool addCaseName, bool addProperty, bool addWellname, bool addTimeStep, bool addDate )
|
||||
void RimWellLogExtractionCurve::setAutoNameComponents( bool addCaseName,
|
||||
bool addProperty,
|
||||
bool addWellname,
|
||||
bool addTimeStep,
|
||||
bool addDate )
|
||||
{
|
||||
m_addCaseNameToCurveName = addCaseName;
|
||||
m_addPropertyToCurveName = addProperty;
|
||||
|
||||
@@ -376,7 +376,8 @@ RimSummaryCaseCollection* RimSummaryCaseMainCollection::defaultAllocator()
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RimSummaryCase*> RimSummaryCaseMainCollection::createSummaryCasesFromFileInfos(
|
||||
const std::vector<RifSummaryCaseFileResultInfo>& summaryHeaderFileInfos, bool showProgress )
|
||||
const std::vector<RifSummaryCaseFileResultInfo>& summaryHeaderFileInfos,
|
||||
bool showProgress )
|
||||
{
|
||||
RimProject* project = RiaApplication::instance()->project();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user