stateVector.coupledIndices

Return sets of coupled variable indices


Syntax



Description

[indexSets, nSets] = obj.coupledIndices

Returns the variable indices for sets of coupled variables in a state vector. Also returns the total number of coupling sets.


Output Arguments

indexSets

cell vector {linear indices}
A cell vector with one element per set of coupled variablesr. Each element holds the linear indices of the variables within the coupling set.

nSets

scalar integer
The number of coupling sets in the state vector.