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

Initialisation of the SAM data structure for the FE part reducer. More...

Functions/Subroutines

subroutine, private beampinconstraints (madof, mpbeam, mpmnpc, mmnpc, msc, minex, nceq, nmmceq, mpmceq, mmceq, ttcc, nxnod, lpu, ierr)
 Establishes constraint equations associated with beam pin flags. More...
 
subroutine initiatesam (sam, tncoor, linearSolve, ipsw, lpu, ierr)
 Initializes the SAM data structure for fedem_reducer. More...
 
subroutine savesam (filename, chksum, sam, ierr)
 Writes arrays of the SAM data structure to binary file. More...
 

Detailed Description

Initialisation of the SAM data structure for the FE part reducer.

Function/Subroutine Documentation

◆ beampinconstraints()

subroutine, private samreducermodule::beampinconstraints ( integer, dimension(:), intent(in)  madof,
integer, dimension(:), intent(in)  mpbeam,
integer, dimension(:), intent(in)  mpmnpc,
integer, dimension(:), intent(inout)  mmnpc,
integer, dimension(:), intent(in)  msc,
integer, dimension(:), intent(inout)  minex,
integer, intent(inout)  nceq,
integer, intent(inout)  nmmceq,
integer, dimension(:), intent(inout)  mpmceq,
integer, dimension(:), intent(inout)  mmceq,
real(dp), dimension(:), intent(inout)  ttcc,
integer, intent(in)  nxnod,
integer, intent(in)  lpu,
integer, intent(out)  ierr 
)
private

Establishes constraint equations associated with beam pin flags.

Parameters
[in]madofMatrix of accumulated DOFs
[in]mpbeamMatrix of IDs for beam elements with pin flags
[in]mpmnpcMatrix of pointers to MNPCs
mmnpcMatrix of nodal point correspondances
[in]mscMatrix of status codes
minexMatrix of internal to external node number mapping
nceqNumber of constraint equations
nmmceqNumber of elements in MMCEQ
mpmceqMatrix of pointers to MCEQs
mmceqMatrix of constraint equation definitions
ttccTable of constraint equation coefficients
[in]nxnodNumber of extra nodes to account for beam pin flags
[in]lpuFile unit number for res-file output
[out]ierrError flag

This subroutine appends the constraint equations accounting for beam pin flags to the linear coupling information arrays, MPMCEQ, MMCEQ and TTCC of sammodule::samtype. The element topology array (MMNPC) is also modified for the affected beam elements.

Author
Knut Morten Okstad
Date
16 Sep 2002
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initiatesam()

subroutine samreducermodule::initiatesam ( type(samtype), intent(out)  sam,
real(dp), dimension(:,:), pointer  tncoor,
logical, intent(in)  linearSolve,
integer, intent(in)  ipsw,
integer, intent(in)  lpu,
integer, intent(out)  ierr 
)

Initializes the SAM data structure for fedem_reducer.

Parameters
[out]samData for managing system matrix assembly
[out]tncoorTable of nodal coordinates of the FE model
[in]linearSolveIf .true., we are doing a direct linear solve
[in]ipswPrint switch for debug output
[in]lpuFile unit number for res-file output
[out]ierrError flag
Author
Knut Morten Okstad
Date
20 Sep 2000
Here is the call graph for this function:
Here is the caller graph for this function:

◆ savesam()

subroutine samreducermodule::savesam ( character*(*), intent(in)  filename,
integer, intent(in)  chksum,
type(samtype), intent(in)  sam,
integer, intent(out)  ierr 
)

Writes arrays of the SAM data structure to binary file.

Parameters
[in]filenameName of binary file to store the SAM data in
[in]chksumChecksum value for the FE part owing the sam object
[in]samData for managing system matrix assembly
[out]ierrError flag
Author
Knut Morten Okstad
Date
29 Sep 2000
Here is the caller graph for this function: