summaryrefslogtreecommitdiff
path: root/Plasmapropagation.lpr
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-07-29 14:15:32 +0200
committerErich Eckner <git@eckner.net>2015-07-29 14:15:32 +0200
commit373ed9802b6d05e6c020553a68e6529d604cd5ef (patch)
tree2c3f2072b946b7c565ce5387dbfe1b4c3a8d9b8f /Plasmapropagation.lpr
parent956357390e27cf5add18f4e386adc7e25b38302c (diff)
downloadPlasmapropagation-373ed9802b6d05e6c020553a68e6529d604cd5ef.tar.xz
lauffaehig, bisher ohne Teilchen
Diffstat (limited to 'Plasmapropagation.lpr')
-rw-r--r--Plasmapropagation.lpr8
1 files changed, 3 insertions, 5 deletions
diff --git a/Plasmapropagation.lpr b/Plasmapropagation.lpr
index 5c914d5..5559f51 100644
--- a/Plasmapropagation.lpr
+++ b/Plasmapropagation.lpr
@@ -8,9 +8,7 @@ uses
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp,
{ you can add units after this }
- math, Physikunit, crt, protokollunit;
-
-var ErrorCode: longint;
+ math, Physikunit, protokollunit;
type
@@ -45,7 +43,7 @@ begin
zeitDatei:=0;
zeitPhysik:=0;
- simulation:=tSimulation.create(paramstr(1),prot);
+ simulation:=tSimulation.create(paramstr(1),prot,'simulation');
while simulation.iteriereSchritt(start,zeitPhysik,zeitDatei) do ;
@@ -66,7 +64,7 @@ begin
prot.schreibe('Das hat '+s+' gedauert,',true);
prot.schreibe(' davon '+t+' für Dateizugriffe',true);
prot.schreibe('und nur '+u+' für die eigentliche Physik!',true);
- prot.Free;
+ prot.free;
// stop program loop
Terminate;