pg_utils.eigen.equations_to_matrices
- pg_utils.eigen.equations_to_matrices(eqs: LabeledCollection, xpd_recipe: ExpansionRecipe, inplace: bool = False, verbose: int = 0) List[SystemMatrix] [source]
Collect matrix elements
- Parameters:
eqs (base.LabeledCollection) – collection of all equations
xpd_recipe (expansion.ExpansionRecipe) – expansion recipe
inplace (bool) – whether to modify the eqs inplace
- Returns:
Mass matrix, stiffness matrix