BasicTools.Linalg.LinearSolver module

BasicTools.Linalg.LinearSolver.CheckIntegrity(GUI=False)[source]
BasicTools.Linalg.LinearSolver.CheckSPQR(GUI)[source]
BasicTools.Linalg.LinearSolver.CheckSolver(GUI, solver)[source]
BasicTools.Linalg.LinearSolver.GetAvailableSolvers()[source]
class BasicTools.Linalg.LinearSolver.LinearProblem[source]

Bases: BaseOutputObject

ComputeProjector(mesh, fields)[source]
GetNumberOfDofs()[source]
HasConstraints()[source]
SetAlgo(name, ops=None, withErrorIfNotFound=False)[source]
SetOp(op)[source]
SetTolerance(tol)[source]
Solve(rhs)[source]
property constraints
class BasicTools.Linalg.LinearSolver.LinearSolverBase[source]

Bases: BaseOutputObject

ComputeProjector(op)[source]
GetConstraints()[source]
GetNumberOfDofs()[source]
HasConstraints()[source]
SetConstraints(constraints)[source]
SetOp(op)[source]
Solve(rhs, u0=None)[source]
class BasicTools.Linalg.LinearSolver.LinearSolverCG[source]

Bases: LinearSolverIterativeBase

class BasicTools.Linalg.LinearSolver.LinearSolverCholesky[source]

Bases: LinearSolverDirect

class BasicTools.Linalg.LinearSolver.LinearSolverDirect[source]

Bases: LinearSolverIterativeBase

class BasicTools.Linalg.LinearSolver.LinearSolverEigen(subtype)[source]

Bases: LinearSolverIterativeBase

classmethod GetAvailableSolvers()[source]
GetSPQRRank()[source]
GetSPQR_P()[source]
GetSPQR_Q()[source]
GetSPQR_R()[source]
SetSolver(subtype)[source]
class BasicTools.Linalg.LinearSolver.LinearSolverIterativeBase[source]

Bases: LinearSolverBase

SetTolerance(tol)[source]
class BasicTools.Linalg.LinearSolver.LinearSolverPardiso[source]

Bases: LinearSolverDirect

class BasicTools.Linalg.LinearSolver.LinearSolvergmres[source]

Bases: LinearSolverIterativeBase

class BasicTools.Linalg.LinearSolver.LinearSolverlAMG[source]

Bases: LinearSolverIterativeBase

class BasicTools.Linalg.LinearSolver.LinearSolverlgmres[source]

Bases: LinearSolverIterativeBase

class BasicTools.Linalg.LinearSolver.LinearSolverlsqr[source]

Bases: LinearSolverIterativeBase

BasicTools.Linalg.LinearSolver.RegisterSolverClass(name, classtype, constructor=None, withError=True)[source]
BasicTools.Linalg.LinearSolver.RegisterSolverClassUsingName(cls)[source]
class BasicTools.Linalg.LinearSolver.SolverFactory[source]

Bases: Factory