TWamitGdfHeader

This type is used to represent the header for a WAMIT GDF file. This structure is passed to C_SavePanelMesh or C_SavePanelMeshMem when saving a WAMIT GDF file.

typedef struct {

int Size;

LPCTSTR Header;

double Ulen;

double Grav;

int IsX;

int IsY;

} TWamitGdfHeader;

Members

Size

Specifies the size, in bytes, of this data structure. Set this member to sizeof(TWamitGdfHeader).

Header

The header text that appears in the first line of the GDF file.

Ulen, Grav

The characteristic value and gravitational constant, respectively. These are output on the second line of the GDF file.

IsX, IsY

Determine any planes of symmetry in the mesh. The WAMIT documentation defines these values as follows:

These symmetry flags relate to the OrcaFlex symmetry constants as follows:

Unicode and ANSI

The Unicode structure name is TWamitGdfHeaderW and the ANSI structure name is TWamitGdfHeaderA.

See also

C_SavePanelMesh, C_SavePanelMeshMem.