A Cartesian‐grid collocation method based on radial‐basis‐function networks for solving PDEs in irregular domains