Skip to content

Commit c383656

Browse files
committed
Cleaned up formatting
1 parent 2b8e5b4 commit c383656

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

opm/simulators/flow/TTagFlowProblemOnePhase.hpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@
2222

2323
#include <tuple>
2424

25-
namespace Opm {
26-
namespace Properties {
27-
namespace TTag {
28-
25+
namespace Opm::Properties::TTag {
2926
struct FlowProblem;
3027

28+
/// Specialized type tag for one phase (water) simulations.
29+
///
30+
/// All properties are otherwise the same as for the regular
31+
/// FlowProblem.
3132
struct FlowOnePhaseProblem {
3233
using InheritsFrom = std::tuple<FlowProblem>;
3334
};
34-
}
3535

36+
} // namespace Opm::Properties::TTag
3637

37-
} // namespace Opm::Properties::TTag
38-
}
3938
#endif // TTAG_FLOW_ONE_PHASE_HPP

opm/simulators/flow/python/PyOnePhaseSimulator.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ class PyOnePhaseSimulator : public PyBaseSimulator<Opm::Properties::TTag::FlowOn
3636
public:
3737
PyOnePhaseSimulator(const std::string& deck_filename,
3838
const std::vector<std::string>& args)
39-
: BaseType(deck_filename, args)
39+
: BaseType(deck_filename, args)
4040
{}
4141

4242
PyOnePhaseSimulator(std::shared_ptr<Opm::Deck> deck,
4343
std::shared_ptr<Opm::EclipseState> state,
4444
std::shared_ptr<Opm::Schedule> schedule,
4545
std::shared_ptr<Opm::SummaryConfig> summary_config,
4646
const std::vector<std::string>& args)
47-
: BaseType(deck, state, schedule, summary_config, args)
47+
: BaseType(deck, state, schedule, summary_config, args)
4848
{}
49-
5049
};
5150

5251
} // namespace Opm::Pybind
53-
#endif // OPM_PY_GASWATER_SIMULATOR_HEADER_INCLUDED
52+
53+
#endif // OPM_PY_ONEPHASE_SIMULATOR_HEADER_INCLUDED

0 commit comments

Comments
 (0)