Numerical boundary conditions and computational modes