mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4669 Improve method names.
This commit is contained in:
@@ -988,8 +988,8 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateMeanStressSTM( i
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RigFemScalarResultFrames* RigFemPartResultsCollection::calculateStressGradient( int partIndex,
|
RigFemScalarResultFrames* RigFemPartResultsCollection::calculateStressGradients( int partIndex,
|
||||||
const RigFemResultAddress& resVarAddr )
|
const RigFemResultAddress& resVarAddr )
|
||||||
{
|
{
|
||||||
CVF_ASSERT( resVarAddr.fieldName == "ST_GRADIENTS" || resVarAddr.fieldName == "SE_GRADIENTS" );
|
CVF_ASSERT( resVarAddr.fieldName == "ST_GRADIENTS" || resVarAddr.fieldName == "SE_GRADIENTS" );
|
||||||
|
|
||||||
@@ -1082,8 +1082,8 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateStressGradient(
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RigFemScalarResultFrames* RigFemPartResultsCollection::calculateNodalGradient( int partIndex,
|
RigFemScalarResultFrames* RigFemPartResultsCollection::calculateNodalGradients( int partIndex,
|
||||||
const RigFemResultAddress& resVarAddr )
|
const RigFemResultAddress& resVarAddr )
|
||||||
{
|
{
|
||||||
CVF_ASSERT( resVarAddr.fieldName == "POR_GRADIENTS" );
|
CVF_ASSERT( resVarAddr.fieldName == "POR_GRADIENTS" );
|
||||||
CVF_ASSERT( resVarAddr.componentName == "X" || resVarAddr.componentName == "Y" || resVarAddr.componentName == "Z" );
|
CVF_ASSERT( resVarAddr.componentName == "X" || resVarAddr.componentName == "Y" || resVarAddr.componentName == "Z" );
|
||||||
@@ -2388,7 +2388,7 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult( i
|
|||||||
{
|
{
|
||||||
if ( resVarAddr.componentName == allowedComponentName )
|
if ( resVarAddr.componentName == allowedComponentName )
|
||||||
{
|
{
|
||||||
return calculateStressGradient( partIndex, resVarAddr );
|
return calculateStressGradients( partIndex, resVarAddr );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2414,7 +2414,7 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult( i
|
|||||||
if ( resVarAddr.fieldName == "POR_GRADIENTS" &&
|
if ( resVarAddr.fieldName == "POR_GRADIENTS" &&
|
||||||
( resVarAddr.componentName == "X" || resVarAddr.componentName == "Y" || resVarAddr.componentName == "Z" ) )
|
( resVarAddr.componentName == "X" || resVarAddr.componentName == "Y" || resVarAddr.componentName == "Z" ) )
|
||||||
{
|
{
|
||||||
return calculateNodalGradient( partIndex, resVarAddr );
|
return calculateNodalGradients( partIndex, resVarAddr );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ( resVarAddr.fieldName == "NE" ) && ( resVarAddr.componentName == "E11" || resVarAddr.componentName == "E22" ||
|
if ( ( resVarAddr.fieldName == "NE" ) && ( resVarAddr.componentName == "E11" || resVarAddr.componentName == "E22" ||
|
||||||
|
|||||||
@@ -157,8 +157,8 @@ private:
|
|||||||
RigFemScalarResultFrames* calculateST_12_13_23( int partIndex, const RigFemResultAddress& resVarAddr );
|
RigFemScalarResultFrames* calculateST_12_13_23( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||||
RigFemScalarResultFrames* calculateGamma( int partIndex, const RigFemResultAddress& resVarAddr );
|
RigFemScalarResultFrames* calculateGamma( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||||
RigFemScalarResultFrames* calculateFormationIndices( int partIndex, const RigFemResultAddress& resVarAddr );
|
RigFemScalarResultFrames* calculateFormationIndices( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||||
RigFemScalarResultFrames* calculateStressGradient( int partIndex, const RigFemResultAddress& resVarAddr );
|
RigFemScalarResultFrames* calculateStressGradients( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||||
RigFemScalarResultFrames* calculateNodalGradient( int partIndex, const RigFemResultAddress& resVarAddr );
|
RigFemScalarResultFrames* calculateNodalGradients( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||||
|
|
||||||
const RigFormationNames* activeFormationNames() const;
|
const RigFormationNames* activeFormationNames() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user