60 #ifndef PetscSparseSeqSolver_h 61 #define PetscSparseSeqSolver_h 64 #include <solution/system_of_eqn/linearSOE/sparseGEN/SparseGenRowLinSolver.h> 66 #define PetscMinRelTol 1.0e-6 69 class SparseGenRowLinSOE;
81 PCType preconditioner;
93 PetscSparseSeqSolver(KSPType method, PCType preconditioner,
double rTol,
double aTol,
double dTol,
int maxIts);
101 int getNumIterations(
void);
int recvSelf(const CommParameters &)
Receive the object.
Definition: PetscSparseSeqSolver.cpp:204
int sendSelf(CommParameters &)
Send the object.
Definition: PetscSparseSeqSolver.cpp:197
Linear system of equations.
Definition: LinearSOE.h:91
int solve(void)
Causes the solver to compute the solution of the system of equations.
Definition: PetscSparseSeqSolver.cpp:99
virtual bool setLinearSOE(LinearSOE *theSOE)
Sets the system of equations to solve.
Definition: PetscSparseSeqSolver.cpp:175
PETSC based sparse general matrix SOE solver.
Definition: PetscSparseSeqSolver.h:74
virtual LinearSOESolver * getCopy(void) const
Virtual constructor.
Definition: PetscSparseSeqSolver.h:108
Sparse nonsymmetric matrix linear system of equations.
Definition: SparseGenRowLinSOE.h:73
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Base class of the solvers for linear system of equations.
Definition: LinearSOESolver.h:86
Base class for sparse general matrix linear SOE solvers.
Definition: SparseGenRowLinSolver.h:74
Communication parameters between processes.
Definition: CommParameters.h:65
int setSize(void)
Set the system size.
Definition: PetscSparseSeqSolver.cpp:113