Mesh is now dependent on gradient of phi_tot.
This is done with a loop that iteratively creates array 'x' by starting at zero and continuing until gradient is hit, at which point the mesh starts becoming finer and then coarser again.
Loading
Please register or sign in to comment