44 #ifndef EPETRA_LINEARPROBLEMREDISTOR_H
45 #define EPETRA_LINEARPROBLEMREDISTOR_H
215 int ExtractHbData(
int & M,
int & N,
int & nz,
int * & ptr,
int * & ind,
216 double * & val,
int & Nrhs,
double * & rhs,
int & ldrhs,
217 double * & lhs,
int & ldlhs)
const;
224 virtual void Print(std::ostream & os)
const;
Epetra_MultiVector: A class for constructing and using dense multi-vectors, vectors and matrices in p...
Epetra_LinearProblem * RedistProblem_
Epetra_Map: A class for partitioning vectors and matrices.
const Epetra_Export & RedistExporter() const
Returns const reference to the Epetra_Export object used to redistribute the original linear problem...
const Epetra_Map & RedistMap() const
Returns const reference to the Epetra_Map that describes the layout of the RedistLinearProblem.
int ExtractHbData(int &M, int &N, int &nz, int *&ptr, int *&ind, double *&val, int &Nrhs, double *&rhs, int &ldrhs, double *&lhs, int &ldlhs) const
Extract the redistributed problem data in a form usable for other codes that require Harwell-Boeing f...
virtual ~Epetra_LinearProblemRedistor()
Epetra_LinearProblemRedistor destructor.
bool RedistProblemCreated_
Epetra_RowMatrixTransposer * Transposer_
int CreateRedistProblem(const bool ConstructTranspose, const bool MakeDataContiguous, Epetra_LinearProblem *&RedistProblem)
Generate a new Epetra_LinearProblem as a redistribution of the one passed into the constructor...
Epetra_Export: This class builds an export object for efficient exporting of off-processor elements...
virtual void Print(std::ostream &os) const
Print method.
Epetra_LinearProblemRedistor: A class for redistributing an Epetra_LinearProblem object.
Epetra_LinearProblem * OrigProblem_
Epetra_Export * RedistExporter_
int UpdateRedistRHS(Epetra_MultiVector *RHSWithNewValues)
Update the values of an already-redistributed RHS.
Epetra_LinearProblemRedistor(Epetra_LinearProblem *OrigProblem, const Epetra_Map &RedistMap)
Epetra_LinearProblemRedistor constructor using pre-defined layout.
int UpdateRedistProblemValues(Epetra_LinearProblem *ProblemWithNewValues)
Update the values of an already-redistributed problem.
Epetra_RowMatrixTransposer: A class for transposing an Epetra_RowMatrix object.
Epetra_LinearProblem: The Epetra Linear Problem Class.
int UpdateOriginalLHS(Epetra_MultiVector *LHS)
Update LHS of original Linear Problem object.