61 #ifndef PetscSparseSeqSolver_h 62 #define PetscSparseSeqSolver_h 65 #include <solution/system_of_eqn/linearSOE/sparseGEN/SparseGenRowLinSolver.h> 67 #define PetscMinRelTol 1.0e-6 70 class SparseGenRowLinSOE;
82 PCType preconditioner;
94 PetscSparseSeqSolver(KSPType method, PCType preconditioner,
double rTol,
double aTol,
double dTol,
int maxIts);
102 int getNumIterations(
void);
Communication parameters between processes.
Definition: Communicator.h:66
Linear system of equations.
Definition: LinearSOE.h:92
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:75
virtual LinearSOESolver * getCopy(void) const
Virtual constructor.
Definition: PetscSparseSeqSolver.h:109
Sparse nonsymmetric matrix linear system of equations.
Definition: SparseGenRowLinSOE.h:74
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Base class of the solvers for linear system of equations.
Definition: LinearSOESolver.h:87
int sendSelf(Communicator &)
Send the object.
Definition: PetscSparseSeqSolver.cpp:197
Base class for sparse general matrix linear SOE solvers.
Definition: SparseGenRowLinSolver.h:75
int recvSelf(const Communicator &)
Receive the object.
Definition: PetscSparseSeqSolver.cpp:204
int setSize(void)
Set the system size.
Definition: PetscSparseSeqSolver.cpp:113