OpenFAST
Wind turbine multiphysics simulator
Private Attributes | List of all members
wamit2::w2_initdata3d_type Type Reference

This type is only used locally for holding data during the Initialization. More...

Private Attributes

integer(intki) numwvfreq1
 Number of frequencies in first frequency direction set.
 
integer(intki) numwvdir1
 Number of wave directions in first wave direction set.
 
integer(intki) numwvdir2
 Number of wave directions in second wave direction set.
 
integer(intki) numbodies
 Number of bodies in the file (based on highest LoadComponent listed)
 
logical, dimension(:), allocatable dataissparse
 Flag to indicate if the data is sparse or complete. More...
 
logical, dimension(:), allocatable loadcomponents
 Which load components actually exist in the input file.
 
complex(siki), dimension(:,:,:,:), allocatable dataset
 Storage for 3D data from the 2nd order WAMIT file.
 
logical, dimension(:,:,:,:), allocatable datamask
 Mask for knowing which data points are complete, which are missing.
 
real(siki), dimension(:), allocatable wvfreq1
 (1:NumFreq1) elements – values correspond to index 1 of DataSet
 
real(siki), dimension(:), allocatable wvdir1
 (1:NumWvDir1) elements – values correspond to index 2 of DataSet
 
real(siki), dimension(:), allocatable wvdir2
 (1:NumWvDir2) elements – values correspond to index 3 of DataSet
 

Detailed Description

This type is only used locally for holding data during the Initialization.

It will not be used outside of the WAMIT2_Init routine. The 3D data is of the form F_k( WvFreq1, WvDir1, WvDir2, k ) where k is coordinate index to the load components (surge, sway, heave, roll, pitch, yaw). DataSet is of size (NumFreq1,NumWvDir1,NumWvDir2,6*NumBodies). The LoadComponents array contains flags that will indicate which of the LoadComponents were read in from the data file.

The DataMask array is of the same size as the DataSet matrix and corresponds to it. Each point in DataMask that is true indicates that the datapoint in DataSet is an actual value. Any missing points are set to 0 in DataSet and marked as FALSE in DataMask. This is used for determining if the matrix is sparse or not. If any points are missing, then DataIsSparse is set to TRUE. This will determine which algorithm we use for interpolation.

Member Data Documentation

◆ dataissparse

logical, dimension(:), allocatable wamit2::w2_initdata3d_type::dataissparse
private

Flag to indicate if the data is sparse or complete.

One per component direction


The documentation for this type was generated from the following file: