FEDEM Solver
R8.0
Source code of the dynamics solver
|
Initialization of superelements from the solver input file. More...
Functions/Subroutines | |
subroutine, public | readsupels (infp, env, triads, sups, err) |
Initializes superelements with data from the input file. More... | |
subroutine, public | initiatesupels2 (sam, sys, sups, masses, engines, err) |
Initializes more superelement arrays after system initialization. More... | |
subroutine | readsupelmatrices (fileNames, sup, ierr) |
Reads into core the reduced superelement matrices from file. More... | |
subroutine | readnonlinsupelmatrices (fileNames, sup, numData, ierr) |
Reads into core the reduced nonlinear superelement matrices. More... | |
subroutine | readmatrix (fileName, supId, dtype, ndata, data, ierr) |
Reads a matrix from a binary file into core. More... | |
subroutine, public | writesupels2ftn (sups, ierr) |
Writes a Fortran90 subroutine with hard-coded superelement matrices. More... | |
Initialization of superelements from the solver input file.
subroutine, public initiatesupeltypemodule::initiatesupels2 | ( | type(samtype), intent(in) | sam, |
type(systemtype), intent(in) | sys, | ||
type(supeltype), dimension(:), intent(inout) | sups, | ||
type(masstype), dimension(:), intent(in) | masses, | ||
type(enginetype), dimension(:), intent(in) | engines, | ||
integer, intent(out) | err | ||
) |
Initializes more superelement arrays after system initialization.
[in] | sam | Data for managing system matrix assembly |
[in] | sys | System level model data |
sups | All superelements in the model | |
[in] | masses | All point masses in the model |
[in] | engines | All general functions in the model |
[out] | err | Error flag |
subroutine initiatesupeltypemodule::readmatrix | ( | character(len=*), intent(in) | fileName, |
integer, intent(in) | supId, | ||
character(len=*), intent(in) | dtype, | ||
integer, intent(in) | ndata, | ||
real(dp), intent(out) | data, | ||
integer, dimension(:), intent(inout) | ierr | ||
) |
Reads a matrix from a binary file into core.
[in] | fileName | The file containing the matrix to read |
[in] | supId | Base ID of the superelement the matrix is associated with |
[in] | dtype | Type of matrix to read (stiffness, mass, etc.) |
[in] | ndata | Size of the matrix to read |
[out] | data | The matrix data |
ierr | Error flags |
subroutine initiatesupeltypemodule::readnonlinsupelmatrices | ( | character(len=*), dimension(5), intent(in) | fileNames, |
type(supeltype), intent(inout) | sup, | ||
integer, intent(in) | numData, | ||
integer, intent(out) | ierr | ||
) |
Reads into core the reduced nonlinear superelement matrices.
[in] | fileNames | List of files containing the superelement matrices |
sup | The superelement to read matrices for | |
[in] | numData | Number of states in the nonlinear reduction |
[out] | ierr | Error flag |
|
private |
Reads into core the reduced superelement matrices from file.
[in] | fileNames | List of files containing the superelement matrices |
sup | The superelement to read matrices for | |
[out] | ierr | Error flag |
subroutine, public initiatesupeltypemodule::readsupels | ( | integer, intent(in) | infp, |
type(environmenttype), intent(in) | env, | ||
type(triadtype), dimension(:), intent(in) | triads, | ||
type(supeltype), dimension(:), pointer | sups, | ||
integer, intent(out) | err | ||
) |
Initializes superelements with data from the input file.
[in] | infp | File unit number for the solver input file |
[in] | env | Environmental data |
[in] | triads | Array of all triads in the model |
[out] | sups | Array of all superelements in the model |
[out] | err | Error flag |
subroutine, public initiatesupeltypemodule::writesupels2ftn | ( | type(supeltype), dimension(:), intent(in) | sups, |
integer, intent(out) | ierr | ||
) |
Writes a Fortran90 subroutine with hard-coded superelement matrices.
sups | All superelements in the model | |
[out] | ierr | Error flag |