FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Modules | Functions/Subroutines
controlTypeModule.f90 File Reference

Control system data container. More...

Data Types

type  controltypemodule::ctrlprm
 Data type representing a control input parameter. More...
 
type  controltypemodule::controltype
 Data type representing the control system of a model. More...
 
interface  controltypemodule::writeobject
 Standard routine for writing an object to file. More...
 

Modules

module  controltypemodule
 Module with data types representing control system object of a model.
 

Functions/Subroutines

subroutine, public controltypemodule::nullifyctrl (ctrl, deallocating)
 Initializes the ControlType object. More...
 
subroutine, public controltypemodule::deallocatectrl (ctrl)
 Deallocates the ControlType object. More...
 
subroutine, public controltypemodule::readcontrolsystem (infp, engines, sensors, ctrl, ierr)
 Initializes the ControlType object with data from the input file. More...
 
subroutine, public controltypemodule::initiatecontrol (mpar, ctrl)
 Initializes the SAM control array MPAR with control system data. More...
 
subroutine controltypemodule::readcontrolinput (infp, engines, sensors, input, mstat, ierr)
 Reads data for the control inputs from the solver input file. More...
 
subroutine controltypemodule::readcontrolelements (infp, nCEl, nDelay, mpmtop, mprpar, mmtop, rpar, iprint, lpu, ierr)
 Reads data for the control elements from the solver input file. More...
 
subroutine controltypemodule::readcontrolvariables (infp, mstat, vreg, vregId, mvar, iprint, lpu, ierr)
 Reads status codes and initial conditions for the control variables. More...
 
subroutine controltypemodule::writecontroltype (ctrl, io, complexity)
 Standard routine for writing an object to io. More...
 
subroutine writeireg (i, mp, name)
 Writes an indexed integer array to io. More...
 
subroutine writerreg (i, mp, name)
 Writes an indexed real array to io. More...
 
logical function, public controltypemodule::hascontrolelements (ctrl)
 Checks if control elements are present in the model. More...
 
subroutine, public controltypemodule::writectrlsysheader (ctrl, mechId, rdb)
 Writes results database headers for the control system. More...
 
subroutine writeirdef (i, mp, name)
 Writes results database header for an indexed integer array. More...
 
subroutine writerrdef (i, mp, name)
 Writes results database header for an indexed real array. More...
 
subroutine, public controltypemodule::writectrlsysdb (rdb, ctrl, nStep, time, ierr)
 Writes control system data to the results database. More...
 
subroutine writeireg (i, mp)
 Writes an indexed integer array to the results database. More...
 
subroutine writerreg (i, mp)
 Writes an indexed real array to the results database. More...
 

Detailed Description

Control system data container.

Function/Subroutine Documentation

◆ writeirdef()

subroutine writectrlsysheader::writeirdef ( integer, intent(in)  i,
integer, dimension(:), intent(in)  mp,
character(len=*), intent(in)  name 
)

Writes results database header for an indexed integer array.

◆ writeireg() [1/2]

subroutine writectrlsysdb::writeireg ( integer, intent(in)  i,
integer, dimension(:), intent(in)  mp 
)

Writes an indexed integer array to the results database.

◆ writeireg() [2/2]

subroutine writecontroltype::writeireg ( integer, intent(in)  i,
integer, dimension(:), intent(in)  mp,
character(len=*), intent(in)  name 
)

Writes an indexed integer array to io.

◆ writerrdef()

subroutine writectrlsysheader::writerrdef ( integer, intent(in)  i,
integer, dimension(:), intent(in), optional  mp,
character(len=*), intent(in)  name 
)
private

Writes results database header for an indexed real array.

◆ writerreg() [1/2]

subroutine writectrlsysdb::writerreg ( integer, intent(in)  i,
integer, dimension(:), intent(in)  mp 
)
private

Writes an indexed real array to the results database.

◆ writerreg() [2/2]

subroutine writecontroltype::writerreg ( integer, intent(in)  i,
integer, dimension(:), intent(in)  mp,
character(len=*), intent(in)  name 
)
private

Writes an indexed real array to io.