Solvers

Solver options.

Sparse Matrix

class onscale.solvers.SparseMatrix(solver_type: str, preconditioner_type: str)

Solver selection for SparseMatrix

Parameters:
  • solver_type – Solver type to use.

  • precondition_type – Preconditioner type to use.

static from_dict(data: Dict[str, Any], sim: Simulation | None = None) Node

Construct this node from serialized dictionary data

to_json() str

Convert this node into JSON representation

property uuid: str

Get the UUID associated with this node.