FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Functions/Subroutines
initiatefunctiontypemodule Module Reference

Initialization of function shapes from the solver input file. More...

Data Types

type  raotype
 Data type for temporary linked list of RAO data. More...
 

Functions/Subroutines

subroutine, public initiatefunctions (infp, gravity, seaDepth, waveFunc, functions, err)
 Initializes the function type with data from the solver input file. More...
 
subroutine createraomotions (RAO, functions, err)
 Creates the real data for the RAO motion functions. More...
 
subroutine, public initiateengines1 (infp, engines, functions, err)
 Initializes the engine type with data from the solver input file. More...
 
subroutine, public initiateengines2 (engines, sensors, err)
 Connects the engines to their argument sensors. More...
 

Detailed Description

Initialization of function shapes from the solver input file.

Function/Subroutine Documentation

◆ createraomotions()

subroutine initiatefunctiontypemodule::createraomotions ( type(raotype), intent(in)  RAO,
type(functiontype), dimension(:), intent(inout)  functions,
integer, intent(inout)  err 
)
private

Creates the real data for the RAO motion functions.

Parameters
[in]RAOData for an RAO motion function
functionsArray of all function shapes in the model
errError flag
Author
Knut Morten Okstad
Date
4 Mar 2008
Here is the caller graph for this function:

◆ initiateengines1()

subroutine, public initiatefunctiontypemodule::initiateengines1 ( integer, intent(in)  infp,
type(enginetype), dimension(:), pointer  engines,
type(functiontype), dimension(:), intent(in)  functions,
integer, intent(out)  err 
)

Initializes the engine type with data from the solver input file.

Parameters
[in]infpFile unit number for the solver input file
[out]enginesArray of all general functions in the model
[in]functionsArray of all function shapes in the model
[out]errError flag
Author
Bjorn Haugen
Date
7 Sep 1999
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initiateengines2()

subroutine, public initiatefunctiontypemodule::initiateengines2 ( type(enginetype), dimension(:), intent(inout)  engines,
type(sensortype), dimension(:), intent(in)  sensors,
integer, intent(out)  err 
)

Connects the engines to their argument sensors.

Parameters
enginesArray of all general functions in the model
[in]sensorsAll sensors (function argument objects) in the model
[out]errError flag
Author
Knut Morten Okstad
Date
20 Jun 2002
Here is the caller graph for this function:

◆ initiatefunctions()

subroutine, public initiatefunctiontypemodule::initiatefunctions ( integer, intent(in)  infp,
real(dp), dimension(3), intent(in)  gravity,
real(dp), intent(inout)  seaDepth,
type(functiontype), pointer  waveFunc,
type(functiontype), dimension(:), pointer  functions,
integer, intent(out)  err 
)

Initializes the function type with data from the solver input file.

Parameters
[in]infpFile unit number for the solver input file
[in]gravityGravitation vector
[in]seaDepthWater depth for wave function
[in]waveFuncPointer to the wave function to be used
[out]functionsArray of all function shapes in the model
[out]errError flag

This subroutine also processes the irregular wave function, generating time history parameters from the wave spectrum, etc.

Author
Bjorn Haugen
Date
7 Sep 1999
Here is the call graph for this function:
Here is the caller graph for this function: