mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
@@ -63,14 +63,8 @@ public:
|
||||
std::vector<RigFemResultAddress> removeElementPropertyFiles( const std::vector<QString>& filenames );
|
||||
|
||||
void setCalculationParameters( double cohesion, double frictionAngleRad );
|
||||
double parameterCohesion() const
|
||||
{
|
||||
return m_cohesion;
|
||||
}
|
||||
double parameterFrictionAngleRad() const
|
||||
{
|
||||
return m_frictionAngleRad;
|
||||
}
|
||||
double parameterCohesion() const { return m_cohesion; }
|
||||
double parameterFrictionAngleRad() const { return m_frictionAngleRad; }
|
||||
|
||||
std::map<std::string, std::vector<std::string>> scalarFieldAndComponentNames( RigFemResultPosEnum resPos );
|
||||
std::vector<std::string> filteredStepNames() const;
|
||||
@@ -197,18 +191,9 @@ public:
|
||||
int m_face,
|
||||
const cvf::Vec3d& intersectionPointInDomain );
|
||||
|
||||
int resultIndexToClosestResult()
|
||||
{
|
||||
return m_resultIndexToClosestResult;
|
||||
}
|
||||
int closestNodeId()
|
||||
{
|
||||
return m_closestNodeId;
|
||||
}
|
||||
int closestElementNodeResIdx()
|
||||
{
|
||||
return m_closestElementNodeResIdx;
|
||||
}
|
||||
int resultIndexToClosestResult() { return m_resultIndexToClosestResult; }
|
||||
int closestNodeId() { return m_closestNodeId; }
|
||||
int closestElementNodeResIdx() { return m_closestElementNodeResIdx; }
|
||||
|
||||
private:
|
||||
int m_resultIndexToClosestResult;
|
||||
|
||||
Reference in New Issue
Block a user