Skip to main content

System Coupling Fortran library 2024 R2

syscgetcurrenttimestepf Interface Reference

Last update: 17.07.2025

Provide an interface to get current time step. More...

Public Member Functions

type(sysctimestepf) function syscgetcurrenttimestepf ()
 Provide a function to get current time step.
 

Detailed Description

Provide an interface to get current time step.

Definition at line 695 of file syscSystemCouplingF.fi.

Constructor & Destructor Documentation

◆ syscgetcurrenttimestepf()

Provide a function to get current time step.

This function returns a time step struct, which contains time step number, start time, and time step size for the current coupling time step.

A default value (time step number 0, start time 0.0, time step size 0.0) is returned if this function is called outside the coupled analysis loop or if the analysis is steady.

Returns
a SyscTimeStepF type for current time step

Definition at line 708 of file syscSystemCouplingF.fi.

709!
710 import :: sysctimestepf
711 type(SyscTimeStepF) :: timeStep
712!
713!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
714!DIR$ ATTRIBUTES DLLIMPORT :: syscGetCurrentTimeStepF
715!DIR$ ENDIF
716!

Connect with Ansys