Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::AlephMatrixTrilinos Class Reference
Inheritance diagram for Arcane::AlephMatrixTrilinos:
Collaboration diagram for Arcane::AlephMatrixTrilinos:

Public Member Functions

 AlephMatrixTrilinos (ITraceMng *tm, AlephKernel *kernel, Integer index)
void AlephMatrixCreate (void)
void AlephMatrixSetFilled (bool)
int AlephMatrixAssemble (void)
void AlephMatrixFill (int size, int *rows, int *cols, double *values)
Real LinftyNormVectorProductAndSub (AlephVector *x, AlephVector *b)
bool isAlreadySolved (AlephVectorTrilinos *x, AlephVectorTrilinos *b, AlephVectorTrilinos *tmp, Real *residual_norm, AlephParams *params)
int AlephMatrixSolve (AlephVector *x, AlephVector *b, AlephVector *t, Integer &nb_iteration, Real *residual_norm, AlephParams *solver_param)
void writeToFile (const String filename)
Public Member Functions inherited from Arcane::IAlephMatrix
 IAlephMatrix (ITraceMng *tm, AlephKernel *kernel, Integer index)
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Attributes

Epetra_CrsMatrix * m_trilinos_matrix = nullptr
Epetra_Comm * m_trilinos_Comm = nullptr

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Attributes inherited from Arcane::IAlephMatrix
Integer m_index
AlephKernelm_kernel

Detailed Description

Definition at line 159 of file AlephTrilinos.cc.

Constructor & Destructor Documentation

◆ AlephMatrixTrilinos()

Arcane::AlephMatrixTrilinos::AlephMatrixTrilinos ( ITraceMng * tm,
AlephKernel * kernel,
Integer index )
inline

Definition at line 167 of file AlephTrilinos.cc.

◆ ~AlephMatrixTrilinos()

Arcane::AlephMatrixTrilinos::~AlephMatrixTrilinos ( )
inline

Definition at line 178 of file AlephTrilinos.cc.

Member Function Documentation

◆ AlephMatrixAssemble()

int Arcane::AlephMatrixTrilinos::AlephMatrixAssemble ( void )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 227 of file AlephTrilinos.cc.

◆ AlephMatrixCreate()

void Arcane::AlephMatrixTrilinos::AlephMatrixCreate ( void )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 187 of file AlephTrilinos.cc.

◆ AlephMatrixFill()

void Arcane::AlephMatrixTrilinos::AlephMatrixFill ( int size,
int * rows,
int * cols,
double * values )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 237 of file AlephTrilinos.cc.

◆ AlephMatrixSetFilled()

void Arcane::AlephMatrixTrilinos::AlephMatrixSetFilled ( bool )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 222 of file AlephTrilinos.cc.

◆ AlephMatrixSolve()

int Arcane::AlephMatrixTrilinos::AlephMatrixSolve ( AlephVector * x,
AlephVector * b,
AlephVector * t,
Integer & nb_iteration,
Real * residual_norm,
AlephParams * solver_param )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 329 of file AlephTrilinos.cc.

◆ isAlreadySolved()

bool Arcane::AlephMatrixTrilinos::isAlreadySolved ( AlephVectorTrilinos * x,
AlephVectorTrilinos * b,
AlephVectorTrilinos * tmp,
Real * residual_norm,
AlephParams * params )
inline

Definition at line 265 of file AlephTrilinos.cc.

◆ LinftyNormVectorProductAndSub()

Real Arcane::AlephMatrixTrilinos::LinftyNormVectorProductAndSub ( AlephVector * x,
AlephVector * b )
inline

Definition at line 254 of file AlephTrilinos.cc.

◆ writeToFile()

void Arcane::AlephMatrixTrilinos::writeToFile ( const String filename)
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 511 of file AlephTrilinos.cc.

Member Data Documentation

◆ m_trilinos_Comm

Epetra_Comm* Arcane::AlephMatrixTrilinos::m_trilinos_Comm = nullptr
private

Definition at line 519 of file AlephTrilinos.cc.

◆ m_trilinos_matrix

Epetra_CrsMatrix* Arcane::AlephMatrixTrilinos::m_trilinos_matrix = nullptr
private

Definition at line 518 of file AlephTrilinos.cc.


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