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

Public Member Functions

 AlephVectorPETSc (ITraceMng *, AlephKernel *, Integer)
void AlephVectorCreate (void) override
void AlephVectorSet (const double *, const AlephInt *, Integer) override
int AlephVectorAssemble (void) override
void AlephVectorGet (double *, const AlephInt *, Integer) override
void writeToFile (const String) override
Real LinftyNorm (void)
Public Member Functions inherited from Arcane::IAlephVector
 IAlephVector (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

Vec m_petsc_vector = nullptr
PetscInt jSize = 0
PetscInt jUpper = 0
PetscInt jLower = -1

Additional Inherited Members

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

Detailed Description

Definition at line 104 of file AlephPETSc.cc.

Constructor & Destructor Documentation

◆ AlephVectorPETSc()

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

Definition at line 286 of file AlephPETSc.cc.

◆ ~AlephVectorPETSc()

Arcane::AlephVectorPETSc::~AlephVectorPETSc ( )

Definition at line 300 of file AlephPETSc.cc.

Member Function Documentation

◆ AlephVectorAssemble()

int Arcane::AlephVectorPETSc::AlephVectorAssemble ( void )
overridevirtual

Implements Arcane::IAlephVector.

Definition at line 348 of file AlephPETSc.cc.

◆ AlephVectorCreate()

void Arcane::AlephVectorPETSc::AlephVectorCreate ( void )
overridevirtual

Implements Arcane::IAlephVector.

Definition at line 312 of file AlephPETSc.cc.

◆ AlephVectorGet()

void Arcane::AlephVectorPETSc::AlephVectorGet ( double * bfr_val,
const AlephInt * bfr_idx,
Integer size )
overridevirtual

Implements Arcane::IAlephVector.

Definition at line 360 of file AlephPETSc.cc.

◆ AlephVectorSet()

void Arcane::AlephVectorPETSc::AlephVectorSet ( const double * bfr_val,
const AlephInt * bfr_idx,
Integer size )
overridevirtual

Implements Arcane::IAlephVector.

Definition at line 336 of file AlephPETSc.cc.

◆ LinftyNorm()

Real Arcane::AlephVectorPETSc::LinftyNorm ( void )

Definition at line 380 of file AlephPETSc.cc.

◆ writeToFile()

void Arcane::AlephVectorPETSc::writeToFile ( const String filename)
overridevirtual

Implements Arcane::IAlephVector.

Definition at line 370 of file AlephPETSc.cc.

Member Data Documentation

◆ jLower

PetscInt Arcane::AlephVectorPETSc::jLower = -1

Definition at line 123 of file AlephPETSc.cc.

◆ jSize

PetscInt Arcane::AlephVectorPETSc::jSize = 0

Definition at line 121 of file AlephPETSc.cc.

◆ jUpper

PetscInt Arcane::AlephVectorPETSc::jUpper = 0

Definition at line 122 of file AlephPETSc.cc.

◆ m_petsc_vector

Vec Arcane::AlephVectorPETSc::m_petsc_vector = nullptr

Definition at line 120 of file AlephPETSc.cc.


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