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.

ExampleWhat it demonstrates
heat_2d2D stencil update with do parallel.
heat_3d3D structured heat update and checksum validation.
sph_dam_break_2dGrid-based SPH dam-break with parallel particle passes.
sph_dam_break_2d_udtSPH dam-break organized around UDT-backed simulation state.
sph_double_dam_column_2dTwo-dam SPH setup with a central obstacle column.
udt_particleNested UDTs with container-backed fields.
intrinsics_showcaseCompact showcase for array and string intrinsics.