Function class containing a few static methods and constants, to be used as workspace tools. More...
#include <Galeri_core_Workspace.h>
Public Member Functions | |
| Workspace () | |
| Default constructor.  | |
| ~Workspace () | |
| Default destructor.  | |
Static Public Member Functions | |
| static void | setNumDimensions (const int numDimensions) | 
| Sets the number of dimension (1, 2, or 3).  | |
| static int | getNumDimensions () | 
| Returns the number of dimensions used (1, 2, or 3).  | |
| static void | solve_LAPACK (Epetra_RowMatrix &matrix, Epetra_MultiVector &LHS, Epetra_MultiVector &RHS) | 
| Solves a serial linear system using LAPACK (WARNING: ONLY SMALL MATRICES)  | |
| static Epetra_MultiVector * | createMultiVectorComponent (const Epetra_MultiVector &input) | 
| Creates a multivector that can hold a component of the specified multivector.  More... | |
| static void | extractMultiVectorComponent (const Epetra_MultiVector &input, const int equation, Epetra_MultiVector &output) | 
Extracts the component of the specified equation from the input Epetra_MultiVector, and stores it in output.  | |
Static Public Attributes | |
| static const int | MIN = -1 | 
| Input default value for "min".  | |
| static const int | MAX = -2 | 
| Input default value for "max".  | |
| static const int | UNINITIALIZED = 1550 | 
| Default value for uninitialized objects.  | |
| static const int | INITIALIZED = 1551 | 
| Default value for initialized objects (should be > UNINITIALIZED).  | |
| static const int | CONNECTIVITY_FREEZED = 1552 | 
| Value for status with freezed connectivity (should be > INITIALIZED).  | |
| static const int | COORDINATES_FREEZED = 1553 | 
| Value for status with freezed coordinates (should be > INITIALIZED).  | |
Function class containing a few static methods and constants, to be used as workspace tools.
      
  | 
  static | 
Creates a multivector that can hold a component of the specified multivector.
From the input Epetra_MultiVector, defined on an Epetra_BlockMap, defines a new Epetra_Map that can host one component of the multivector, and allocates an Epetra_MultiVector based on it. This is useful in vector problems, when the input vector contains several PDE componets, and one of them has to be extracted.
 1.8.5