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

Public Member Functions

 AlephMatrixCnc (ITraceMng *tm, AlephKernel *kernel, Integer index)
void AlephMatrixCreate (void)
void AlephMatrixSetFilled (bool)
int AlephMatrixAssemble (void)
void AlephMatrixFill (int nrows, int *rows, int *cols, double *values)
Real LinftyNormVectorProductAndSub (AlephVector *x, AlephVector *b)
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

Public Attributes

CNC_Matrix m_cnc_matrix
Cuda m_cuda
CNC_MatrixCRS< double > m_smcrs
bool has_been_allocated_on_gpu

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 97 of file IAlephCuda.h.

Constructor & Destructor Documentation

◆ AlephMatrixCnc()

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

Definition at line 104 of file IAlephCuda.h.

◆ ~AlephMatrixCnc()

Arcane::AlephMatrixCnc::~AlephMatrixCnc ( )
inline

Definition at line 119 of file IAlephCuda.h.

Member Function Documentation

◆ AlephMatrixAssemble()

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

Implements Arcane::IAlephMatrix.

Definition at line 143 of file IAlephCuda.h.

◆ AlephMatrixCreate()

void Arcane::AlephMatrixCnc::AlephMatrixCreate ( void )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 127 of file IAlephCuda.h.

◆ AlephMatrixFill()

void Arcane::AlephMatrixCnc::AlephMatrixFill ( int nrows,
int * rows,
int * cols,
double * values )
inlinevirtual

Implements Arcane::IAlephMatrix.

Definition at line 156 of file IAlephCuda.h.

◆ AlephMatrixSetFilled()

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

Implements Arcane::IAlephMatrix.

Definition at line 139 of file IAlephCuda.h.

◆ AlephMatrixSolve()

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

Implements Arcane::IAlephMatrix.

Definition at line 178 of file IAlephCuda.h.

◆ LinftyNormVectorProductAndSub()

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

Definition at line 170 of file IAlephCuda.h.

◆ writeToFile()

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

Implements Arcane::IAlephMatrix.

Definition at line 220 of file IAlephCuda.h.

Member Data Documentation

◆ has_been_allocated_on_gpu

bool Arcane::AlephMatrixCnc::has_been_allocated_on_gpu

Definition at line 230 of file IAlephCuda.h.

◆ m_cnc_matrix

CNC_Matrix Arcane::AlephMatrixCnc::m_cnc_matrix

Definition at line 227 of file IAlephCuda.h.

◆ m_cuda

Cuda Arcane::AlephMatrixCnc::m_cuda

Definition at line 228 of file IAlephCuda.h.

◆ m_smcrs

CNC_MatrixCRS<double> Arcane::AlephMatrixCnc::m_smcrs

Definition at line 229 of file IAlephCuda.h.


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