FEDEM Solver  R8.0
Source code of the dynamics solver
Functions/Subroutines
initiatesensortypemodule Module Reference

Initialization of sensor objects from the solver input file. More...

Functions/Subroutines

subroutine allocatetimesensor (sys, err)
 Allocates the time sensor object. More...
 
subroutine initiatesensors (infp, sys, mech, sensors, err)
 Initializes sensor objects with data from the solver input file. More...
 
subroutine initiatesensors2 (sensors, triads, joints, ctrl, err)
 Initializes pointers to the measured quantity for sensor objects. More...
 

Detailed Description

Initialization of sensor objects from the solver input file.

Function/Subroutine Documentation

◆ allocatetimesensor()

subroutine initiatesensortypemodule::allocatetimesensor ( type(systemtype), intent(in), target  sys,
integer, intent(out)  err 
)

Allocates the time sensor object.

Parameters
[in]sysSystem level model data
[out]errError flag
Author
Knut Morten Okstad
Date
22 Aug 2022
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initiatesensors()

subroutine initiatesensortypemodule::initiatesensors ( integer, intent(in)  infp,
type(systemtype), intent(in), target  sys,
type(mechanismtype), intent(in), target  mech,
type(sensortype), dimension(:), pointer  sensors,
integer, intent(out)  err 
)

Initializes sensor objects with data from the solver input file.

Parameters
[in]infpFile unit number for the solver input file
[in]sysSystem level model data
[in]mechMechanism components of the model
[out]sensorsArray of all sensor objects in the model
[out]errError flag
Author
Bjorn Haugen
Date
7 Sep 1999
Author
Knut Morten Okstad
Date
6 Jun 2002
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initiatesensors2()

subroutine initiatesensortypemodule::initiatesensors2 ( type(sensortype), dimension(:), intent(inout)  sensors,
type(triadtype), dimension(:), intent(in), target  triads,
type(masterslavejointtype), dimension(:), intent(in), target  joints,
type(controltype), intent(in)  ctrl,
integer, intent(out)  err 
)

Initializes pointers to the measured quantity for sensor objects.

Parameters
sensorsArray of all sensor objects in the model
[in]triadsAll triads in the model
[in]jointsArray of all joints in the model
[in]ctrlControl system data
[out]errError flag
Author
Bjorn Haugen
Date
7 Mar 2001
Here is the call graph for this function:
Here is the caller graph for this function: