Generalized finite element analysis using the preconditioned conjugate gradient method