[FluidState][Compositional] setRelativeHumidity works on externaly passed FluidState object instead of on itself
Bug report
What happened / Problem description:
The method setRelativeHumidity
needs an FluidState object reference as argument and sets the humidity on this object instead of on the object on which the method is called.
template <class FluidState>
void setRelativeHumidity(FluidState &fluidState, int phaseIdx, int compIdx, Scalar value)
What you expected to happen:
The method alters the FluidState object on which it is called and the method does not need a FluidState object.
void setRelativeHumidity(int phaseIdx, int compIdx, Scalar value)
How to reproduce it (as minimally and precisely as possible): Source Code
Anything else we need to know?:
Is there a specific reason that this method does not work on the object itself?
Environment:
- Dune version:
- DuMux version:
- Others:
Edited by Lars Kaiser