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 18, 2023
1 parent 22234d9 commit 176baf5
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 @@ -731,7 +731,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 176baf5

Please sign in to comment.