mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make the name() method of problems non-static again
this allows to easily specify the problem name at runtime.
This commit is contained in:
@@ -184,7 +184,7 @@ public:
|
||||
}
|
||||
|
||||
//! Specifies the problem name. This is used for files generated by the simulation.
|
||||
static std::string name()
|
||||
std::string name() const
|
||||
{ return "tutorial1"; }
|
||||
|
||||
//! Returns the temperature at a given position.
|
||||
|
||||
Reference in New Issue
Block a user