![]() |
OpenFAST
Wind turbine multiphysics simulator
|
This module contains file I/O routines and data validation routines. More...
Functions/Subroutines | |
subroutine | seterrstatsimple (ErrStat, ErrMess, RoutineName, LineNumber) |
Helper functions for the module. More... | |
subroutine | disp2r8 (u, varname, a) |
subroutine | disp1r8 (u, varname, a) |
subroutine | disp1i (u, varname, a) |
real(reki) function | readfloatfromstr (s, VarName, iStat, Msg) |
Helper functions to read primary file. | |
integer function | readintfromstr (s, VarName, iStat, Msg) |
subroutine | readrealmatrix (fid, FileName, Mat, VarName, nLines, nRows, iStat, Msg, iLine) |
subroutine, public | setoutparam (OutList, NumOuts_in, p, ErrStat, ErrMsg) |
subroutine | checkinputs (Inp, p, ErrStat, ErrMsg) |
Checks that all inputs were correctly read. More... | |
subroutine, public | readprimaryfile (InputFile, p, OutFileRoot, InputFileData, ErrStat, ErrMsg) |
subroutine | reducenumberofdof (p, ErrStat, ErrMsg) |
Reduce the number of degrees of freedom given as input. More... | |
subroutine | readreducedfile (InputFile, p, FileFormat, ErrStat, ErrMsg) |
subroutine, public | extptfm_printsum (x, p, m, RootName, ErrStat, ErrMsg) |
This routine generates the summary file, which contains a regurgitation of the input data and interpolated flexible body data. More... | |
This module contains file I/O routines and data validation routines.
|
private |
Checks that all inputs were correctly read.
[in,out] | inp | Data stored in the module's input file |
[in,out] | p | All the parameter matrices stored in this input file |
[out] | errstat | Error status |
[out] | errmsg | Error message |
subroutine, public extptfm_mckf_io::extptfm_printsum | ( | type(extptfm_continuousstatetype), intent(in) | x, |
type(extptfm_parametertype), intent(in) | p, | ||
type(extptfm_miscvartype), intent(in) | m, | ||
character(*), intent(in) | RootName, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
This routine generates the summary file, which contains a regurgitation of the input data and interpolated flexible body data.
[in] | x | Initial continuous states |
[in] | p | Parameters of the structural dynamics module |
[in] | m | Misc variables for optimization (not copied in glue code) |
[in] | rootname | Root Name to write the summary file |
[out] | errstat | Error status of the operation |
[out] | errmsg | Error message if ErrStat /= ErrID_None |
subroutine, public extptfm_mckf_io::readprimaryfile | ( | character(*), intent(in) | InputFile, |
type(extptfm_parametertype), intent(inout) | p, | ||
character(*), intent(in) | OutFileRoot, | ||
type(extptfm_inputfile), intent(out) | InputFileData, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
[in] | inputfile | Name of the file containing the primary input data |
[in,out] | p | All the parameter matrices stored in this input file |
[in] | outfileroot | The rootname of all the output files written by this routine. |
[out] | errstat | Error status |
[out] | errmsg | Error message |
|
private |
[in] | inputfile | Name of the file containing the primary input data |
[in,out] | p | All the parameter matrices stored in this input file |
[in] | fileformat | File format for reduction inputs |
[out] | errstat | Error status |
[out] | errmsg | Error message |
|
private |
Reduce the number of degrees of freedom given as input.
[in,out] | p | All the parameter matrices stored in this input file |
[out] | errstat | Error status |
[out] | errmsg | Error message |
|
private |
Helper functions for the module.
This routine sets the error status and error message for a routine, it's a simplified version of SetErrStat from NWTC_Library
subroutine, public extptfm_mckf_io::setoutparam | ( | character(chanlen), dimension(:), intent(in) | OutList, |
integer(intki), intent(in) | NumOuts_in, | ||
type(extptfm_parametertype), intent(inout) | p, | ||
integer(intki), intent(out) | ErrStat, | ||
character(*), intent(out) | ErrMsg | ||
) |
[in] | outlist | The list out user-requested outputs |
[in] | numouts_in | Effective number of output channels |
[in,out] | p | The module parameters |
[out] | errstat | The error status code |
[out] | errmsg | The error message, if an error occurred |