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_Export: This class builds an export object for efficient exporting of off-processor elements.
int UpdateRedistRHS(Epetra_MultiVector *RHSWithNewValues)
Update the values of an already-redistributed RHS.
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_LinearProblem * RedistProblem_
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.
const Epetra_Map & RedistMap() const
Returns const reference to the Epetra_Map that describes the layout of the RedistLinearProblem.
Epetra_RowMatrixTransposer * Transposer_
int UpdateOriginalLHS(Epetra_MultiVector *LHS)
Update LHS of original Linear Problem object.
Epetra_Export * RedistExporter_
bool RedistProblemCreated_
virtual void Print(std::ostream &os) const
Print method.
const Epetra_Export & RedistExporter() const
Returns const reference to the Epetra_Export object used to redistribute the original linear problem.
Epetra_LinearProblem * OrigProblem_
Epetra_LinearProblem: The Epetra Linear Problem Class.
Epetra_Map: A class for partitioning vectors and matrices.
Epetra_MultiVector: A class for constructing and using dense multi-vectors, vectors and matrices in p...
Epetra_RowMatrixTransposer: A class for transposing an Epetra_RowMatrix object.