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

Module with data types representing external point load objects. More...

Data Types

type  forcetype
 Data type representing an external point load object. More...
 
interface  writeobject
 Standard routine for writing an object to file. More...
 

Functions/Subroutines

subroutine initiateforces (infp, triads, joints, sups, engines, forces, err)
 Initializes the force type with data from the solver input file. More...
 
subroutine, private writeforcetype (force, io, complexity)
 Standard routine for writing an object to file. More...
 
subroutine nullifyforce (force)
 Initializes an external point load object. More...
 
subroutine deallocateforces (forces)
 Deallocates the external point load objects. More...
 

Variables

integer, parameter forcevec_p = -1
 Force vector type id. More...
 
integer, parameter momentvec_p = -2
 Moment vector type id. More...
 
character(len=9), dimension(-2:6), parameter forcetype_p = (/ 'moment ', 'force ', 'UNDEFINED', 'X-force ', 'Y-force ', 'Z-force ', 'X-moment ', 'Y-moment ', 'Z-moment ' /)
 Force DOF type names. More...
 

Detailed Description

Module with data types representing external point load objects.

The module also contains subroutines for accessing or manipulating the load data, as well as reading loads from the solver input file.

Function/Subroutine Documentation

◆ deallocateforces()

subroutine forcetypemodule::deallocateforces ( type(forcetype), dimension(:), pointer  forces)

Deallocates the external point load objects.

Parameters
forcesThe forcetypemodule::forcetype objects to deallocate
Author
Knut Morten Okstad
Date
23 Jan 2017
Here is the caller graph for this function:

◆ initiateforces()

subroutine forcetypemodule::initiateforces ( integer, intent(in)  infp,
type(triadtype), dimension(:), intent(in)  triads,
type(masterslavejointtype), dimension(:), intent(in)  joints,
type(supeltype), dimension(:), intent(in)  sups,
type(enginetype), dimension(:), intent(in)  engines,
type(forcetype), dimension(:), pointer  forces,
integer, intent(out)  err 
)

Initializes the force type with data from the solver input file.

Parameters
[in]infpFile unit number for the solver input file
[in]triadsArray of all triads in the model
[in]jointsArray of all joints in the model
[in]supsArray of all superelements in the model
[in]enginesArray of all general functions in the model
[out]forcesArray of all external point loads in the model
[out]errError flag
Author
Karl Erik Thoresen
Date
25 Sep 1998
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nullifyforce()

subroutine forcetypemodule::nullifyforce ( type(forcetype), intent(out)  force)

Initializes an external point load object.

Parameters
forceThe forcetypemodule::forcetype object to initialize
Author
Knut Morten Okstad
Date
14 Mar 2001
Here is the caller graph for this function:

◆ writeforcetype()

subroutine, private forcetypemodule::writeforcetype ( type(forcetype), intent(in)  force,
integer, intent(in)  io,
integer, intent(in), optional  complexity 
)
private

Standard routine for writing an object to file.

Parameters
[in]forceThe forcetypemodule::forcetype object to write
[in]ioFile unit number to write to
[in]complexityIf present, the value indicates the amount of print
Author
Karl Erik Thoresen
Date
27 Sep 1998

Variable Documentation

◆ forcetype_p

character(len=9), dimension(-2:6), parameter forcetypemodule::forcetype_p = (/ 'moment ', 'force ', 'UNDEFINED', 'X-force ', 'Y-force ', 'Z-force ', 'X-moment ', 'Y-moment ', 'Z-moment ' /)

Force DOF type names.

◆ forcevec_p

integer, parameter forcetypemodule::forcevec_p = -1

Force vector type id.

◆ momentvec_p

integer, parameter forcetypemodule::momentvec_p = -2

Moment vector type id.