FEDEM Solver  R8.0
Source code of the dynamics solver
Private Member Functions | List of all members
restartmodule::restartinit Interface Reference

Initializes the mechanism configuration for restart. More...

Private Member Functions

subroutine restartfromfile (sam, sys, mech, ctrl, lpu, ierr)
 Initializes the mechanism configuration from restart file. More...
 
subroutine restartfromcore (sam, sys, mech, ctrl, data, ndat, lpu, istat)
 Initializes the mechanism configuration from provided state array. More...
 

Detailed Description

Initializes the mechanism configuration for restart.

Member Function/Subroutine Documentation

◆ restartfromcore()

subroutine restartmodule::restartinit::restartfromcore ( type(samtype), intent(in)  sam,
type(systemtype), intent(inout)  sys,
type(mechanismtype), intent(inout)  mech,
type(controltype), intent(inout)  ctrl,
real(dp), dimension(ndat), intent(in)  data,
integer, intent(in)  ndat,
integer, intent(in)  lpu,
integer, intent(out)  istat 
)
private

Initializes the mechanism configuration from provided state array.

Parameters
[in]samData for managing system matrix assembly
sysSystem level model data
mechMechanism components of the model
ctrlControl system data
[in]ndatLength of the solution state array
[in]dataSolution state array
[in]lpuFile unit number for res-file output
[out]istatStatus flag, <0: Error, ≥0: Number of values read
Author
Knut Morten Okstad
Date
13 Jan 2017

◆ restartfromfile()

subroutine restartmodule::restartinit::restartfromfile ( type(samtype), intent(in)  sam,
type(systemtype), intent(inout)  sys,
type(mechanismtype), intent(inout)  mech,
type(controltype), intent(inout)  ctrl,
integer, intent(in)  lpu,
integer, intent(out)  ierr 
)
private

Initializes the mechanism configuration from restart file.

Parameters
[in]samData for managing system matrix assembly
sysSystem level model data
mechMechanism components of the model
ctrlControl system data
[in]lpuFile unit number for res-file output
[out]ierrError flag
Note
Proper initialization of tire models is not implemented yet.
Author
Knut Morten Okstad
Date
1 Nov 2005

The documentation for this interface was generated from the following file: