import ChemPlugin.ChemPlugin; import ChemPlugin.CpiLink; import java.util.Scanner; import java.io.*; public class RTM1 { public static void main(String[] args) throws IOException { System.out.println("Model reactive transport in one dimension"); System.out.println(""); Scanner input = new Scanner(System.in); System.out.print("Enter RTM input script: "); String inputFile = input.nextLine(); int nx = 100; // number of instances along x double length = 100; // m double deltax = length / nx; // m double deltay = 1.0, deltaz = 1.0; double time_end = 10.0; // years double delta_years = time_end / 5.0; // years double next_output = 0.0; // Create the inlet an d interior instances ChemPlugin cp_inlet = new ChemPlugin(); ChemPlugin cp[] = new ChemPlugin[nx]; for (int i=0;i