#include <Trilinos_Util_CrsMatrixGallery.h>
Inheritance diagram for Trilinos_Util::VbrMatrixGallery:
Public Member Functions | |
| VbrMatrixGallery (const string name, const Epetra_Map &map) | |
| VbrMatrixGallery (const string name, const Epetra_Comm &Comm) | |
| ~VbrMatrixGallery () | |
| const Epetra_BlockMap * | GetBlockMap () |
| Returns a pointer the internally stored BlockMap. | |
| const Epetra_BlockMap & | GetBlockMapRef () |
| Epetra_VbrMatrix * | GetVbrMatrix (const int NumPDEEqns) |
| Returns a VbrMatrix, starting from the CsrMatrix. | |
| Epetra_VbrMatrix * | GetVbrMatrix () |
| Returns a VbrMatrix, starting from the CsrMatrix. | |
| Epetra_VbrMatrix & | GetVbrMatrixRef () |
| Epetra_Vector * | GetVbrRHS () |
| Returns a pointer to the RHS for the selected Vbr exact solution. | |
| Epetra_Vector * | GetVbrExactSolution () |
| Returns a pointer to the selected Vbr exact solution. | |
| Epetra_Vector * | GetVbrStartingSolution () |
| Returns a pointer to the starting solution for Vbr problems. | |
| void | CreateVbrMatrix (void) |
| Epetra_LinearProblem * | GetVbrLinearProblem () |
| Returns a pointer to Epetra_LinearProblem for VBR. | |
| void | ComputeResidualVbr (double &residual) |
| Computes the 2-norm of the residual for the VBR problem. | |
| void | ComputeDiffBetweenStartingAndExactSolutionsVbr (double &residual) |
| Computes the 2-norm of the difference between the starting solution and the exact solution for the VBR problem. | |
| void | PrintVbrMatrixAndVectors (ostream &os) |
| Print out Vbr matrix and vectors. | |
| void | PrintVbrMatrixAndVectors () |
Protected Member Functions | |
| void | CreateBlockMap (void) |
| void | CreateVbrExactSolution (void) |
| Creates the exact solution for a Epetra_VbrMatrix. | |
| void | CreateVbrStartingSolution () |
| Creates the starting solution for Vbr. | |
| void | CreateVbrRHS () |
| Create the RHS corresponding to the desired exact solution for the Vbr problem. | |
Protected Attributes | |
| Epetra_VbrMatrix * | VbrMatrix_ |
| Epetra_Vector * | VbrExactSolution_ |
| Epetra_Vector * | VbrStartingSolution_ |
| Epetra_Vector * | VbrRhs_ |
| Epetra_BlockMap * | BlockMap_ |
| int | MaxBlkSize_ |
| Epetra_LinearProblem * | VbrLinearProblem_ |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
Computes the 2-norm of the difference between the starting solution and the exact solution for the VBR problem.
|
|
|
Computes the 2-norm of the residual for the VBR problem.
|
|
|
|
|
|
Creates the exact solution for a Epetra_VbrMatrix.
|
|
|
|
|
|
Create the RHS corresponding to the desired exact solution for the Vbr problem.
|
|
|
Creates the starting solution for Vbr.
|
|
|
Returns a pointer the internally stored BlockMap.
|
|
|
|
|
|
Returns a pointer to the selected Vbr exact solution.
|
|
|
Returns a pointer to Epetra_LinearProblem for VBR.
|
|
|
Returns a VbrMatrix, starting from the CsrMatrix.
|
|
|
Returns a VbrMatrix, starting from the CsrMatrix. Returns a VbrMatrix, starting from the CsrMatrix. This vbr matrix is formally equivalent to the CrsMatrix returned by GetMatrix(). However, each node of the CrsMatrix is replicated num_PDE_eqns times (this value is passed in input, or set via Set("num pde eqns",IntValue)). |
|
|
|
|
|
Returns a pointer to the RHS for the selected Vbr exact solution. Returns a pointer to the RHS corresponding to the selected exact solution to the linear systems defined by the Epetra_VbrMatrix. |
|
|
Returns a pointer to the starting solution for Vbr problems.
|
|
|
|
|
|
Print out Vbr matrix and vectors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1