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

Fortran interface for FFrExtractor methods. More...

Data Types

interface  ffr_init
 Opens the results database and reads file headers. More...
 
interface  ffr_done
 Releases the FFrExtractor object. More...
 
interface  ffr_findptr
 Finds file position of the specified result variable. More...
 
interface  ffr_setposition
 Positions the results file(s) for the specified time step. More...
 
interface  ffr_increment
 Positions the results file(s) for the next time step. More...
 
interface  ffr_getdata
 Reads the contents of the variable or item group. More...
 
interface  ffr_finddata
 Locates results data at current time step for specified variable. More...
 

Functions/Subroutines

logical function ffr_getnextstep (startTime, stopTime, timeInc, currTime, iStep)
 Advances the results data base to the next step. More...
 

Detailed Description

Fortran interface for FFrExtractor methods.

Function/Subroutine Documentation

◆ ffr_getnextstep()

logical function ffrextractorinterface::ffr_getnextstep ( real(dp), intent(inout)  startTime,
real(dp), intent(in)  stopTime,
real(dp), intent(in)  timeInc,
real(dp), intent(inout)  currTime,
integer(i8), intent(out)  iStep 
)

Advances the results data base to the next step.

Parameters
startTimeStart time of the simulation
currTimeThe time of current time step
[in]stopTimeStop time of the simulation
[in]timeIncThe time amount to advance, negative means one step
[out]iStepTime step index
Returns
.true. if a new time styep was found, otherwise .false.

This function advances the results data base, either by using a fixed time increment or just taking every time step stored between the specified start- and stop time.

Author
Knut Morten Okstad
Date
6 June 2001