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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u | Independent variable | |
| Real | erfint | Integral of the error function | |
| Real | erfint_num | Numerical integral of the error function | |
| Real | err | Difference between analytical and numerical evaluations |
Revisions
-
July 17, 2025, by Hongxiang Fu:
Added an assert-statement forerrand removed it from reference results.
This is for #4277. -
July 17, 2018, by Massimo Cimmino:
First implementation.