General HydroStatics
Ship Stability Software
Command of the Week
(New or interesting aspects of GHS that you may not know about)

CritPoint Wizard

The cute little wizard CritPoint.wizgf taps into a Special Flood Points dialog that is provided as a button in some GLM configurations. Another place it appears is in DAMSTAB2 (which does probabilistic damage in the GHS Advanced Features module).

The essential file used by CritPoint.wizgf is CrtptDS2.lib. If you have that file in your GHS program directory but don't have the wizard, you can create it yourself since it's only two lines:
run ^^CRTPTDS2.LIB /call
`That's a zero.

The critical-point numbering, starting at 89 and descending, may seem odd. The purpose of that is to avoid common critical point numbers in the lower range but not going to the ridiculous extreme of 400 (which is the maximum critical point number allowed in GHS).

Upon closing the dialog, the appropriate CRTPT commands are issued and a file is written in the current working folder. That file is exclusively for use by the wizard, so next time it is used you find the point specs just as you left them. The file is keyed to the geometry file name, so if you work with multiple GFs in the same folder there are no mixups.

It would be nice to have a Data Base version of something like this, for then the files would be managed automatically. Even nicer, it would call for another COW.

Questions, comments, or requests?
Contact Creative Systems, Inc.

USA phone: 360-385-6212 Fax: 360-385-6213
Office hours: 7:00 am - 4:00 pm Pacific Time, Monday - Friday

Mailing address:
PO Box 1910
Port Townsend, WA 98368 USA

Click here for an index to this and previous COWs