Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
AMP::LinearAlgebra::EpetraMatrixData Class Reference

A Matrix with an Epetra_CrsMatrix interface. More...

#include <EpetraMatrixData.h>

Inheritance diagram for AMP::LinearAlgebra::EpetraMatrixData:
Inheritance graph
[legend]

Public Member Functions

template<class TYPE >
void addValuesByGlobalID (size_t num_rows, size_t num_cols, const size_t *rows, const size_t *cols, const TYPE *values)
 Add values to those in the matrix.
 
void addValuesByGlobalID (size_t num_rows, size_t num_cols, const size_t *rows, const size_t *cols, const void *values, const typeID &id) override
 Add values to those in the matrix.
 
virtual size_t beginCol () const
 Get the global id of first column in diagonal block.
 
virtual size_t beginRow () const
 Get the global id of the beginning row.
 
std::shared_ptr< MatrixDatacloneMatrixData () const override
 Clone the data.
 
std::shared_ptr< VectorcreateInputVector () const
 
std::shared_ptr< VectorcreateOutputVector () const
 
void createValuesByGlobalID (size_t, const std::vector< size_t > &)
 
virtual size_t endCol () const
 Get the global id of last column in diagonal block.
 
virtual size_t endRow () const
 Get the global id of the ending row.
 
 EpetraMatrixData (const EpetraMatrixData &rhs)
 
 EpetraMatrixData (Epetra_CrsMatrix *inMatrix, bool dele=false)
 Constructor.
 
 EpetraMatrixData (std::shared_ptr< MatrixParametersBase > params)
 
void fillComplete ()
 A call-through to Epetra_CrsMatrix fillComplete.
 
virtual AMP::Utilities::Backend getBackend () const
 Get the backend.
 
typeID getCoeffType () const override
 Return the typeid of the matrix coeffs.
 
std::vector< size_t > getColumnIDs (size_t row) const override
 Given a row, retrieve the non-zero column indices of the matrix in compressed format.
 
AMP::AMP_MPI getComm () const override
 Get the comm.
 
virtual Epetra_CrsMatrix & getEpetra_CrsMatrix ()
 Return an Epetra_CrsMatrix.
 
virtual const Epetra_CrsMatrix & getEpetra_CrsMatrix () const
 Return an Epetra_CrsMatrix.
 
uint64_t getID () const
 Get a unique id hash for the vector.
 
std::shared_ptr< Discretization::DOFManagergetLeftDOFManager () const override
 Get the DOFManager associated with a left vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{y}\) is a left vector )
 
virtual std::shared_ptr< VariablegetLeftVariable () const
 Get the variable associated with a left vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{y}\) is a left vector )
 
std::shared_ptr< Discretization::DOFManagergetRightDOFManager () const override
 Get the DOFManager associated with a right vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{x}\) is a right vector )
 
virtual std::shared_ptr< VariablegetRightVariable () const
 Get the variable associated with a right vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{x}\) is a right vector )
 
void getRowByGlobalID (size_t row, std::vector< size_t > &cols, std::vector< double > &values) const override
 Retrieve a row of the matrix in compressed format.
 
template<class TYPE >
void getValuesByGlobalID (size_t num_rows, size_t num_cols, const size_t *rows, const size_t *cols, TYPE *values) const
 Get values in the matrix.
 
void getValuesByGlobalID (size_t num_rows, size_t num_cols, const size_t *rows, const size_t *cols, void *values, const typeID &id) const override
 Get values in the matrix.
 
void makeConsistent (AMP::LinearAlgebra::ScatterType t) override
 Perform communication to ensure values in the matrix are the same across cores.
 
virtual std::uint16_t mode () const
 Return CSR mode of the matrix.
 
size_t numberColumnIDs (size_t row) const override
 Given a row, retrieve the number of non-zero column indices of the matrix.
 
size_t numGlobalColumns () const override
 Get the number of global columns in the matrix.
 
size_t numGlobalRows () const override
 Get the number of global rows in the matrix.
 
size_t numLocalColumns () const override
 Get the number of local columns in the matrix.
 
size_t numLocalRows () const override
 Get the number of local rows in the matrix.
 
EpetraMatrixDataoperator= (const EpetraMatrixData &)=delete
 
virtual void registerChildObjects (AMP::IO::RestartManager *manager) const
 Register any child objects.
 
void removeRange (AMP::Scalar, AMP::Scalar) override
 Remove matrix entries within given range.
 
virtual void setBackend (AMP::Utilities::Backend backend)
 
void setEpetraMaps (std::shared_ptr< Vector > range, std::shared_ptr< Vector > domain)
 Change the EpetraMaps for the matrix.
 
template<class TYPE >
void setValuesByGlobalID (size_t num_rows, size_t num_cols, const size_t *rows, const size_t *cols, const TYPE *values)
 Set values in the matrix.
 
void setValuesByGlobalID (size_t num_rows, size_t num_cols, const size_t *rows, const size_t *cols, const void *values, const typeID &id) override
 Set values in the matrix.
 
std::shared_ptr< MatrixDatashared_from_this ()
 
std::shared_ptr< const MatrixDatashared_from_this () const
 
std::shared_ptr< MatrixDatatranspose () const override
 Transpose.
 
std::string type () const override
 Return the type of the matrix.
 
virtual void writeRestart (int64_t fid) const
 Write restart data to file.
 
virtual ~EpetraMatrixData ()
 Destructor.
 

Static Public Member Functions

static std::shared_ptr< EpetraMatrixDatacreateView (std::shared_ptr< MatrixData > p)
 Create an EpetraMatrixData view of an AMP::LinearAlgebra::Matrix.
 

Protected Member Functions

void setOtherData ()
 Update data off-core.
 
void VerifyEpetraReturn (int err, const char *func) const
 Ensure Epetra methods return correctly.
 

Protected Attributes

bool d_DeleteMatrix
 Indicates if the destructor calls delete.
 
std::shared_ptr< Epetra_Map > d_DomainMap
 Domain map for the Epetra_CrsMatrix.
 
Epetra_CrsMatrix * d_epetraMatrix
 Bare pointer to an Epetra_CrsMatrix.
 
uint64_t d_hash = 0
 
std::map< int, std::map< int, double > > d_OtherData
 \(A_{i,j}\) storage of off-core data
 
std::shared_ptr< MatrixParametersBased_pParameters
 
std::shared_ptr< Epetra_Map > d_RangeMap
 Range map for the Epetra_CrsMatrix.
 
std::weak_ptr< MatrixDataweak_ptr_
 

Private Member Functions

 EpetraMatrixData ()=delete
 

Detailed Description

A Matrix with an Epetra_CrsMatrix interface.

An EpetraMatrixData presents an Epetra_Matrix class. Given an AMP::LinearAlgebra::Matrix, this class can create an Epetra view without copying the data. As such, this class serves three purposes:

  1. Provides an Epetra_CrsMatrix for derived classes to use, fill, manage, etc.
  2. Provides an interface for accessing this Epetra_CrsMatrix independent of base or derived classes
  3. Provides a static method for creating an Epetra_CrsMatrix view of an AMP matrix.

Definition at line 27 of file EpetraMatrixData.h.

Constructor & Destructor Documentation

◆ EpetraMatrixData() [1/4]

AMP::LinearAlgebra::EpetraMatrixData::EpetraMatrixData ( )
privatedelete

◆ EpetraMatrixData() [2/4]

AMP::LinearAlgebra::EpetraMatrixData::EpetraMatrixData ( std::shared_ptr< MatrixParametersBase params)
explicit

◆ EpetraMatrixData() [3/4]

AMP::LinearAlgebra::EpetraMatrixData::EpetraMatrixData ( const EpetraMatrixData rhs)

◆ EpetraMatrixData() [4/4]

AMP::LinearAlgebra::EpetraMatrixData::EpetraMatrixData ( Epetra_CrsMatrix *  inMatrix,
bool  dele = false 
)
explicit

Constructor.

Parameters
[in]inMatrixMatrix to wrap
[in]deleIf true, then this class will delete the Epetra_CrsMatrix

◆ ~EpetraMatrixData()

virtual AMP::LinearAlgebra::EpetraMatrixData::~EpetraMatrixData ( )
virtual

Destructor.

Member Function Documentation

◆ addValuesByGlobalID() [1/2]

template<class TYPE >
void AMP::LinearAlgebra::MatrixData::addValuesByGlobalID ( size_t  num_rows,
size_t  num_cols,
const size_t *  rows,
const size_t *  cols,
const TYPE *  values 
)
inherited

Add values to those in the matrix.

Parameters
[in]num_rowsThe number of rows represented in values
[in]num_colsThe number of cols represented in values
[in]rowsThe row ids of values
[in]colsThe column ids of values
[in]valuesThe values to add to the matrix (row-major ordering)

This method may fail if the matrix has not allocated a particular (row,col) specified, depending on the actual subclass of matrix used.

◆ addValuesByGlobalID() [2/2]

void AMP::LinearAlgebra::EpetraMatrixData::addValuesByGlobalID ( size_t  num_rows,
size_t  num_cols,
const size_t *  rows,
const size_t *  cols,
const void *  values,
const typeID id 
)
overridevirtual

Add values to those in the matrix.

Parameters
[in]num_rowsThe number of rows represented in values
[in]num_colsThe number of cols represented in values
[in]rowsThe row ids of values
[in]colsThe column ids of values
[in]valuesThe values to add to the matrix (row-major ordering)
[in]idtypeID of raw data

This method may fail if the matrix has not allocated a particular (row,col) specified, depending on the actual subclass of matrix used.

Implements AMP::LinearAlgebra::MatrixData.

◆ beginCol()

virtual size_t AMP::LinearAlgebra::MatrixData::beginCol ( ) const
virtualinherited

Get the global id of first column in diagonal block.

Returns
beginning global column id

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

◆ beginRow()

virtual size_t AMP::LinearAlgebra::MatrixData::beginRow ( ) const
virtualinherited

Get the global id of the beginning row.

Returns
beginning global row id

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

◆ cloneMatrixData()

std::shared_ptr< MatrixData > AMP::LinearAlgebra::EpetraMatrixData::cloneMatrixData ( ) const
overridevirtual

Clone the data.

Implements AMP::LinearAlgebra::MatrixData.

◆ createInputVector()

std::shared_ptr< Vector > AMP::LinearAlgebra::EpetraMatrixData::createInputVector ( ) const

◆ createOutputVector()

std::shared_ptr< Vector > AMP::LinearAlgebra::EpetraMatrixData::createOutputVector ( ) const

◆ createValuesByGlobalID()

void AMP::LinearAlgebra::EpetraMatrixData::createValuesByGlobalID ( size_t  ,
const std::vector< size_t > &   
)

◆ createView()

static std::shared_ptr< EpetraMatrixData > AMP::LinearAlgebra::EpetraMatrixData::createView ( std::shared_ptr< MatrixData p)
static

Create an EpetraMatrixData view of an AMP::LinearAlgebra::Matrix.

Parameters
[in]pThe matrix to view
Returns
An AMP:Matrix capable of casting to EpetraMatrixData

◆ endCol()

virtual size_t AMP::LinearAlgebra::MatrixData::endCol ( ) const
virtualinherited

Get the global id of last column in diagonal block.

Returns
ending global column id

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

◆ endRow()

virtual size_t AMP::LinearAlgebra::MatrixData::endRow ( ) const
virtualinherited

Get the global id of the ending row.

Returns
ending global row id

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

◆ fillComplete()

void AMP::LinearAlgebra::EpetraMatrixData::fillComplete ( )

A call-through to Epetra_CrsMatrix fillComplete.

◆ getBackend()

virtual AMP::Utilities::Backend AMP::LinearAlgebra::MatrixData::getBackend ( ) const
inlinevirtualinherited

Get the backend.

Definition at line 268 of file MatrixData.h.

References AMP_ASSERT, and AMP::LinearAlgebra::MatrixData::d_pParameters.

◆ getCoeffType()

typeID AMP::LinearAlgebra::EpetraMatrixData::getCoeffType ( ) const
inlineoverridevirtual

Return the typeid of the matrix coeffs.

Implements AMP::LinearAlgebra::MatrixData.

Definition at line 154 of file EpetraMatrixData.h.

References type().

◆ getColumnIDs()

std::vector< size_t > AMP::LinearAlgebra::EpetraMatrixData::getColumnIDs ( size_t  row) const
overridevirtual

Given a row, retrieve the non-zero column indices of the matrix in compressed format.

Parameters
[in]rowWhich row

Implements AMP::LinearAlgebra::MatrixData.

◆ getComm()

AMP::AMP_MPI AMP::LinearAlgebra::EpetraMatrixData::getComm ( ) const
overridevirtual

Get the comm.

Reimplemented from AMP::LinearAlgebra::MatrixData.

◆ getEpetra_CrsMatrix() [1/2]

virtual Epetra_CrsMatrix & AMP::LinearAlgebra::EpetraMatrixData::getEpetra_CrsMatrix ( )
virtual

Return an Epetra_CrsMatrix.

Returns
An Epetra_CrsMatrix view of this matrix

◆ getEpetra_CrsMatrix() [2/2]

virtual const Epetra_CrsMatrix & AMP::LinearAlgebra::EpetraMatrixData::getEpetra_CrsMatrix ( ) const
virtual

Return an Epetra_CrsMatrix.

Returns
An Epetra_CrsMatrix view of this matrix

◆ getID()

uint64_t AMP::LinearAlgebra::MatrixData::getID ( ) const
inherited

Get a unique id hash for the vector.

◆ getLeftDOFManager()

std::shared_ptr< Discretization::DOFManager > AMP::LinearAlgebra::EpetraMatrixData::getLeftDOFManager ( ) const
overridevirtual

Get the DOFManager associated with a left vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{y}\) is a left vector )

Returns
The DOFManager associated with a left vector

Implements AMP::LinearAlgebra::MatrixData.

◆ getLeftVariable()

virtual std::shared_ptr< Variable > AMP::LinearAlgebra::MatrixData::getLeftVariable ( ) const
inlinevirtualinherited

Get the variable associated with a left vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{y}\) is a left vector )

Returns
The variable associated with a left vector

Definition at line 215 of file MatrixData.h.

References AMP::LinearAlgebra::MatrixData::d_pParameters.

◆ getRightDOFManager()

std::shared_ptr< Discretization::DOFManager > AMP::LinearAlgebra::EpetraMatrixData::getRightDOFManager ( ) const
overridevirtual

Get the DOFManager associated with a right vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{x}\) is a right vector )

Returns
The DOFManager associated with a right vector

Implements AMP::LinearAlgebra::MatrixData.

◆ getRightVariable()

virtual std::shared_ptr< Variable > AMP::LinearAlgebra::MatrixData::getRightVariable ( ) const
inlinevirtualinherited

Get the variable associated with a right vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(\mathbf{x}\) is a right vector )

Returns
The variable associated with a right vector

Definition at line 205 of file MatrixData.h.

References AMP::LinearAlgebra::MatrixData::d_pParameters.

◆ getRowByGlobalID()

void AMP::LinearAlgebra::EpetraMatrixData::getRowByGlobalID ( size_t  row,
std::vector< size_t > &  cols,
std::vector< double > &  values 
) const
overridevirtual

Retrieve a row of the matrix in compressed format.

Parameters
[in]rowWhich row
[out]colsThe column ids of the returned values
[out]valuesThe values in the row

Implements AMP::LinearAlgebra::MatrixData.

◆ getValuesByGlobalID() [1/2]

template<class TYPE >
void AMP::LinearAlgebra::MatrixData::getValuesByGlobalID ( size_t  num_rows,
size_t  num_cols,
const size_t *  rows,
const size_t *  cols,
TYPE *  values 
) const
inherited

Get values in the matrix.

Parameters
[in]num_rowsThe number of rows represented in values
[in]num_colsThe number of cols represented in values
[in]rowsThe row ids of values
[in]colsThe column ids of values
[out]valuesThe values to get from the matrix (row-major ordering)

This method will return zero for any entries that have not been allocated or are not ghosts on the current processor.

◆ getValuesByGlobalID() [2/2]

void AMP::LinearAlgebra::EpetraMatrixData::getValuesByGlobalID ( size_t  num_rows,
size_t  num_cols,
const size_t *  rows,
const size_t *  cols,
void *  values,
const typeID id 
) const
overridevirtual

Get values in the matrix.

Parameters
[in]num_rowsThe number of rows represented in values
[in]num_colsThe number of cols represented in values
[in]rowsThe row ids of values
[in]colsThe column ids of values
[out]valuesThe values to get from the matrix (row-major ordering)
[in]idtypeID of raw data

This method will return zero for any entries that have not been allocated or are not ghosts on the current processor.

Implements AMP::LinearAlgebra::MatrixData.

◆ makeConsistent()

void AMP::LinearAlgebra::EpetraMatrixData::makeConsistent ( AMP::LinearAlgebra::ScatterType  t)
overridevirtual

Perform communication to ensure values in the matrix are the same across cores.

Implements AMP::LinearAlgebra::MatrixData.

◆ mode()

virtual std::uint16_t AMP::LinearAlgebra::MatrixData::mode ( ) const
inlinevirtualinherited

Return CSR mode of the matrix.

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

Definition at line 57 of file MatrixData.h.

◆ numberColumnIDs()

size_t AMP::LinearAlgebra::EpetraMatrixData::numberColumnIDs ( size_t  row) const
overridevirtual

Given a row, retrieve the number of non-zero column indices of the matrix.

Parameters
[in]rowWhich row

Implements AMP::LinearAlgebra::MatrixData.

◆ numGlobalColumns()

size_t AMP::LinearAlgebra::EpetraMatrixData::numGlobalColumns ( ) const
overridevirtual

Get the number of global columns in the matrix.

Returns
The number of global columns

Reimplemented from AMP::LinearAlgebra::MatrixData.

◆ numGlobalRows()

size_t AMP::LinearAlgebra::EpetraMatrixData::numGlobalRows ( ) const
overridevirtual

Get the number of global rows in the matrix.

Returns
The number of global rows

Reimplemented from AMP::LinearAlgebra::MatrixData.

◆ numLocalColumns()

size_t AMP::LinearAlgebra::EpetraMatrixData::numLocalColumns ( ) const
overridevirtual

Get the number of local columns in the matrix.

Returns
The number of local columns

Reimplemented from AMP::LinearAlgebra::MatrixData.

◆ numLocalRows()

size_t AMP::LinearAlgebra::EpetraMatrixData::numLocalRows ( ) const
overridevirtual

Get the number of local rows in the matrix.

Returns
The number of local rows

Reimplemented from AMP::LinearAlgebra::MatrixData.

◆ operator=()

EpetraMatrixData & AMP::LinearAlgebra::EpetraMatrixData::operator= ( const EpetraMatrixData )
delete

◆ registerChildObjects()

virtual void AMP::LinearAlgebra::MatrixData::registerChildObjects ( AMP::IO::RestartManager manager) const
virtualinherited

Register any child objects.

This function will register child objects with the manager

Parameters
managerRestart manager

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

◆ removeRange()

void AMP::LinearAlgebra::EpetraMatrixData::removeRange ( AMP::Scalar  bnd_lo,
AMP::Scalar  bnd_up 
)
inlineoverridevirtual

Remove matrix entries within given range.

Implements AMP::LinearAlgebra::MatrixData.

Definition at line 78 of file EpetraMatrixData.h.

References AMP_ERROR.

◆ setBackend()

virtual void AMP::LinearAlgebra::MatrixData::setBackend ( AMP::Utilities::Backend  backend)
inlinevirtualinherited

Definition at line 274 of file MatrixData.h.

References AMP_ASSERT, and AMP::LinearAlgebra::MatrixData::d_pParameters.

◆ setEpetraMaps()

void AMP::LinearAlgebra::EpetraMatrixData::setEpetraMaps ( std::shared_ptr< Vector range,
std::shared_ptr< Vector domain 
)

Change the EpetraMaps for the matrix.

Parameters
[in]rangeA vector that represents the range: y in y = A*x (row map)
[in]domainA vector that represents the domain: x in y = A*x (column map)

This does not change the matrix, just the maps stored above

◆ setOtherData()

void AMP::LinearAlgebra::EpetraMatrixData::setOtherData ( )
protected

Update data off-core.

◆ setValuesByGlobalID() [1/2]

template<class TYPE >
void AMP::LinearAlgebra::MatrixData::setValuesByGlobalID ( size_t  num_rows,
size_t  num_cols,
const size_t *  rows,
const size_t *  cols,
const TYPE *  values 
)
inherited

Set values in the matrix.

Parameters
[in]num_rowsThe number of rows represented in values
[in]num_colsThe number of cols represented in values
[in]rowsThe row ids of values
[in]colsThe column ids of values
[in]valuesThe values to set to the matrix (row-major ordering)

This method may fail if the matrix has not allocated a particular (row,col) specified, depending on the actual subclass of matrix used.

◆ setValuesByGlobalID() [2/2]

void AMP::LinearAlgebra::EpetraMatrixData::setValuesByGlobalID ( size_t  num_rows,
size_t  num_cols,
const size_t *  rows,
const size_t *  cols,
const void *  values,
const typeID id 
)
overridevirtual

Set values in the matrix.

Parameters
[in]num_rowsThe number of rows represented in values
[in]num_colsThe number of cols represented in values
[in]rowsThe row ids of values
[in]colsThe column ids of values
[in]valuesThe values to set to the matrix (row-major ordering)
[in]idtypeID of raw data

This method may fail if the matrix has not allocated a particular (row,col) specified, depending on the actual subclass of matrix used.

Implements AMP::LinearAlgebra::MatrixData.

◆ shared_from_this() [1/2]

std::shared_ptr< MatrixData > AMP::enable_shared_from_this< MatrixData >::shared_from_this ( )
inlineinherited

Definition at line 28 of file enable_shared_from_this.h.

◆ shared_from_this() [2/2]

std::shared_ptr< const MatrixData > AMP::enable_shared_from_this< MatrixData >::shared_from_this ( ) const
inlineinherited

Definition at line 46 of file enable_shared_from_this.h.

◆ transpose()

std::shared_ptr< MatrixData > AMP::LinearAlgebra::EpetraMatrixData::transpose ( ) const
overridevirtual

Transpose.

Implements AMP::LinearAlgebra::MatrixData.

◆ type()

std::string AMP::LinearAlgebra::EpetraMatrixData::type ( ) const
inlineoverridevirtual

Return the type of the matrix.

Implements AMP::LinearAlgebra::MatrixData.

Definition at line 95 of file EpetraMatrixData.h.

Referenced by getCoeffType().

◆ VerifyEpetraReturn()

void AMP::LinearAlgebra::EpetraMatrixData::VerifyEpetraReturn ( int  err,
const char *  func 
) const
protected

Ensure Epetra methods return correctly.

Parameters
[in]errThe return value from the method
[in]funcThe name of the Epetra method called

Throws an execption if err != 0

◆ writeRestart()

virtual void AMP::LinearAlgebra::MatrixData::writeRestart ( int64_t  fid) const
virtualinherited

Write restart data to file.

This function will write the mesh to an HDF5 file

Parameters
fidFile identifier to write

Reimplemented in AMP::LinearAlgebra::CSRMatrixData< Config >.

Member Data Documentation

◆ d_DeleteMatrix

bool AMP::LinearAlgebra::EpetraMatrixData::d_DeleteMatrix
protected

Indicates if the destructor calls delete.

Definition at line 47 of file EpetraMatrixData.h.

◆ d_DomainMap

std::shared_ptr<Epetra_Map> AMP::LinearAlgebra::EpetraMatrixData::d_DomainMap
protected

Domain map for the Epetra_CrsMatrix.

Definition at line 43 of file EpetraMatrixData.h.

◆ d_epetraMatrix

Epetra_CrsMatrix* AMP::LinearAlgebra::EpetraMatrixData::d_epetraMatrix
protected

Bare pointer to an Epetra_CrsMatrix.

Definition at line 35 of file EpetraMatrixData.h.

◆ d_hash

uint64_t AMP::LinearAlgebra::MatrixData::d_hash = 0
protectedinherited

Definition at line 311 of file MatrixData.h.

◆ d_OtherData

std::map<int, std::map<int, double> > AMP::LinearAlgebra::EpetraMatrixData::d_OtherData
protected

\(A_{i,j}\) storage of off-core data

Definition at line 50 of file EpetraMatrixData.h.

◆ d_pParameters

std::shared_ptr<MatrixParametersBase> AMP::LinearAlgebra::MatrixData::d_pParameters
protectedinherited

◆ d_RangeMap

std::shared_ptr<Epetra_Map> AMP::LinearAlgebra::EpetraMatrixData::d_RangeMap
protected

Range map for the Epetra_CrsMatrix.

Definition at line 39 of file EpetraMatrixData.h.

◆ weak_ptr_

std::weak_ptr<MatrixData > AMP::enable_shared_from_this< MatrixData >::weak_ptr_
mutableprotectedinherited

Definition at line 69 of file enable_shared_from_this.h.


The documentation for this class was generated from the following file:



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:42.
Comments on this page