    

 ## On this page

  

 

 # Structure sysc::TimeStep

 Last update: 17.07.2025 

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `CommonTypes.hpp` (line 42)

Provide a struct for time step.

## Members

- [startTime](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep_1a115810021ec63279be6a82d5deb853c2)
- [TimeStep](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep_1a97ce4b55faaefbe7618a16b0363c092e)
- [TimeStep](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep_1aa92d1684145d3aa5ed39d171d2100299)
- [timeStepNumber](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep_1ab8fbdd8e8dd4384d385c3190b11a2ccf)
- [timeStepSize](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep_1a91d6e07b37c9c461ddfc8e85965321b2)

## Public attributes

<a id="structsysc_1_1TimeStep_1ab8fbdd8e8dd4384d385c3190b11a2ccf"></a>

### Variable timeStepNumber

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `CommonTypes.hpp` (line 43)

```cpp
int sysc::TimeStep::timeStepNumber {0}

```

Time step number.

**Type**: int

<a id="structsysc_1_1TimeStep_1a115810021ec63279be6a82d5deb853c2"></a>

### Variable startTime

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `CommonTypes.hpp` (line 44)

```cpp
double sysc::TimeStep::startTime {0.0}

```

Time step start time.

**Type**: double

<a id="structsysc_1_1TimeStep_1a91d6e07b37c9c461ddfc8e85965321b2"></a>

### Variable timeStepSize

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `CommonTypes.hpp` (line 45)

```cpp
double sysc::TimeStep::timeStepSize {0.0}

```

Time step size (delta t).

**Type**: double

## Public functions

<a id="structsysc_1_1TimeStep_1a97ce4b55faaefbe7618a16b0363c092e"></a>

### Function TimeStep

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
sysc::TimeStep::TimeStep()=default

```

Provide a default constructor for [TimeStep](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep).

**Return type**:

<a id="structsysc_1_1TimeStep_1aa92d1684145d3aa5ed39d171d2100299"></a>

### Function TimeStep

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
sysc::TimeStep::TimeStep(int timeStepNumber, double startTime, double timeStepSize)

```

Provide a non-default constructor for [TimeStep](structsysc_1_1TimeStep.md#structsysc_1_1TimeStep).

**Parameters**:

- int **timeStepNumber**
- double **startTime**
- double **timeStepSize**

**Return type**: