|
|
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;
Specifies the size, in bytes, of this data structure. Set this member to sizeof(TWamitGdfHeader).
The header text that appears in the first line of the GDF file.
The characteristic value and gravitational constant, respectively. These are output on the second line of the GDF file.
Determine any planes of symmetry in the mesh. The WAMIT documentation defines these values as follows:
IsX = 1: the x = 0 plane is a geometric plane of symmetryIsX = 0: the x = 0 plane is not a geometric plane of symmetryIsY = 1: the y = 0 plane is a geometric plane of symmetryIsY = 0: the y = 0 plane is not a geometric plane of symmetryThese symmetry flags relate to the OrcaFlex symmetry constants as follows:
msNone: IsX == 0, IsY == 0msXZ: IsX == 0, IsY == 1msYZ: IsX == 1, IsY == 0msXZYZ: IsX == 1, IsY == 1The Unicode structure name is TWamitGdfHeaderW and the ANSI structure name is TWamitGdfHeaderA.