One-dimensional fluid model of ECR discharge with inhomogeneity effects of external magnetic field