mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
eclproblem: anonymize unused parameters
This commit is contained in:
parent
9b2de5bbf9
commit
8ed738b188
@ -734,10 +734,10 @@ public:
|
||||
*/
|
||||
static int handlePositionalParameter(std::set<std::string>& seenParams,
|
||||
std::string& errorMsg,
|
||||
int argc OPM_UNUSED,
|
||||
int,
|
||||
const char** argv,
|
||||
int paramIdx,
|
||||
int posParamIdx OPM_UNUSED)
|
||||
int)
|
||||
{
|
||||
using ParamsMeta = GetProp<TypeTag, Properties::ParameterMetaData>;
|
||||
Dune::ParameterTree& tree = ParamsMeta::tree();
|
||||
@ -773,7 +773,7 @@ public:
|
||||
/*!
|
||||
* \copydoc FvBaseProblem::helpPreamble
|
||||
*/
|
||||
static std::string helpPreamble(int argc OPM_UNUSED,
|
||||
static std::string helpPreamble(int,
|
||||
const char **argv)
|
||||
{
|
||||
std::string desc = Implementation::briefDescription();
|
||||
@ -1642,9 +1642,9 @@ public:
|
||||
*/
|
||||
template <class Context>
|
||||
const SolidEnergyLawParams&
|
||||
solidEnergyLawParams(const Context& context OPM_UNUSED,
|
||||
unsigned spaceIdx OPM_UNUSED,
|
||||
unsigned timeIdx OPM_UNUSED) const
|
||||
solidEnergyLawParams(const Context& context,
|
||||
unsigned spaceIdx,
|
||||
unsigned timeIdx) const
|
||||
{
|
||||
unsigned globalSpaceIdx = context.globalSpaceIndex(spaceIdx, timeIdx);
|
||||
return thermalLawManager_->solidEnergyLawParams(globalSpaceIdx);
|
||||
|
Loading…
Reference in New Issue
Block a user