Skip to content

Commit

Permalink
make ctor public
Browse files Browse the repository at this point in the history
  • Loading branch information
multitalentloes committed Jan 15, 2025
1 parent ccfb4b8 commit f052f61
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions opm/material/fluidsystems/TwoPhaseImmiscibleFluidSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,17 @@ template <class Scalar, class WettingPhase, class NonwettingPhase>
class TwoPhaseImmiscibleFluidSystem
: public BaseFluidSystem<Scalar, TwoPhaseImmiscibleFluidSystem<Scalar, WettingPhase, NonwettingPhase> >
{
// do not try to instanciate this class, it has only static members!
TwoPhaseImmiscibleFluidSystem()
{}


typedef TwoPhaseImmiscibleFluidSystem<Scalar, WettingPhase, NonwettingPhase> ThisType;
typedef BaseFluidSystem<Scalar, ThisType> Base;

public:

// only static members, usually unneeded to use this ctor
TwoPhaseImmiscibleFluidSystem()
{}

template <class Evaluation>
struct ParameterCache : public NullParameterCache<Evaluation>
{};
Expand Down

0 comments on commit f052f61

Please sign in to comment.