|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
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... | |
Initialization of function shapes from the solver input file.
|
private |
Creates the real data for the RAO motion functions.
| [in] | RAO | Data for an RAO motion function |
| functions | Array of all function shapes in the model | |
| err | Error flag |

| 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.
| [in] | infp | File unit number for the solver input file |
| [out] | engines | Array of all general functions in the model |
| [in] | functions | Array of all function shapes in the model |
| [out] | err | Error flag |


| 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.
| engines | Array of all general functions in the model | |
| [in] | sensors | All sensors (function argument objects) in the model |
| [out] | err | Error flag |

| 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.
| [in] | infp | File unit number for the solver input file |
| [in] | gravity | Gravitation vector |
| [in] | seaDepth | Water depth for wave function |
| [in] | waveFunc | Pointer to the wave function to be used |
| [out] | functions | Array of all function shapes in the model |
| [out] | err | Error flag |
This subroutine also processes the irregular wave function, generating time history parameters from the wave spectrum, etc.

