Numerical approximations of Allen-Cahn and Cahn-Hilliard equations | Synapse