postgkyl.resolve_geometry

postgkyl.resolve_geometry(file_name, *, mapc2p=None, nodes_file=None)

Load cylindrical geometry for any Gkeyll simulation output.

Prefer <prefix>-geo_int_nodes.gkyl, falling back to the modal <prefix>-geo_int_mapc2p.gkyl. Optional geo_corn_nodes close the poloidal boundary. Filenames and coordinate layouts are owned by I/O. mapc2p and nodes_file are mutually exclusive overrides; an empty mapc2p requests the inferred modal filename. ‘*’ selects the source block.