Assembly of wake propagation matrices, in sparse or dense matrices format


Wake propagation matrices are very sparse. Nonetheless, allocation in dense format (from numpy.zeros) or sparse does not have important differences in terms of cpu time and memory used as numpy.zeros does not allocate memory until this is accessed

param MS

MultiSurface instance

type MS


param use_sparse

Use sparse matrices

type use_sparse

bool (optional)

param sparse_format

Use either csc or lil format

type sparse_format

str (optional)

param settings

Dictionary with aerodynamic settings containing: cfl1 (bool): Defines if the wake shape complies with CFL=1 dt (float): time step

type settings

dict (optional)