Double Precision Version
    • 01 Nov 2022
    • 1 Minute to read

    Double Precision Version


    Article summary

    There is also a double precision version of the 2D Solver executable.

    Users may find that the double precision version reduces mass error often associated with models simulating very small depths of water, such as direct rainfall models.

    Note
    We always recommend the use of double precision when using rainfall boundary inputs. Often rainfall flood depths are small and without double precision, "small" cell volumes can be lost (rounded to zero). This can lead to significant overall losses and larger mass balance errors.

    Double precision simulations are performed by ISIS2D_dp.exe

    If the modeller feels that his/her model should be run in double precision, he/she may insert a <double_precision> element into the <run_data> element of the .XML file which either warns that the model should be run in double precision, or forces the model to be run in double precision.

    The following example code snippet warns the user that the model should ideally be run in double precision mode:

    <run_data>

            <time_step> 2 </time_step>

            < scheme > ADI < /scheme >

            <double_precision>advised</double_precision>

    </run_data>

    The following example code snippet forces the model to be run in double precision by causing a single precision simulation to fail with an error message:

    <run_data>

            <time_step> 2 </time_step>

            < scheme > ADI < /scheme >

            <double_precision>required</double_precision>

    </run_data>


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence