@@ -1858,7 +1858,7 @@ end
1858
1858
"""
1859
1859
value = Modia.copy_scalar_x_segmented_value_from_state(instantiatedModel, startIndex)
1860
1860
1861
- Return value of scalar x_segmented variable from state vector `x` by providing its `startIndex`
1861
+ Return value of scalar ` x_segmented` variable from state vector `x` by providing its `startIndex`
1862
1862
(returned from `new_x_segmented_variable!(..)`).
1863
1863
"""
1864
1864
copy_scalar_x_segmented_value_from_state (m:: InstantiatedModel , startIndex:: Int ) = m. x_segmented[startIndex]
@@ -1867,7 +1867,7 @@ copy_scalar_x_segmented_value_from_state(m::InstantiatedModel, startIndex::Int)
1867
1867
"""
1868
1868
value = Modia.copy_SVector3_x_segmented_value_from_state(instantiatedModel, startIndex)
1869
1869
1870
- Return value of `SVector{3,FloatType}` x_segmented variable from state vector `x` by providing its `startIndex`
1870
+ Return value of `SVector{3,FloatType} x_segmented` variable from state vector `x` by providing its `startIndex`
1871
1871
(returned from `new_x_segmented_variable!(..)`).
1872
1872
"""
1873
1873
@inline copy_SVector3_x_segmented_value_from_state (m:: InstantiatedModel{FloatType,TimeType} , startIndex:: Int ) where {FloatType,TimeType} = begin
@@ -1876,9 +1876,10 @@ Return value of `SVector{3,FloatType}` x_segmented variable from state vector `x
1876
1876
end
1877
1877
1878
1878
"""
1879
- Modia.copy_Vector_x_segmented_value_from_state(instantiatedModel::InstantiatedModel, startIndex, xi::Vector{FloatType})::Nothing
1879
+ Modia.copy_Vector_x_segmented_value_from_state(
1880
+ instantiatedModel::InstantiatedModel, startIndex, xi::Vector{FloatType})::Nothing
1880
1881
1881
- Return value of `Vector{FloatType}` x_segmented variable from state vector `x` by providing its `startIndex`
1882
+ Return value of `Vector{FloatType} x_segmented` variable from state vector `x` by providing its `startIndex`
1882
1883
(returned from `new_x_segmented_variable!(..)`) and copying it into the pre-allocated vector `xi`.
1883
1884
"""
1884
1885
@inline function copy_Vector_x_segmented_value_from_state (m:: InstantiatedModel{FloatType,TimeType} , startIndex:: Int , xi:: Vector{FloatType} ):: Nothing where {FloatType,TimeType}
@@ -1888,7 +1889,9 @@ end
1888
1889
1889
1890
1890
1891
"""
1891
- Modia.copy_der_x_segmented_value_to_state(instantiatedModel, startIndex, der_x_segmented_value::[FloatType|Vector{FloatType}])
1892
+ Modia.copy_der_x_segmented_value_to_state(
1893
+ instantiatedModel, startIndex,
1894
+ der_x_segmented_value::[FloatType|Vector{FloatType}])
1892
1895
1893
1896
Copy `der_x_segmented_value` to state derivative vector `der(x)` by providing its `startIndex`
1894
1897
(returned from `new_x_segmented_variable!(..)`) and copying it into the pre-allocated vector `der_x_segmented_value`.
@@ -1904,7 +1907,9 @@ end
1904
1907
1905
1908
1906
1909
"""
1907
- Modia.copy_w_segmented_value_to_result(instantiatedModel::InstantiatedModel, index::Int, w_segmented_value)::Nothing
1910
+ Modia.copy_w_segmented_value_to_result(
1911
+ instantiatedModel::InstantiatedModel, index::Int,
1912
+ w_segmented_value)::Nothing
1908
1913
1909
1914
Copy value of local variable (`w-segmented`) to result by providing its `index`
1910
1915
(returned from `new_w_segmented_variable!`),
0 commit comments