FEDEM Solver
R8.0
Source code of the dynamics solver
|
Module with subroutines for saving of time history results. More...
Data Types | |
type | headerid |
Variable- and item group indices for response data files. More... | |
Functions/Subroutines | |
subroutine | writeitgref (iFile, itemGroup) |
Writes an item group reference to the file header. More... | |
subroutine, public | initiatesavemodule () |
Initializes the solver result database file. More... | |
subroutine, public | writesolverheaders (cResponseFiles, mech, control, modes, bufRat, neq, writeAsDouble, ierr, modelFile) |
Administers writing of results database headers. More... | |
subroutine, public | flushresultfiles (ierr) |
Flushes the results database file(s) to disk. More... | |
subroutine, public | closeresultfiles (haveData, ierr) |
Closes the results database file(s). More... | |
subroutine, public | writesolverdb1 (sys, triads, sups, writeAsDouble, ierr) |
Administers writing of primary response results to database file. More... | |
subroutine, public | writesolverdb2 (sys, mech, control, scaleTo, eta, ws, writeAsDouble, ierr) |
Administers writing of secondary response results to database file. More... | |
subroutine, public | writesolverdb5 (sys, triads, sups, masses, ierr) |
Administers writing of frequency response results to database file. More... | |
logical function | insertidmap (iVal, iMap, nId, id) |
Helper function inserting an integer pair into a map. More... | |
subroutine | writedofig (itemGroup, jDof, cIG) |
Writes an item group reference for a joint or triad DOF. More... | |
subroutine | writesupelheader1 (respDB, header, supel, nBits, ierr) |
Writes primary results database file header for a superelement. More... | |
subroutine | writesupelheader2 (respDB, header, supel, nBits, includePosMat, ierr) |
Writes secondary results database file header for a superelement. More... | |
subroutine | writeuserdefelheader (respDB, header, elm, nBits) |
Writes results database file header for a user-defined element. More... | |
subroutine | writetriadheader1 (respDB, header, triad, nBits) |
Writes primary results database file header for a triad. More... | |
subroutine | writetriadheader2 (respDB, header, triad, nBits, includePosMat, ierr) |
Writes secondary results database file header for a triad. More... | |
subroutine | writespringelementheader (respDB, header, spring, nBits, ierr) |
Writes results database file header for an axial spring. More... | |
subroutine | writespringheader (respDB, header, spring, sDof, nBits, ierr) |
Writes results database file header for a spring. More... | |
subroutine | writeaxialdamperheader (respDB, header, damper, nBits, ierr) |
Writes results database file header for an axial damper. More... | |
subroutine | writedamperheader (respDB, header, damper, dDof, nBits, ierr) |
Writes results database file header for a damper. More... | |
subroutine | writefrictionheader (respDB, header, friction, jointDof, nBits, ierr) |
Writes results database file header for a friction. More... | |
subroutine | writeforceheader (respDB, header, force, nBits) |
Writes results database file header for an external force. More... | |
subroutine | writejointheader (respDB, header, joint, forces, motions, nBits, ierr) |
Writes results database file header for a joint. More... | |
subroutine | writecontactheader (respDB, header, cElem, nBits, ierr) |
Writes results database file header for a contact element. More... | |
subroutine | writetireheader (respDB, header, tire, nBits, ierr) |
Writes results database file header for a tire. More... | |
subroutine | writeengineheader (respDB, header, engine) |
Writes results database file header for a general function (engine). More... | |
subroutine | writecontrolheader (respDB, header, ctrl) |
Writes results database file header for the control system. More... | |
subroutine | writemechanismheader (respDB, header, mech, neq) |
Writes results database file header for the mechanism. More... | |
subroutine | writewindturbineheader (respDB, turbine) |
Writes results database file header for a wind turbine. More... | |
subroutine | writetriaddb1 (respDB, triad, writeAsDouble, ierr) |
Writes primary variables for a triad to results database. More... | |
subroutine | writetriaddb2 (respDB, triad, writeAsDouble, ierr) |
Writes secondary variables for a triad to results database. More... | |
subroutine | writetriadforcesdb (respDB, triad, ierr) |
Writes some force variables for a triad to results database. More... | |
subroutine | writesupeldb1 (respDB, supel, writeAsDouble, ierr) |
Writes primary variables for a superelement to results database. More... | |
subroutine | writesupeldb2 (respDB, supel, masses, sysMass, sysCG, sysVb, sysCB, writeAsDouble, ierr) |
Writes secondary variables for a superelement to results database. More... | |
subroutine | writeuserdefeldb (respDB, elm, writeAsDouble, ierr) |
Writes results for a user-defined element to results database file. More... | |
subroutine | writespringdb (respDB, spring, writeAsDouble, ierr) |
Writes results for a spring to results database file. More... | |
subroutine | writedamperdb (respDB, damper, writeAsDouble, ierr) |
Writes results for a damper to results database file. More... | |
subroutine | writefrictiondb (respDB, friction, writeAsDouble, ierr) |
Writes results for a friction to results database file. More... | |
subroutine | writeforcedb (respDB, force, writeAsDouble, ierr) |
Writes results for an external force to results database file. More... | |
subroutine | writejointdb (respDB, joint, forces, motions, writeAsDouble, ierr) |
Writes results for a joint to results database file. More... | |
subroutine | writecontactdb (respDB, cElem, writeAsDouble, ierr) |
Writes results for a contact element to results database file. More... | |
subroutine | writetiredb (respDB, tire, scaleTo, sysMass, sysCG, writeAsDouble, ierr) |
Writes results for a tire to results database file. More... | |
subroutine | writeenginedb (respDB, engine, ierr) |
Writes results for a general function to results database file. More... | |
subroutine | writecontroldb (respDB, ctrl, ierr) |
Writes results for the control system to results database file. More... | |
subroutine | writemechanismdb (respDB, mech, sys, posCG, posCB, sysVB, ierr) |
Writes results for the mechanism to results database file. More... | |
Variables | |
type(rdbtype), save, public | res1db |
File for primary response variables. More... | |
type(rdbtype), save, public | res2db |
File for secondary response variables. More... | |
type(rdbtype), save, public | modedb |
File for modal data. More... | |
type(rdbtype), save, public | ctrldb |
File for control system data. More... | |
type(rdbtype), save, public | freqdb |
File for frequency domain response variables. More... | |
integer, parameter | nvarcti_p = 100 |
Number of CTI variables in debug mode. More... | |
integer, parameter | max_ude_p = 100 |
Max. user-defined element variables. More... | |
Module with subroutines for saving of time history results.
This module contains a set of results database file containers for the FEDEM Dynamics Solver, and a collection of subroutines for writing time history results data for the various object types of a FEDEM mechanism to the results database.
subroutine, public savemodule::closeresultfiles | ( | logical, dimension(5), intent(out) | haveData, |
integer, intent(out) | ierr | ||
) |
Closes the results database file(s).
[out] | haveData | Flags telling whether each file have any data or not |
[out] | ierr | Error flag |
subroutine, public savemodule::flushresultfiles | ( | integer, intent(out) | ierr | ) |
Flushes the results database file(s) to disk.
[out] | ierr | Error flag |
subroutine, public savemodule::initiatesavemodule |
Initializes the solver result database file.
logical function savemodule::insertidmap | ( | integer, intent(in) | iVal, |
integer, dimension(:,:), intent(inout) | iMap, | ||
integer, intent(inout) | nId, | ||
integer, intent(out) | id | ||
) |
Helper function inserting an integer pair into a map.
[in] | iVal | The first (key value) integer of the pair to insert |
iMap | The integer map array | |
nId | Current size of the map | |
[out] | id | The second value of the inserted integer pair |
The non-zero integer value iVal is mapped into an integer value id in the range [1,nId], where nId is the number of distinct values. Returns .true. unless the value is already in the mapping. If the provided array is too small, the variable id is set to -1.
subroutine savemodule::writeaxialdamperheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(dampertype), intent(in) | damper, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for an axial damper.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | damper | The axial damper to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
|
private |
Writes results for a contact element to results database file.
respDB | File for secondary response variables | |
[in] | cElem | The contact element to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
|
private |
Writes results database file header for a contact element.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | cElem | The contact element to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writecontroldb | ( | type(rdbtype), intent(inout) | respDB, |
type(controltype), intent(in) | ctrl, | ||
integer, intent(out) | ierr | ||
) |
Writes results for the control system to results database file.
respDB | File for secondary response variables | |
[in] | ctrl | Control system data |
[out] | ierr | Error flag |
subroutine savemodule::writecontrolheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(controltype), intent(in) | ctrl | ||
) |
Writes results database file header for the control system.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | ctrl | Control system data |
subroutine savemodule::writedamperdb | ( | type(rdbtype), intent(inout) | respDB, |
type(damperbasetype), intent(in) | damper, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a damper to results database file.
respDB | File for secondary response variables | |
[in] | damper | The damper to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writedamperheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(damperbasetype), intent(in) | damper, | ||
integer, intent(in) | dDof, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for a damper.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | damper | The damper to write file header for |
[in] | dDof | Local DOF index |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writedofig | ( | integer, intent(in) | itemGroup, |
integer, intent(in), optional | jDof, | ||
character(len=*), intent(in), optional | cIG | ||
) |
Writes an item group reference for a joint or triad DOF.
[in] | itemGroup | Item group ID |
[in] | jDof | Local DOF index |
[in] | cIG | Item group name tag |
The beginning of the item group definition for a DOF configuration is written to the item group definition section of the results file header, and a reference to it is written to the associated data section.
subroutine savemodule::writeenginedb | ( | type(rdbtype), intent(inout) | respDB, |
type(enginetype), intent(in) | engine, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a general function to results database file.
respDB | File for secondary response variables | |
[in] | engine | The general function to write result variables for |
[out] | ierr | Error flag |
subroutine savemodule::writeengineheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(enginetype), intent(in) | engine | ||
) |
Writes results database file header for a general function (engine).
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | engine | The general function to write file header for |
subroutine savemodule::writeforcedb | ( | type(rdbtype), intent(inout) | respDB, |
type(forcetype), intent(in) | force, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for an external force to results database file.
respDB | File for secondary response variables | |
[in] | force | The external force to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writeforceheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(forcetype), intent(in) | force, | ||
integer, intent(in) | nBits | ||
) |
Writes results database file header for an external force.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | force | The external force to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
subroutine savemodule::writefrictiondb | ( | type(rdbtype), intent(inout) | respDB, |
type(frictiontype), intent(in) | friction, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a friction to results database file.
respDB | File for secondary response variables | |
[in] | friction | The friction to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writefrictionheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(frictiontype), intent(in) | friction, | ||
integer, intent(in) | jointDof, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for a friction.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | friction | The friction to write file header for |
[in] | jointDof | Local DOF index |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
|
private |
Writes an item group reference to the file header.
[in] | iFile | File unit number to write to |
[in] | itemGroup | Item group ID |
subroutine savemodule::writejointdb | ( | type(rdbtype), intent(inout) | respDB, |
type(masterslavejointtype), intent(in) | joint, | ||
type(forcetype), dimension(:), intent(in) | forces, | ||
type(motiontype), dimension(:), intent(in) | motions, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a joint to results database file.
respDB | File for secondary response variables | |
[in] | joint | The joint to write result variables for |
[in] | forces | All external forces in the model |
[in] | motions | All prescribed motions in the model |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writejointheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(masterslavejointtype), intent(in) | joint, | ||
type(forcetype), dimension(:), intent(in) | forces, | ||
type(motiontype), dimension(:), intent(in) | motions, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for a joint.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | joint | The joint to write file header for |
[in] | forces | All external forces in the model |
[in] | motions | All prescribed motions in the model |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writemechanismdb | ( | type(rdbtype), intent(inout) | respDB, |
type(mechanismtype), intent(in) | mech, | ||
type(systemtype), intent(in) | sys, | ||
real(dp), dimension(3), intent(in) | posCG, | ||
real(dp), dimension(3), intent(in) | posCB, | ||
real(dp), intent(in) | sysVB, | ||
integer, intent(out) | ierr | ||
) |
Writes results for the mechanism to results database file.
respDB | File for secondary response variables | |
[in] | mech | Mechanism components of the model |
[in] | sys | System level model data |
[in] | posCG | Centre of gravity for the mechanism |
[in] | posCB | Centre of buoyancy for the mechanism |
[in] | sysVb | Buoyancy volume for the mechanism |
[out] | ierr | Error flag |
subroutine savemodule::writemechanismheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(mechanismtype), intent(in) | mech, | ||
integer, intent(in) | neq | ||
) |
Writes results database file header for the mechanism.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | mech | Mechanism components of the model |
[in] | neq | Number of equations (system vector dimension) |
subroutine, public savemodule::writesolverdb1 | ( | type(systemtype), intent(in) | sys, |
type(triadtype), dimension(:), intent(in) | triads, | ||
type(supeltype), dimension(:), intent(in) | sups, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Administers writing of primary response results to database file.
[in] | sys | System level data |
[in] | triads | Array of all triad objects |
[in] | sups | Array of all superelement objects |
[in] | writeAsDouble | Flag for writing double vs. single precision |
[out] | ierr | Error flag |
subroutine, public savemodule::writesolverdb2 | ( | type(systemtype), intent(in) | sys, |
type(mechanismtype), intent(in) | mech, | ||
type(controltype), intent(in) | control, | ||
type(scaletotype), intent(in) | scaleTo, | ||
real(dp), intent(in) | eta, | ||
real(dp), dimension(:,:), intent(in) | ws, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Administers writing of secondary response results to database file.
[in] | sys | System level data |
[in] | mech | Container of all mechanism objects |
[in] | control | Control system data |
[in] | scaleTo | Scaling factors for tire model data |
[in] | eta | Current wave elevation at global origin |
[in] | ws | Current wind speed at user-defined points |
[in] | writeAsDouble | Flag for writing double vs. single precision |
[out] | ierr | Error flag |
subroutine, public savemodule::writesolverdb5 | ( | type(systemtype), intent(in) | sys, |
type(triadtype), dimension(:), intent(in) | triads, | ||
type(supeltype), dimension(:), intent(in) | sups, | ||
type(masstype), dimension(:), intent(in) | masses, | ||
integer, intent(out) | ierr | ||
) |
Administers writing of frequency response results to database file.
[in] | sys | System level data |
[in] | triads | Array of all triad objects |
[in] | sups | Array of all superelement objects |
[in] | masses | All point masses in the model |
[out] | ierr | Error flag |
subroutine, public savemodule::writesolverheaders | ( | character(len=*), dimension(:), intent(in) | cResponseFiles, |
type(mechanismtype), intent(in) | mech, | ||
type(controltype), intent(in) | control, | ||
type(modestype), intent(in) | modes, | ||
real(dp), dimension(:), intent(in) | bufRat, | ||
integer, intent(in) | neq, | ||
logical, dimension(:), intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr, | ||
character(len=*), intent(in), optional | modelFile | ||
) |
Administers writing of results database headers.
[in] | cResponseFiles | Array of file names |
[in] | mech | Container of all mechanism objects |
[in] | control | Control system data |
[in] | modes | Eigenmode data |
[in] | bufRat | Relative buffer sizes for each result file |
[in] | neq | Number of equations (system vector dimension) |
[in] | writeAsDouble | Flags for writing double vs. single precision |
[out] | ierr | Error flag |
[in] | modelfile | Model file name from which current model is generated |
subroutine savemodule::writespringdb | ( | type(rdbtype), intent(inout) | respDB, |
type(springbasetype), intent(in) | spring, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a spring to results database file.
respDB | File for secondary response variables | |
[in] | spring | The spring to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writespringelementheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(springtype), intent(in) | spring, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for an axial spring.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | spring | The axial spring to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writespringheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(springbasetype), intent(in) | spring, | ||
integer, intent(in) | sDof, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for a spring.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | spring | The spring to write file header for |
[in] | sDof | Local DOF index |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writesupeldb1 | ( | type(rdbtype), intent(inout) | respDB, |
type(supeltype), intent(in) | supel, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes primary variables for a superelement to results database.
respDB | File for primary response variables | |
[in] | supel | The superelement to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writesupeldb2 | ( | type(rdbtype), intent(inout) | respDB, |
type(supeltype), intent(in) | supel, | ||
type(masstype), dimension(:), intent(in) | masses, | ||
real(dp), dimension(3), intent(inout) | sysMass, | ||
real(dp), dimension(3), intent(inout) | sysCG, | ||
real(dp), intent(inout) | sysVb, | ||
real(dp), dimension(3), intent(inout) | sysCB, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes secondary variables for a superelement to results database.
respDB | File for secondary response variables | |
[in] | supel | The superelement to write result variables for |
[in] | masses | All point masses in the model |
sysMass | Total mass for the mechanism | |
sysCG | Centre of gravity for the mechanism | |
sysVb | Buoyancy volume for the mechanism | |
sysCB | Centre of buoyancy for the mechanism | |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writesupelheader1 | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(supeltype), intent(in) | supel, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes primary results database file header for a superelement.
respDB | File for primary response variables | |
header | Variable- and item group index container | |
[in] | supel | The superelement to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writesupelheader2 | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(supeltype), intent(in) | supel, | ||
integer, intent(in) | nBits, | ||
logical, intent(in), optional | includePosMat, | ||
integer, intent(out), optional | ierr | ||
) |
Writes secondary results database file header for a superelement.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | supel | The superelement to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[in] | includePosMat | If .true., include the position matrix also |
[out] | ierr | Error flag |
subroutine savemodule::writetiredb | ( | type(rdbtype), intent(inout) | respDB, |
type(tiretype), intent(in) | tire, | ||
type(scaletotype), intent(in) | scaleTo, | ||
real(dp), dimension(3), intent(inout) | sysMass, | ||
real(dp), dimension(3), intent(inout) | sysCG, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a tire to results database file.
respDB | File for secondary response variables | |
[in] | tire | The tire to write result variables for |
[in] | scaleTo | Scaling factors for tire model variables |
sysMass | Total mass for the mechanism | |
sysCG | Centre of gravity for the mechanism | |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writetireheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(tiretype), intent(in) | tire, | ||
integer, intent(in) | nBits, | ||
integer, intent(out) | ierr | ||
) |
Writes results database file header for a tire.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | tire | The tire to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[out] | ierr | Error flag |
subroutine savemodule::writetriaddb1 | ( | type(rdbtype), intent(inout) | respDB, |
type(triadtype), intent(in) | triad, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes primary variables for a triad to results database.
respDB | File for primary response variables | |
[in] | triad | The triad to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writetriaddb2 | ( | type(rdbtype), intent(inout) | respDB, |
type(triadtype), intent(in) | triad, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes secondary variables for a triad to results database.
respDB | File for secondary response variables | |
[in] | triad | The triad to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writetriadforcesdb | ( | type(rdbtype), intent(inout) | respDB, |
type(triadtype), intent(in) | triad, | ||
integer, intent(out) | ierr | ||
) |
Writes some force variables for a triad to results database.
respDB | File for secondary response variables | |
[in] | triad | The triad to write result variables for |
[out] | ierr | Error flag |
subroutine savemodule::writetriadheader1 | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(triadtype), intent(in) | triad, | ||
integer, intent(in) | nBits | ||
) |
Writes primary results database file header for a triad.
respDB | File for primary response variables | |
header | Variable- and item group index container | |
[in] | triad | The triad to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
subroutine savemodule::writetriadheader2 | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(triadtype), intent(in) | triad, | ||
integer, intent(in) | nBits, | ||
logical, intent(in), optional | includePosMat, | ||
integer, intent(out), optional | ierr | ||
) |
Writes secondary results database file header for a triad.
respDB | File for primary response variables | |
header | Variable- and item group index container | |
[in] | triad | The triad to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
[in] | includePosMat | If .true., include the position matrix also |
[out] | ierr | Error flag |
subroutine savemodule::writeuserdefeldb | ( | type(rdbtype), intent(inout) | respDB, |
type(userdefeltype), intent(in) | elm, | ||
logical, intent(in) | writeAsDouble, | ||
integer, intent(out) | ierr | ||
) |
Writes results for a user-defined element to results database file.
respDB | File for secondary response variables | |
[in] | elm | The user-defined element to write result variables for |
[in] | writeAsDouble | If .true., write variables in double precision |
[out] | ierr | Error flag |
subroutine savemodule::writeuserdefelheader | ( | type(rdbtype), intent(inout) | respDB, |
type(headerid), intent(inout) | header, | ||
type(userdefeltype), intent(in) | elm, | ||
integer, intent(in) | nBits | ||
) |
Writes results database file header for a user-defined element.
respDB | File for secondary response variables | |
header | Variable- and item group index container | |
[in] | elm | The user-defined element to write file header for |
[in] | nBits | Size of a real variables (32 or 64 bit) |
|
private |
Writes results database file header for a wind turbine.
respDB | File for secondary response variables | |
[in] | turbine | Wind turbine object to write file header for |
type(rdbtype), save, public savemodule::ctrldb |
File for control system data.
type(rdbtype), save, public savemodule::freqdb |
File for frequency domain response variables.
|
private |
Max. user-defined element variables.
type(rdbtype), save, public savemodule::modedb |
File for modal data.
|
private |
Number of CTI variables in debug mode.
Number of CTI variables.
type(rdbtype), save, public savemodule::res1db |
File for primary response variables.
type(rdbtype), save, public savemodule::res2db |
File for secondary response variables.