fixPhase2

fixPhase2#

fixPhase2(phase, boundary, boundaryVal, ref)#