    

 ## On this page

  

 

 # sysc::TimeStep Struct Reference

 Last update: 17.07.2025 

Provide a struct for time step. [More...](structsysc_1_1TimeStep.xhtml#details)

`#include <<a class="el" href="CommonTypes_8hpp_source.xhtml">CommonTypes.hpp</a>>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="a97ce4b55faaefbe7618a16b0363c092e" name="a97ce4b55faaefbe7618a16b0363c092e"></a> **TimeStep** ()=default Provide a default constructor for [TimeStep](structsysc_1_1TimeStep.xhtml "Provide a struct for time step.").   
 <a id="a906537e7fc2612dc3d4636c5162eb5f7" name="a906537e7fc2612dc3d4636c5162eb5f7"></a> **TimeStep** (const [TimeStep](structsysc_1_1TimeStep.xhtml) &amp;)=default Provide a copy-constructor.   
 <a id="ae918242dae80573ecbeb91968d8df048" name="ae918242dae80573ecbeb91968d8df048"></a> **TimeStep** ([TimeStep](structsysc_1_1TimeStep.xhtml) &amp;&amp;)=default Provide a move-constructor.   
 <a id="af46085bcb6747bb5e17badf99cdbc27c" name="af46085bcb6747bb5e17badf99cdbc27c"></a>[TimeStep](structsysc_1_1TimeStep.xhtml) &amp; **operator=** (const [TimeStep](structsysc_1_1TimeStep.xhtml) &amp;)=default Provide a copy-assign operator.   
 <a id="a908b9a5d14f4f7977be059cde82d258a" name="a908b9a5d14f4f7977be059cde82d258a"></a>[TimeStep](structsysc_1_1TimeStep.xhtml) &amp; **operator=** ([TimeStep](structsysc_1_1TimeStep.xhtml) &amp;&amp;)=default Provide a move-assign operator.   
  [TimeStep](structsysc_1_1TimeStep.xhtml#aa92d1684145d3aa5ed39d171d2100299) (int [timeStepNumber](structsysc_1_1TimeStep.xhtml#ab8fbdd8e8dd4384d385c3190b11a2ccf), double [startTime](structsysc_1_1TimeStep.xhtml#a115810021ec63279be6a82d5deb853c2), double [timeStepSize](structsysc_1_1TimeStep.xhtml#a91d6e07b37c9c461ddfc8e85965321b2)) Provide a non-default constructor for [TimeStep](structsysc_1_1TimeStep.xhtml "Provide a struct for time step."). [More...](structsysc_1_1TimeStep.xhtml#aa92d1684145d3aa5ed39d171d2100299)  
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

int [timeStepNumber](structsysc_1_1TimeStep.xhtml#ab8fbdd8e8dd4384d385c3190b11a2ccf) {0} double [startTime](structsysc_1_1TimeStep.xhtml#a115810021ec63279be6a82d5deb853c2) {0.0} double [timeStepSize](structsysc_1_1TimeStep.xhtml#a91d6e07b37c9c461ddfc8e85965321b2) {0.0} <a id="details" name="details"></a>## Detailed Description

Provide a struct for time step.

Definition at line [40](CommonTypes_8hpp_source.xhtml#l00040) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).



## Constructor &amp; Destructor Documentation

<a id="aa92d1684145d3aa5ed39d171d2100299" name="aa92d1684145d3aa5ed39d171d2100299"></a>## [◆ ](#aa92d1684145d3aa5ed39d171d2100299)TimeStep()

 sysc::TimeStep::TimeStep  ( int  *timeStepNumber*,    double  *startTime*,    double  *timeStepSize*   )   inline 

Provide a non-default constructor for [TimeStep](structsysc_1_1TimeStep.xhtml "Provide a struct for time step.").

Definition at line [61](CommonTypes_8hpp_source.xhtml#l00061) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).

<a id="l00061" name="l00061"></a> 61 :

<a id="l00062" name="l00062"></a> 62 [timeStepNumber](structsysc_1_1TimeStep.xhtml#ab8fbdd8e8dd4384d385c3190b11a2ccf)([timeStepNumber](structsysc_1_1TimeStep.xhtml#ab8fbdd8e8dd4384d385c3190b11a2ccf)),

<a id="l00063" name="l00063"></a> 63 [startTime](structsysc_1_1TimeStep.xhtml#a115810021ec63279be6a82d5deb853c2)([startTime](structsysc_1_1TimeStep.xhtml#a115810021ec63279be6a82d5deb853c2)),

<a id="l00064" name="l00064"></a> 64 [timeStepSize](structsysc_1_1TimeStep.xhtml#a91d6e07b37c9c461ddfc8e85965321b2)([timeStepSize](structsysc_1_1TimeStep.xhtml#a91d6e07b37c9c461ddfc8e85965321b2)){};

[sysc::TimeStep::startTime](structsysc_1_1TimeStep.xhtml#a115810021ec63279be6a82d5deb853c2)

double startTime

**Definition:** [CommonTypes.hpp:42](CommonTypes_8hpp_source.xhtml#l00042)



[sysc::TimeStep::timeStepSize](structsysc_1_1TimeStep.xhtml#a91d6e07b37c9c461ddfc8e85965321b2)

double timeStepSize

**Definition:** [CommonTypes.hpp:43](CommonTypes_8hpp_source.xhtml#l00043)



[sysc::TimeStep::timeStepNumber](structsysc_1_1TimeStep.xhtml#ab8fbdd8e8dd4384d385c3190b11a2ccf)

int timeStepNumber

**Definition:** [CommonTypes.hpp:41](CommonTypes_8hpp_source.xhtml#l00041)









## Member Data Documentation

<a id="a115810021ec63279be6a82d5deb853c2" name="a115810021ec63279be6a82d5deb853c2"></a>## [◆ ](#a115810021ec63279be6a82d5deb853c2)startTime

 double sysc::TimeStep::startTime {0.0}

Time step start time.

Definition at line [42](CommonTypes_8hpp_source.xhtml#l00042) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="ab8fbdd8e8dd4384d385c3190b11a2ccf" name="ab8fbdd8e8dd4384d385c3190b11a2ccf"></a>## [◆ ](#ab8fbdd8e8dd4384d385c3190b11a2ccf)timeStepNumber

 int sysc::TimeStep::timeStepNumber {0}

Time step number.

Definition at line [41](CommonTypes_8hpp_source.xhtml#l00041) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="a91d6e07b37c9c461ddfc8e85965321b2" name="a91d6e07b37c9c461ddfc8e85965321b2"></a>## [◆ ](#a91d6e07b37c9c461ddfc8e85965321b2)timeStepSize

 double sysc::TimeStep::timeStepSize {0.0}

Time step size (delta t).

Definition at line [43](CommonTypes_8hpp_source.xhtml#l00043) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).