Closed ClemensLinnhoff closed 1 year ago
clang-tidy
```cpp obj->mutable_header()->set_existence_probability(cos((2.0 * distance - actual_range) / actual_range)); ^ ```
```cpp matrix_trans[j][i] = matrix_in[i][j]; ^ ```
```cpp matrix_trans[j][i] = matrix_in[i][j]; ^ ```
```cpp union Addrconv ^ ```
```cpp myaddr.base.lo = lo; ^ ```
```cpp myaddr.base.hi = hi; ^ ```
```cpp
return reinterpret_cast
```cpp
return reinterpret_cast
```cpp union Addrconv ^ ```
```cpp
myaddr.address = reinterpret_cast
```cpp
myaddr.address = reinterpret_cast
```cpp hi = myaddr.base.hi; ^ ```
```cpp lo = myaddr.base.lo; ^ ```
```cpp fmi2Status OSMP::DoStart(fmi2Boolean tolerance_defined, fmi2Real tolerance, fmi2Real start_time, fmi2Boolean stop_time_defined, fmi2Real stop_time) ^ ```
```cpp fmi2Status OSMP::DoEnterInitializationMode() ^ ```
```cpp fmi2Status OSMP::DoTerm() ^ ```
```cpp OSMP::OSMP(fmi2String theinstance_name, ^ ```
```cpp value[i] = real_vars_[vr[i]]; ^ ```
```cpp value[i] = integer_vars_[vr[i]]; ^ ```
```cpp value[i] = boolean_vars_[vr[i]]; ^ ```
```cpp value[i] = string_vars_[vr[i]].c_str(); ^ ```
```cpp real_vars_[vr[i]] = value[i]; ^ ```
```cpp integer_vars_[vr[i]] = value[i]; ^ ```
```cpp boolean_vars_[vr[i]] = value[i]; ^ ```
```cpp string_vars_[vr[i]] = value[i]; ^ ```
Reference to a related issue in the repository
41
Add a description Split OSMP and model to have a separation between packaging and model logic. This also entails a clean separation of licenses, as the model logic can have a different license from the OSMP (which is licensed under MPL-2.0).
Take this checklist as orientation for yourself, if this PR is ready for Maintainer Review