OpenFAST
Wind turbine multiphysics simulator
Private Attributes | List of all members
wamit2::w2_initdata4d_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) numwvfreq2
 Number of frequencies in second 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 wvfreqdiagcomplete
 Flag to indicate if the diagonal element is complete or not (Omega_m, Omega_m). More...
 
logical issumforce
 Flag to indicate that this is a sum type array. More...
 
logical, dimension(:), allocatable loadcomponents
 Which load components actually exist in the input file.
 
complex(siki), dimension(:,:,:,:,:), allocatable dataset
 Storage for 4D 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 wvfreq2
 (1:NumFreq2) elements – values correspond to index 2 of DataSet
 
real(siki), dimension(:), allocatable wvdir1
 (1:NumWvDir1) elements – values correspond to index 3 of DataSet
 
real(siki), dimension(:), allocatable wvdir2
 (1:NumWvDir2) elements – values correspond to index 4 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 4D data is of the form F_k( WvFreq1, WvFreq2, WvDir1, WvDir2, k ) where k is coordinate index to the load components (surge, sway, heave, roll, pitch, yaw). DataSet is of size (NumFreq1,NumFreq2,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.

Member Data Documentation

◆ dataissparse

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

Flag to indicate if the data is sparse or complete.

One per component direction

◆ issumforce

logical wamit2::w2_initdata4d_type::issumforce
private

Flag to indicate that this is a sum type array.

Used in setting the F_{nm} term from F_{mn} term.

◆ wvfreqdiagcomplete

logical wamit2::w2_initdata4d_type::wvfreqdiagcomplete
private

Flag to indicate if the diagonal element is complete or not (Omega_m, Omega_m).


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