addressing reviewing comments

This commit is contained in:
Kai Bao 2024-09-11 15:53:35 +02:00
parent 2c75adf165
commit 4f51eb35d5
2 changed files with 4 additions and 5 deletions

View File

@ -758,10 +758,10 @@ list (APPEND PUBLIC_HEADER_FILES
opm/simulators/flow/FlowMain.hpp
opm/simulators/flow/FlowProblem.hpp
opm/simulators/flow/FlowProblemBlackoil.hpp
opm/simulators/flow/FlowProblemComp.hpp
opm/simulators/flow/FlowProblemParameters.hpp
opm/simulators/flow/FlowProblemBlackoilProperties.hpp
opm/simulators/flow/FlowProblemComp.hpp
opm/simulators/flow/FlowProblemCompProperties.hpp
opm/simulators/flow/FlowProblemParameters.hpp
opm/simulators/flow/FlowUtils.hpp
opm/simulators/flow/FlowsData.hpp
opm/simulators/flow/FlowThresholdPressure.hpp

View File

@ -128,8 +128,7 @@ namespace Opm {
template <class TypeTag>
class FlowExpProblem : public FlowProblemBlackoil<TypeTag> //, public FvBaseProblem<TypeTag>
{
typedef FlowProblemBlackoil<TypeTag> ParentType;
using BaseType = ParentType; // GetPropType<TypeTag, Properties::BaseProblem>;
using ParentType = FlowProblemBlackoil<TypeTag>;
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
public:
@ -143,7 +142,7 @@ public:
{
// \Note: the SimulatorTimer does not carry any useful information, so PRT file (if it gets output) will contain wrong
// timing information.
BaseType::writeOutput(SimulatorTimer{}, verbose);
ParentType::writeOutput(SimulatorTimer{}, verbose);
}
}