> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sysc::TimeStep Struct Reference

Part of [C++ Interfaces for Participant Library](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs)

Provide a struct for time step.

`#include <CommonTypes.hpp>`

## Public Member Functions

| Type | Name |
| - | - |
| | [TimeStep](#a97ce4b55faaefbe7618a16b0363c092e) ()=default Provide a default constructor for [TimeStep](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1TimeStep.md). |
| | [TimeStep](#aa92d1684145d3aa5ed39d171d2100299) (int [timeStepNumber](#ab8fbdd8e8dd4384d385c3190b11a2ccf), double [startTime](#a115810021ec63279be6a82d5deb853c2), double [timeStepSize](#a91d6e07b37c9c461ddfc8e85965321b2)) Provide a non-default constructor for [TimeStep](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1TimeStep.md). |

## Public Attributes

| Type | Name |
| - | - |
| int | [timeStepNumber](#ab8fbdd8e8dd4384d385c3190b11a2ccf) \{0} |
| double | [startTime](#a115810021ec63279be6a82d5deb853c2) \{0.0} |
| double | [timeStepSize](#a91d6e07b37c9c461ddfc8e85965321b2) \{0.0} |

## Detailed Description

Provide a struct for time step.

Definition at line [42](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

## Member Data Documentation

### startTime

```cpp theme={null}
double sysc::TimeStep::startTime {0.0}
```

Time step start time.

Definition at line [44](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

### timeStepNumber

```cpp theme={null}
int sysc::TimeStep::timeStepNumber {0}
```

Time step number.

Definition at line [43](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

### timeStepSize

```cpp theme={null}
double sysc::TimeStep::timeStepSize {0.0}
```

Time step size (delta t).

Definition at line [45](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).
