FEDEM Solver
R8.0
Source code of the dynamics solver
|
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... | |
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.
subroutine mechanismtypemodule::deallocatemechanism | ( | type(mechanismtype), intent(inout) | mech | ) |
Deallocates the MechanismType object.
mech | Mechanism 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.
subroutine mechanismtypemodule::nullifymechanism | ( | type(mechanismtype), intent(out), target | mech | ) |
Initializes the MechanismType object.
[out] | mech | Mechanism components of the model |
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.
[in] | infp | File unit number for the solver input file |
[out] | mech | Mechanism components of the model |
[out] | tIncEngineID | Base ID of the function returning time step size |
[out] | weight | Weighting factors for the DOFs of different kind |
[out] | err | Error flag |
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.
[in] | mech | Mechanism components of the model |
[in] | io | File unit number to write to |
[in] | complexity | Option controlling the amount of output |
integer, save mechanismtypemodule::mdmpfuncid = 0 |
Base ID of modal damping function.