rename accept() to finalize() and add accept() returning bool
follow the interface change
implement new accept
follow the interface change
follow the interface change
follow the interface change: accept, finalizeTimeStep
fix GNU compiler warnings