xbout.tests.test_fastoutput.make_fastoutput#
- xbout.tests.test_fastoutput.make_fastoutput(path, i, locations)[source]#
Create a single file in the format produced by FastOutput
- Parameters:
path (
pathlib.Path
) – Directory to save the file to.i (
int
) – Processor index of the file.locations (
dict
of{int: tuple of int}
) – Keys are the FastOutput indices of the variables to be saved. Values are 3-tuples of ints giving x, y, and z indices associated with the key.