modelFiniteLineSource_Erfint

Test case for the evaluation of the integral of the error function

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates the evaluation of the integral of the error function.

Components

TypeNameDefaultDescription
RealuIndependent variable
RealerfintIntegral of the error function
Realerfint_numNumerical integral of the error function
RealerrDifference between analytical and numerical evaluations

Revisions

  • July 17, 2025, by Hongxiang Fu:
    Added an assert-statement for err and removed it from reference results.
    This is for #4277.
  • July 17, 2018, by Massimo Cimmino:
    First implementation.