NeoPZ
|
To solve clones of the given matrix. Solver. More...
#include <TPZCopySolve.h>
Public Member Functions | |
TPZCopySolve (TPZMatrix< TVar > *mat) | |
TPZCopySolve (const TPZCopySolve &other) | |
void | Solve (const TPZFMatrix< TVar > &F, TPZFMatrix< TVar > &result, TPZFMatrix< TVar > *residual) |
Solves the system of linear equations stored in current matrix As this class implements only a copy operation, it just copies u to F;. More... | |
TPZSolver< TVar > * | Clone () const |
Clones the current object returning a pointer of type TPZSolver. More... | |
Public Member Functions inherited from TPZMatrixSolver< TVar > | |
TPZMatrixSolver (TPZAutoPointer< TPZMatrix< TVar > > Refmat) | |
Constructor with initialization parameter. More... | |
TPZMatrixSolver () | |
TPZMatrixSolver (const TPZMatrixSolver< TVar > &Source) | |
Copy constructor. More... | |
virtual | ~TPZMatrixSolver () |
Destructor. More... | |
virtual void | SetMatrix (TPZAutoPointer< TPZMatrix< TVar > > Refmat) |
Sets a matrix to the current object. More... | |
virtual void | UpdateFrom (TPZAutoPointer< TPZMatrix< TVar > > matrix) override |
Updates the values of the current matrix based on the values of the matrix. More... | |
void | ResetMatrix () override |
Resets current object. More... | |
virtual void | SetReferenceMatrix (TPZAutoPointer< TPZMatrix< TVar > > matrix) |
This method gives a preconditioner to share a matrix with the referring solver object. More... | |
TPZAutoPointer< TPZMatrix< TVar > > | Matrix () const |
Returns a pointer to TPZMatrix<> More... | |
void | ReallocMatrix () |
void | ShareMatrix (TPZMatrixSolver< TVar > &other) |
Shares the current matrix with another object of same type. More... | |
virtual MSolver | Solver () |
int | ClassId () const override |
Saveable specific methods. More... | |
void | Write (TPZStream &buf, int withclassid) const override |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More... | |
void | Read (TPZStream &buf, void *context) override |
read objects from the stream More... | |
Public Member Functions inherited from TPZSolver< TVar > | |
virtual void | Decompose () |
Decompose the system of equations if a direct solver is used. More... | |
virtual | ~TPZSolver () |
Destructor. More... | |
Public Member Functions inherited from TPZSavable | |
TPZSavable () | |
virtual | ~TPZSavable () |
virtual std::list< std::map< std::string, uint64_t > > | VersionHistory () const |
virtual std::pair< std::string, uint64_t > | Version () const |
virtual bool | Compare (TPZSavable *copy, bool override=false) |
Compares the object for identity with the object pointed to, eventually copy the object. More... | |
virtual bool | Compare (TPZSavable *copy, bool override=false) const |
Compares the object for identity with the object pointed to, eventually copy the object. More... | |
Public Member Functions inherited from TPZRegisterClassId | |
template<typename T > | |
TPZRegisterClassId (int(T::*)() const) | |
TPZRegisterClassId ()=default | |
Additional Inherited Members | |
Public Types inherited from TPZMatrixSolver< TVar > | |
enum | MSolver { ENoSolver, EJacobi, ESOR, ESSOR, ECG, EGMRES, EBICGSTAB, EDirect, EMultiply } |
Defines a series of solvers available in PZ. More... | |
Static Public Member Functions inherited from TPZSavable | |
static std::set< TPZRestoreClassBase * > & | RestoreClassSet () |
This static function guarantees that the gMap object is available when needed. More... | |
static std::map< int, TPZRestore_t > & | ClassIdMap () |
This static function guarantees that the gMap object is available when needed. More... | |
static std::pair< std::string, uint64_t > | NeoPZVersion () |
static void | Register (TPZRestoreClassBase *restore) |
static void | RegisterClassId (int classid, TPZRestore_t fun) |
static TPZSavable * | CreateInstance (const int &classId) |
Protected Attributes inherited from TPZMatrixSolver< TVar > | |
TPZAutoPointer< TPZMatrix< TVar > > | fReferenceMatrix |
Reference matrix used to update the current matrix. More... | |
TPZFMatrix< TVar > | fScratch |
Manipulation matrix. More... | |
To solve clones of the given matrix. Solver.
Definition at line 18 of file TPZCopySolve.h.
|
inline |
Definition at line 22 of file TPZCopySolve.h.
Referenced by TPZCopySolve< TVar >::Clone().
|
inline |
Definition at line 26 of file TPZCopySolve.h.
|
inlinevirtual |
Clones the current object returning a pointer of type TPZSolver.
Implements TPZSolver< TVar >.
Definition at line 43 of file TPZCopySolve.h.
References TPZCopySolve< TVar >::TPZCopySolve().
|
inlinevirtual |
Solves the system of linear equations stored in current matrix
As this class implements only a copy operation, it just copies u to F;.
F | contains Force vector |
result | contains the solution |
residual | [out] residual computed |
Implements TPZSolver< TVar >.
Definition at line 37 of file TPZCopySolve.h.