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

Initialization of user-defined elements from the solver input file. More...

Functions/Subroutines

subroutine readuserdefels (infp, triads, engines, elms, err)
 Initializes user-defined elements with data from the input file. More...
 
subroutine initiateuserdefels (gravity, elms, ierr)
 Initializes the user-defined elements after reading the input file. More...
 

Detailed Description

Initialization of user-defined elements from the solver input file.

Function/Subroutine Documentation

◆ initiateuserdefels()

subroutine initiateuserdefeltypemodule::initiateuserdefels ( real(dp), dimension(3), intent(in)  gravity,
type(userdefeltype), dimension(:), intent(inout)  elms,
integer, intent(out)  ierr 
)

Initializes the user-defined elements after reading the input file.

Parameters
[in]gravityGravitation vector
elmsArray of all user-defined elements in the model
[out]ierrError flag
Author
Knut Morten Okstad
Date
31 Mar 2014
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readuserdefels()

subroutine initiateuserdefeltypemodule::readuserdefels ( integer, intent(in)  infp,
type(triadtype), dimension(:), intent(in)  triads,
type(enginetype), dimension(:), intent(in)  engines,
type(userdefeltype), dimension(:), pointer  elms,
integer, intent(out)  err 
)

Initializes user-defined elements with data from the input file.

Parameters
[in]infpFile unit number for the solver input file
[in]triadsArray of all triads in the model
[in]enginesAll general functions in the model
[out]elmsArray of all user-defined elements in the model
[out]errError flag
Author
Knut Morten Okstad
Date
31 Mar 2014
Here is the call graph for this function:
Here is the caller graph for this function: