Skip to content
Snippets Groups Projects
Commit 05baf62e authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[veloutput] cleanup

parent 5cc657ce
No related branches found
No related tags found
1 merge request!977Cleanup/indentations
...@@ -104,16 +104,14 @@ public: ...@@ -104,16 +104,14 @@ public:
} }
} }
bool enableOutput() //! returns whether or not velocity output is enabled
{ return velocityOutput_; } bool enableOutput() { return velocityOutput_; }
// returns the name of the phase for a given index //! returns the name of the phase for a given index
static std::string phaseName(int phaseIdx) static std::string phaseName(int phaseIdx) { return FluidSystem::phaseName(phaseIdx); }
{ return FluidSystem::phaseName(phaseIdx); }
// returns the number of phase velocities computed by this class //! returns the number of phase velocities computed by this class
static constexpr int numPhaseVelocities() static constexpr int numPhaseVelocities() { return GET_PROP_TYPE(TypeTag, ModelTraits)::numPhases(); }
{ return GET_PROP_TYPE(TypeTag, ModelTraits)::numPhases(); }
// The following SFINAE enable_if usage allows compilation, even if only a // The following SFINAE enable_if usage allows compilation, even if only a
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment