FEDEM Solver  R8.0
Source code of the dynamics solver
Functions/Subroutines
initiatesupeltypemodule Module Reference

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...
 

Detailed Description

Initialization of superelements from the solver input file.

Function/Subroutine Documentation

◆ initiatesupels2()

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.

Parameters
[in]samData for managing system matrix assembly
[in]sysSystem level model data
supsAll superelements in the model
[in]massesAll point masses in the model
[in]enginesAll general functions in the model
[out]errError flag
Author
Knut Morten Okstad
Date
3 Aug 2000
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readmatrix()

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.

Parameters
[in]fileNameThe file containing the matrix to read
[in]supIdBase ID of the superelement the matrix is associated with
[in]dtypeType of matrix to read (stiffness, mass, etc.)
[in]ndataSize of the matrix to read
[out]dataThe matrix data
ierrError flags
Author
Knut Morten Okstad
Date
26 Sep 2000
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readnonlinsupelmatrices()

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.

Parameters
[in]fileNamesList of files containing the superelement matrices
supThe superelement to read matrices for
[in]numDataNumber of states in the nonlinear reduction
[out]ierrError flag
Author
Leif Ivar Myklebust and Bjorn Haugen
Date
11 Sep 2006
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readsupelmatrices()

subroutine initiatesupeltypemodule::readsupelmatrices ( character(len=*), dimension(4), intent(in)  fileNames,
type(supeltype), intent(inout)  sup,
integer, intent(out)  ierr 
)
private

Reads into core the reduced superelement matrices from file.

Parameters
[in]fileNamesList of files containing the superelement matrices
supThe superelement to read matrices for
[out]ierrError flag
Author
Knut Morten Okstad
Date
26 Sep 2000
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readsupels()

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.

Parameters
[in]infpFile unit number for the solver input file
[in]envEnvironmental data
[in]triadsArray of all triads in the model
[out]supsArray of all superelements in the model
[out]errError flag
Author
Knut Morten Okstad
Date
1 Jun 2000
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writesupels2ftn()

subroutine, public initiatesupeltypemodule::writesupels2ftn ( type(supeltype), dimension(:), intent(in)  sups,
integer, intent(out)  ierr 
)

Writes a Fortran90 subroutine with hard-coded superelement matrices.

Parameters
supsAll superelements in the model
[out]ierrError flag
Author
Knut Morten Okstad
Date
2 Jan 2017
Here is the caller graph for this function: