Examples
Full code listings
These examples are part of the internal tgFortran implementation tree and are published here as full listings so the public language story is inspectable even without repository access.
| Example | What it demonstrates |
|---|---|
heat_2d | 2D stencil update with do parallel. |
heat_3d | 3D structured heat update and checksum validation. |
sph_dam_break_2d | Grid-based SPH dam-break with parallel particle passes. |
sph_dam_break_2d_udt | SPH dam-break organized around UDT-backed simulation state. |
sph_double_dam_column_2d | Two-dam SPH setup with a central obstacle column. |
udt_particle | Nested UDTs with container-backed fields. |
intrinsics_showcase | Compact showcase for array and string intrinsics. |