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

Module with data types and subroutines representing contact surfaces. More...

Data Types

type  glidercurvetype
 Data type representing the glider curve in point-to-path joints. 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(glidercurvetype) function, pointer getptrtoidglidercurve (array, id, index)
 Returns pointer to (first) curve with specified ID. More...
 
subroutine writeglidercurvetype (curve, io)
 Standard routine for writing an object to io. More...
 
pure subroutine nullifyglidercurve (curve)
 Initializes a glider curve object. More...
 
elemental subroutine deallocateglidercurve (curve)
 Deallocates a glider curve object. More...
 
subroutine deallocateglidercurves (crvs)
 Deallocates an array of glider curve objects. More...
 
subroutine readglidercurves (infp, triads, curves, err)
 Initializes the glider curves with data from the solver input file. More...
 

Detailed Description

Module with data types and subroutines representing contact surfaces.

Function/Subroutine Documentation

◆ deallocateglidercurve()

elemental subroutine contactsurfacemodule::deallocateglidercurve ( type(glidercurvetype), intent(inout)  curve)

Deallocates a glider curve object.

Parameters
curveThe contactsurfacemodule::glidercurvetype object to deallocate
Author
Knut Morten Okstad
Date
23 Jan 2017
Here is the caller graph for this function:

◆ deallocateglidercurves()

subroutine contactsurfacemodule::deallocateglidercurves ( type(glidercurvetype), dimension(:), pointer  crvs)

Deallocates an array of glider curve objects.

Parameters
crvsThe contactsurfacemodule::glidercurvetype objects to deallocate
Author
Knut Morten Okstad

date 23 Jan 2017

Here is the caller graph for this function:

◆ getptrtoidglidercurve()

type(glidercurvetype) function, pointer contactsurfacemodule::getptrtoidglidercurve ( type(glidercurvetype), dimension(:), intent(in), target  array,
integer, intent(in)  id,
integer, intent(out), optional  index 
)

Returns pointer to (first) curve with specified ID.

Parameters
[in]arrayArray of contactsurfacemodule::glidercurvetype objects to search within
[in]idBase ID of the object to search for
[out]indexThe array index of the found object

If the glider curve is not found, NULL is returned.

Author
Knut Morten Okstad
Date
6 Oct 2005

◆ nullifyglidercurve()

pure subroutine contactsurfacemodule::nullifyglidercurve ( type(glidercurvetype), intent(out)  curve)

Initializes a glider curve object.

Parameters
curveThe contactsurfacemodule::glidercurvetype object to initialize
Author
Knut Morten Okstad
Date
6 Oct 2005
Here is the caller graph for this function:

◆ readglidercurves()

subroutine contactsurfacemodule::readglidercurves ( integer, intent(in)  infp,
type(triadtype), dimension(:), intent(in)  triads,
type(glidercurvetype), dimension(:), pointer  curves,
integer, intent(out)  err 
)

Initializes the glider curves 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
[out]curvesArray of all glider curve objects in the model
[out]errError flag
Author
Knut Morten Okstad
Date
6 Oct 2005
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeglidercurvetype()

subroutine contactsurfacemodule::writeglidercurvetype ( type(glidercurvetype), intent(in)  curve,
integer, intent(in)  io 
)

Standard routine for writing an object to io.

Parameters
[in]curveThe contactsurfacemodule::glidercurvetype object to write
[in]ioFile unit number to write to
Author
Knut Morten Okstad
Date
6 Oct 2005