Docs/Sparse Direct Solver (SuperLU)/slu.core.resetSuperLUModule
Back to Sparse Direct Solver (SuperLU)

slu.core.resetSuperLUModule

Reset the SuperLU module state completely.

Syntax

slu.core.resetSuperLUModule()

Description

Reset the SuperLU module state completely. This function: 1. Clears the cached module instance 2. Cancels any in-progress loading 3. Resets all configuration to defaults After calling this, you can reconfigure and reload the module. This is useful for: - Testing (reset between test cases) - Switching to a different WASM build - Recovering from errors **Warning**: Any existing references to the old module will become invalid. Ensure no code is still using the module before calling this.

Returns

void