Translate names and indices of the entries of Q into sorted indices.
- Parameters
-
| solver | exahype2.api.Solver The solver whose entries of Q we refer to. |
| quantities | List[str or int] A string is the name of a variable as passed to the solver (e.g. "lapse" or "G" for exagrype.api.CCZ4Solver) and selects all of its entries. An int is the index of one entry of Q. The list must not be empty. |
| include_auxiliary_variables | bool If False, only the unknowns can be selected. Otherwise, the auxiliary variables can be selected, too. |
- Returns
- List[int] Sorted indices without duplicates.
Definition at line 6 of file Quantities.py.