vivyd.models.Collection#
- class Collection(models)[source]#
Bases:
VIVModel,Generic[T]A collection of uncoupled VIV models. The state of the collection is the concatenation of the states of the individual models, and the right-hand side of the collection is the concatenation of the RHS of the individual models.
Important
As for now, a Collection must be instantiated inside a Taichi context in order to benefit from Taichi acceleration.
- Parameters:
models (Sequence[VIVModel]) – A sequence of VIV models to be included in the collection. All models must be of the same type.