• Mark Olesen's avatar
    adjusted dictionary #inputMode directive · 6e10b0de
    Mark Olesen authored
    - #inputMode error
      now issues a FatalError on duplicate entries
    - #inputMode warn
      issues a warning on duplicate entries, corresponds to the
      old behaviour of 'error'
    - #inputMode protect
      prevents overwriting existing entries
    The 'protect' mode provides a simple mechanism for supplying default values.
        in file1:
            #inputMode  protect
            intensity       0.1;
            mixingLength    0.005;
            #inputMode  merge
                type        turbulentIntensityKineticEnergyInlet;
                intensity   $intensity;
        which is included from file2:
            intensity   0.05;
            #include    "file1"