MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / __init__

Method __init__

python/dolfinx/la/superlu_dist.py:93–104  ·  view source on GitHub ↗

Create a SuperLU_DIST solver. Args: solver: C++ SuperLUDistSolver object. Note: This initialiser is intended for internal library use only. User code should call :func:`superlu_dist_solver` to create a :class:`SuperLUDistSolver` objec

(self, solver)

Source from the content-addressed store, hash-verified

91 )
92
93 def __init__(self, solver):
94 """Create a SuperLU_DIST solver.
95
96 Args:
97 solver: C++ SuperLUDistSolver object.
98
99 Note:
100 This initialiser is intended for internal library use only.
101 User code should call :func:`superlu_dist_solver` to create a
102 :class:`SuperLUDistSolver` object.
103 """
104 self._cpp_object = solver
105
106 def set_option(self, name: str, value: str):
107 """Set SuperLU_DIST option for solve.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected