warp.fem.set_default_temporary_store#

warp.fem.set_default_temporary_store(temporary_store)[source]#

Globally sets the default TemporaryStore instance to use for temporary allocations in warp.fem functions.

If the default temporary store is set to None, temporary allocations are not persisted unless a TemporaryStore is provided at a per-function granularity.

Parameters:

temporary_store (TemporaryStore | None)