pg_utils.eigen.apply_bg_to_set
- pg_utils.eigen.apply_bg_to_set(eqs: LabeledCollection, bg: BackgroundFieldMHD, mode: str = 'PG', verbose: int = 0) Tuple[LabeledCollection, List] [source]
Apply background field to a set of equations
- Parameters:
eqs (base.LabeledCollection) – original set of equations
bg (bg_fields.BackgroundFieldMHD) – background field
- Returns:
new set of equations, and the unknown params in background field