OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
inflowwind_library.InflowWindLib Class Reference
Inheritance diagram for inflowwind_library.InflowWindLib:
Inheritance graph
[legend]
Collaboration diagram for inflowwind_library.InflowWindLib:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, library_path)
 
def ifw_init (self, input_string_array, uniform_string_array)
 
def ifw_calc_output (self, time, positions, velocities, outputChannelValues)
 
def ifw_end (self)
 
def check_error (self)
 
def output_channel_names (self)
 
def output_channel_units (self)
 

Public Attributes

 library_path
 
 ended
 
 abort_error_level
 
 error_status_c
 
 error_message_c
 
 dt
 
 numTimeSteps
 
 numWindPts
 
 numChannels
 

Static Public Attributes

dictionary error_levels
 
int error_msg_c_len = 1025
 

Private Member Functions

def _initialize_routines (self)
 

Private Attributes

 _channel_names_c
 
 _channel_units_c
 
 _numChannels_c
 

Member Function Documentation

◆ _initialize_routines()

def inflowwind_library.InflowWindLib._initialize_routines (   self)
private
Initialize the Python handles to necessary routines in the InflowWind library.

◆ ifw_calc_output()

def inflowwind_library.InflowWindLib.ifw_calc_output (   self,
  time,
  positions,
  velocities,
  outputChannelValues 
)
Call the calculation routine in the InflowWind library.
Here is the call graph for this function:

◆ ifw_end()

def inflowwind_library.InflowWindLib.ifw_end (   self)
Call the cleanup routine in the InflowWind library.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ifw_init()

def inflowwind_library.InflowWindLib.ifw_init (   self,
  input_string_array,
  uniform_string_array 
)
Call the initialization routine in the InflowWind library.
Here is the call graph for this function:

Member Data Documentation

◆ error_levels

dictionary inflowwind_library.InflowWindLib.error_levels
static
Initial value:
= {
0: "None",
1: "Info",
2: "Warning",
3: "Severe Error",
4: "Fatal Error"
}

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