Using the Method of Lines to determine critical conditions for thermal ignition