FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Modules | Functions/Subroutines | Variables
initiateFunctionTypeModule.f90 File Reference

Initialization of functions from the solver input file. More...

Data Types

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

Modules

module  functionnamelistmodule
 Module with a namelist for reading function data.
 
module  initiatefunctiontypemodule
 Initialization of function shapes from the solver input file.
 

Functions/Subroutines

subroutine, public initiatefunctiontypemodule::initiatefunctions (infp, gravity, seaDepth, waveFunc, functions, err)
 Initializes the function type with data from the solver input file. More...
 
integer function splineindex ()
 Returns the next spline index in the cyclic range [1,nSpln_p]. More...
 
logical function insertrao (RAOfile, RAOdof, waveDir, waveId, motionId)
 Inserts data for an RAO function into a linked list. More...
 
subroutine initiatefunctiontypemodule::createraomotions (RAO, functions, err)
 Creates the real data for the RAO motion functions. More...
 
subroutine, public initiatefunctiontypemodule::initiateengines1 (infp, engines, functions, err)
 Initializes the engine type with data from the solver input file. More...
 
subroutine, public initiatefunctiontypemodule::initiateengines2 (engines, sensors, err)
 Connects the engines to their argument sensors. More...
 

Variables

integer, parameter functionnamelistmodule::maxrealdata_p = 10000
 Max number of data values. More...
 
integer functionnamelistmodule::id
 Base ID of the function. More...
 
integer, dimension(10) functionnamelistmodule::extid
 User ID path of the function. More...
 
integer functionnamelistmodule::realdatasize
 Size of real data array. More...
 
integer functionnamelistmodule::extrapolationtype
 Extrapolation type flag. More...
 
integer functionnamelistmodule::channel
 Column index for data file. More...
 
integer functionnamelistmodule::narg
 Number of function arguments. More...
 
integer functionnamelistmodule::waveid
 Base Id for wave function. More...
 
integer functionnamelistmodule::wavedir
 Wave direction angle [deg]. More...
 
integer functionnamelistmodule::seed
 Random seed for wave function. More...
 
real(dp), dimension(maxrealdata_p) functionnamelistmodule::realdata
 Real data array. More...
 
character(ldesc_p) functionnamelistmodule::extdescr
 User description. More...
 
character(len=40) functionnamelistmodule::type
 Function type flag. More...
 
character(lfnam_p) functionnamelistmodule::filename
 Name of function data file. More...
 
character(len=500) functionnamelistmodule::expression
 Explicit function expression. More...
 

Detailed Description

Initialization of functions from the solver input file.

Function/Subroutine Documentation

◆ insertrao()

logical function initiatefunctions::insertrao ( character(len=*), intent(in)  RAOfile,
integer, intent(in)  RAOdof,
integer, intent(in)  waveDir,
integer, intent(in)  waveId,
integer, intent(in)  motionId 
)
private

Inserts data for an RAO function into a linked list.

◆ splineindex()

integer function initiatefunctions::splineindex

Returns the next spline index in the cyclic range [1,nSpln_p].