FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Functions/Subroutines | Variables
mechanismtypemodule Module Reference

Module with mechanism data containers. More...

Data Types

type  mechanismtype
 Data type containing all components of the mechanism model. More...
 
interface  writeobject
 Standard routine for writing an object to file. More...
 

Functions/Subroutines

subroutine writemechanismtype (mech, io, complexity)
 Standard routine for writing an object to io. More...
 
subroutine nullifymechanism (mech)
 Initializes the MechanismType object. More...
 
subroutine deallocatemechanism (mech)
 Deallocates the MechanismType object. More...
 
subroutine readmechanism (infp, mech, tIncEngineId, weight, err)
 Initializes the mechanism with data from the solver input file. More...
 

Variables

integer, save mdmpfuncid = 0
 Base ID of modal damping function. More...
 

Detailed Description

Module with mechanism data containers.

This module contains data containers for all components that together define the mechanism model that is to be analyzed. It also contains some subroutines for accessing or manipulating the mechanism data.

Function/Subroutine Documentation

◆ deallocatemechanism()

subroutine mechanismtypemodule::deallocatemechanism ( type(mechanismtype), intent(inout)  mech)

Deallocates the MechanismType object.

Parameters
mechMechanism components of the model

The various mechanism object types are deallocated in the opposite order as they were allocated, in order to resolve any interconnectivities safely.

Author
Knut Morten Okstad
Date
23 Jan 2017
Here is the caller graph for this function:

◆ nullifymechanism()

subroutine mechanismtypemodule::nullifymechanism ( type(mechanismtype), intent(out), target  mech)

Initializes the MechanismType object.

Parameters
[out]mechMechanism components of the model
Author
Knut Morten Okstad
Date
27 May 2002
Here is the caller graph for this function:

◆ readmechanism()

subroutine mechanismtypemodule::readmechanism ( integer, intent(in)  infp,
type(mechanismtype), intent(out)  mech,
integer, intent(out)  tIncEngineId,
real(dp), dimension(3), intent(out)  weight,
integer, intent(out)  err 
)

Initializes the mechanism with data from the solver input file.

Parameters
[in]infpFile unit number for the solver input file
[out]mechMechanism components of the model
[out]tIncEngineIDBase ID of the function returning time step size
[out]weightWeighting factors for the DOFs of different kind
[out]errError flag
Author
Knut Morten Okstad
Date
27 May 2002
Here is the caller graph for this function:

◆ writemechanismtype()

subroutine mechanismtypemodule::writemechanismtype ( type(mechanismtype), intent(in)  mech,
integer, intent(in)  io,
integer, intent(in), optional  complexity 
)

Standard routine for writing an object to io.

Parameters
[in]mechMechanism components of the model
[in]ioFile unit number to write to
[in]complexityOption controlling the amount of output
Author
Knut Morten Okstad
Date
27 May 2002

Variable Documentation

◆ mdmpfuncid

integer, save mechanismtypemodule::mdmpfuncid = 0

Base ID of modal damping function.