SAMG - The linear solver for groundwater simulation. SAMG (Algebraic Multigrid Methods for Systems) is a very mature program package being used for the efficient solution of linear sparse systems of equations in many commercial simulation codes. In particular, in groundwater and porous media simulation it has been introduced as the primary numerical solver module in FEFLOW 6. ..