<ParameterList name="Main">
  <Parameter name="Amanzi Input Format Version" type="string" value="1.2.0"/>

  <ParameterList name="Execution Control">
    <Parameter name="Flow Model" type="string" value="Richards"/>
    <Parameter name="Transport Model" type="string" value="Off"/>
    <Parameter name="Chemistry Model" type="string" value="Off"/>

    <ParameterList name="Time Integration Mode">
        <ParameterList name="Steady">
          <Parameter name="Start" type="double" value="0.0"/>
          <Parameter name="End" type="double" value="3.0e+9"/>
          <Parameter name="Initial Time Step" type="double" value="0.01"/>
        </ParameterList>
    </ParameterList>

    <Parameter name="Verbosity" type="string" value="High"/>

    <ParameterList name="Numerical Control Parameters">
      <ParameterList name="Unstructured Algorithm">
        <Parameter name="linear solver tolerance" type="double" value="1e-18"/>
        <Parameter name="linear solver maximum iterations" type="int" value="100"/>

        <ParameterList name="Steady-State Implicit Time Integration">
          <Parameter name="steady initialize with darcy" type="bool" value="true"/>
        </ParameterList>
      </ParameterList>
    </ParameterList>
  </ParameterList>
      
  <ParameterList name="Domain">
    <Parameter name="Spatial Dimension" type="int" value="2"/>
  </ParameterList>

  <!-- Mesh:  three-dimensional box 100ft x 60ft -->
  <ParameterList name="Mesh">
    <ParameterList name="Unstructured">
      <ParameterList name="Expert">
	<Parameter name="Framework" type="string" value="MSTK"/>
      </ParameterList>
      <ParameterList name="Generate Mesh">
        <ParameterList name="Uniform Structured">
          <Parameter name="Number of Cells" type="Array(int)" value="{100, 60}"/>
          <Parameter name="Domain Low Coordinate" type="Array(double)" value="{0.0, 0.0}" />
          <Parameter name="Domain High Coordinate" type="Array(double)" value="{30.48, 18.288}" />
        </ParameterList>
      </ParameterList>
    </ParameterList>
  </ParameterList>

  <!--
    Regions: 
  -->
  <ParameterList name="Regions">
    <ParameterList name="Aquifer">
      <ParameterList name="Region: Box">
        <Parameter name="Low Coordinate" type="Array(double)" value="{0.0, 0.0}"/>
        <Parameter name="High Coordinate" type="Array(double)" value="{30.48, 18.288}"/>
      </ParameterList>
    </ParameterList>

    <ParameterList name="Left">
      <ParameterList name="Region: Plane">
        <Parameter name="Location" type="Array(double)" value="{0.0, 0.0}"/>
        <Parameter name="Direction" type="Array(double)" value="{-1.0, 0.0}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Right">
      <ParameterList name="Region: Plane">
        <Parameter name="Location" type="Array(double)" value="{30.48, 0.0}"/>
        <Parameter name="Direction" type="Array(double)" value="{1.0, 0.0}"/>
      </ParameterList>
    </ParameterList>

    <ParameterList name="Point0">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{0.1524, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point10">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{3.2004, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point20">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{6.2484, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point30">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{9.2964, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point40">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{12.3444, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point50">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{15.3924, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point60">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{18.4404, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point70">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{21.4884, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point80">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{24.5364, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point90">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{27.5844, 0.1524}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="Point100">
      <ParameterList name="Region: Point">
	<Parameter name="Coordinate" type="Array(double)" value="{30.3276, 0.1524}"/>
      </ParameterList>
    </ParameterList>
  </ParameterList>

  <!-- Materials -->
  <ParameterList name="Material Properties">
    <ParameterList name="Aquifers">
      <Parameter name="Assigned Regions" type="Array(string)" value="{Aquifer}"/>
      <ParameterList name="Porosity: Uniform">
        <Parameter name="Value" type="double" value="0.43"/>
      </ParameterList>
      <ParameterList name="Intrinsic Permeability: Uniform">
        <Parameter name="Value" type="double" value="3.1189e-11"/>
      </ParameterList>
      <ParameterList name="Capillary Pressure: van Genuchten">
        <Parameter name="alpha" type="double" value="4.6690e-04"/>
        <Parameter name="Sr" type="double" value="0.104651162"/>
        <Parameter name="m" type="double" value="0.66667"/>
        <Parameter name="Relative Permeability" type="string" value="Mualem"/>
      </ParameterList>
    </ParameterList>
  </ParameterList>

  <!-- Phases: -->
  <ParameterList name="Phase Definitions">
    <ParameterList name="Aqueous">
      <ParameterList name="Phase Properties">
        <ParameterList name="Viscosity: Uniform">
          <Parameter name="Viscosity" type="double" value="1.002e-3"/>
        </ParameterList>
        <ParameterList name="Density: Uniform">
          <Parameter name="Density" type="double" value="998.2"/>
        </ParameterList>
      </ParameterList>
    </ParameterList>
  </ParameterList>

  <!-- Initial Conditions: -->
  <ParameterList name="Initial Conditions">
    <ParameterList name="Initial Condition">
      <Parameter name="Assigned Regions" type="Array(string)" value="{Aquifer}"/>
      <ParameterList name="IC: Uniform Pressure">
        <Parameter name="Phase" type="string" value="Aqueous"/>
        <Parameter name="Value" type="double" value="101325.0"/>
      </ParameterList>
    </ParameterList>
  </ParameterList>

  <!-- Boundary Conditions -->
  <ParameterList name="Boundary Conditions">
    <ParameterList name="LeftBC Confined Aquifer">
      <Parameter name="Assigned Regions" type="Array(string)" value="{Left}"/>
      <ParameterList name="BC: Hydrostatic">
        <Parameter name="Times" type="Array(double)" value="{0.0, 1.0}"/>
        <Parameter name="Time Functions" type="Array(string)" value="{Constant}"/>
        <Parameter name="Water Table Height" type="Array(double)" value="{12.192, 12.192}"/>
      </ParameterList>
    </ParameterList>
    <ParameterList name="RightBC">
      <Parameter name="Assigned Regions" type="Array(string)" value="{Right}"/>
      <ParameterList name="BC: Hydrostatic">
        <Parameter name="Times" type="Array(double)" value="{0.0, 1.0}"/>
        <Parameter name="Time Functions" type="Array(string)" value="{Constant}"/>
        <Parameter name="Water Table Height" type="Array(double)" value="{6.096, 6.096}"/>
      </ParameterList>
    </ParameterList>
  </ParameterList>

  <ParameterList name="Output">
    <ParameterList name="Time Macros">
      <ParameterList name="Steady State">
        <Parameter name="Values" type="Array(double)" value="{3.0e+9}"/>
      </ParameterList>
    </ParameterList>

    <ParameterList name="Observation Data">
      <Parameter name="Observation Output Filename" type="string" value="observation4.2.out"/>
      <ParameterList name="Output1">
        <Parameter name="Region" type="string" value="Point0"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output2">
        <Parameter name="Region" type="string" value="Point10"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output3">
        <Parameter name="Region" type="string" value="Point20"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output4">
        <Parameter name="Region" type="string" value="Point30"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output5">
        <Parameter name="Region" type="string" value="Point40"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output6">
        <Parameter name="Region" type="string" value="Point50"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output7">
        <Parameter name="Region" type="string" value="Point60"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output8">
        <Parameter name="Region" type="string" value="Point70"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output9">
        <Parameter name="Region" type="string" value="Point80"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output10">
        <Parameter name="Region" type="string" value="Point90"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output11">
        <Parameter name="Region" type="string" value="Point100"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Hydraulic Head"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>

      <ParameterList name="Output1P">
        <Parameter name="Region" type="string" value="Point0"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output2P">
        <Parameter name="Region" type="string" value="Point10"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output3P">
        <Parameter name="Region" type="string" value="Point20"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output4P">
        <Parameter name="Region" type="string" value="Point30"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output5P">
        <Parameter name="Region" type="string" value="Point40"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output6P">
        <Parameter name="Region" type="string" value="Point50"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output7P">
        <Parameter name="Region" type="string" value="Point60"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output8P">
        <Parameter name="Region" type="string" value="Point70"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output9P">
        <Parameter name="Region" type="string" value="Point80"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output10P">
        <Parameter name="Region" type="string" value="Point90"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
      <ParameterList name="Output11P">
        <Parameter name="Region" type="string" value="Point100"/>
        <Parameter name="Functional" type="string" value="Observation Data: Point"/>
        <Parameter name="Variable" type="string" value="Aqueous pressure"/>
        <Parameter name="Time Macro" type="string" value="Steady State"/>
      </ParameterList>
    </ParameterList>

    <ParameterList name="Visualization Data">
      <Parameter name="File Name Base" type="string" value="steady-flow"/>
      <Parameter name="File Name Digits" type="string" value="5"/>
      <Parameter name="Time Macro" type="Array(string)" value="{Steady State}"/>
    </ParameterList>
  </ParameterList>
</ParameterList>

