FEDEM Solver
R8.0
Source code of the dynamics solver
|
Module with data types representing user-defined element objects. More...
Data Types | |
type | userdefeltype |
Data type representing a user-defined element. More... | |
type | userdefelptrtype |
Data type representing a user-defined element pointer. More... | |
interface | getptrtoid |
Returns pointer to object with specified ID. More... | |
interface | writeobject |
Standard routine for writing an object to file. More... | |
Functions/Subroutines | |
type(userdefeltype) function, pointer, private | getptrtoiduserdefel (array, id, userId) |
Returns pointer to (first) user-defined element with specified ID. More... | |
subroutine, private | writeuserdefeltype (elm, io, complexity) |
Standard routine for writing an object to file. More... | |
subroutine | nullifyuserdefel (elm, deallocating) |
Initializes a user-defined element object. More... | |
subroutine | deallocateuserdefel (elm) |
Deallocates a user-defined element object. More... | |
subroutine | deallocateudelms (elms) |
Deallocates all user-defined element object. More... | |
Module with data types representing user-defined element objects.
The module also contains subroutines for accessing or manipulating the user-defined element data.
subroutine userdefeltypemodule::deallocateudelms | ( | type(userdefeltype), dimension(:), pointer | elms | ) |
Deallocates all user-defined element object.
elms | Array of all userdefeltypemodule::userdefeltype objects |
subroutine userdefeltypemodule::deallocateuserdefel | ( | type(userdefeltype), intent(inout) | elm | ) |
Deallocates a user-defined element object.
elm | The userdefeltypemodule::userdefeltype object to deallocate |
|
private |
Returns pointer to (first) user-defined element with specified ID.
[in] | array | Array of userdefeltypemodule::userdefeltype objects to search within |
[in] | id | Base ID of the object to search for |
[in] | userId | If .true., search for a user ID instead |
If the user-defined element is not found, NULL is returned.
subroutine userdefeltypemodule::nullifyuserdefel | ( | type(userdefeltype), intent(out) | elm, |
logical, intent(in), optional | deallocating | ||
) |
Initializes a user-defined element object.
elm | The userdefeltypemodule::userdefeltype object to initialize | |
[in] | deallocating | If .true., the pointers are nullified |
|
private |
Standard routine for writing an object to file.
[in] | elm | The userdefeltypemodule::userdefeltype object to write |
[in] | io | File unit number to write to |
[in] | complexity | If present, the value indicates the amount of print |