mark_as_loaded#

FdtdSession.mark_as_loaded(filename: str) None#

Record filename as the file that matches the in-memory state.

Use this immediately after fdtd.save(filename) so the next load_if_needed() call for the same file (e.g. the forward .fsp that set_fwd just wrote) can be skipped.

Parameters:
filenamestr

Path to the .fsp file whose contents now equal the in-memory FDTD state.