Re: [DuMuX] Setting Properties

2016-01-28 Thread Christoph GrĂ¼ninger
Hi Georg, not sure whether there is a nice DuMuX property way to achieve what you want, but C++11 offers std::conditional. Bye Christoph -- The method has been developed for use on a high-speed electronic computer and would be impractical for hand-solution purposes.

[DuMuX] Setting Properties

2016-01-28 Thread Georg.Futter
Hello Dumuxers, I have a question concerning the property system. Is it possible to set a property depending on the value of another property? I have something in mind like this: SET_PROP(MyProblem, MyProperty) { private: enum { boolValue = GET_PROP_VALUE(TypeTag, MyBoolValue) }; public: