The Effect of Calcium and Magnesium on Carbonate Mineral Precipitation during Reactive Transport in a Model Subsurface Pore Structure