Skip to content

Commit

Permalink
Fault Reactivation Model: improve const correctness.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriben committed Oct 16, 2023
1 parent 1fee415 commit 68d4d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ bool RimFaultReactivationModel::extractAndExportModelData()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::array<double, 3> RimFaultReactivationModel::materialParameters( ElementSets elementSet )
std::array<double, 3> RimFaultReactivationModel::materialParameters( ElementSets elementSet ) const
{
std::array<double, 3> retVal = { 0.0, 0.0, 0.0 };
static std::map<ElementSets, std::string> groupMap = { { ElementSets::OverBurden, "material_overburden" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class RimFaultReactivationModel : public RimCheckableNamedObject, public RimPoly

std::vector<QDateTime> selectedTimeSteps() const;

std::array<double, 3> materialParameters( ElementSets elementSet );
std::array<double, 3> materialParameters( ElementSets elementSet ) const;

QStringList commandParameters() const;

Expand Down

0 comments on commit 68d4d60

Please sign in to comment.