Simulator for fullyimplicit two phase flow with polymer
make PolymerState return numPhases.