ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::solvers::PETSC_handler< NumericT, VectorType > Class Template Reference

#include <petsc.hpp>

Public Member Functions

 PETSC_handler (PETSC_handler const &)=delete
 
MPI_Comm getComm () const
 
void setComm (MPI_Comm comm)
 
PetscMPIInt getRank () const
 
PetscMPIInt getRankW () const
 
MPI_Comm getSelf () const
 
PetscMPIInt getSize () const
 
PetscMPIInt getSizeW () const
 

Static Public Member Functions

static PETSC_handlerget_handler ()
 
static PETSC_handlerget_handler (int argc, char **argv)
 

Detailed Description

template<typename NumericT, typename VectorType>
class viennashe::solvers::PETSC_handler< NumericT, VectorType >

Definition at line 42 of file petsc.hpp.

Constructor & Destructor Documentation

◆ PETSC_handler()

template<typename NumericT , typename VectorType >
viennashe::solvers::PETSC_handler< NumericT, VectorType >::PETSC_handler ( PETSC_handler< NumericT, VectorType > const &  )
delete

Member Function Documentation

◆ get_handler() [1/2]

template<typename NumericT , typename VectorType >
static PETSC_handler & viennashe::solvers::PETSC_handler< NumericT, VectorType >::get_handler ( )
inlinestatic

Definition at line 64 of file petsc.hpp.

◆ get_handler() [2/2]

template<typename NumericT , typename VectorType >
static PETSC_handler & viennashe::solvers::PETSC_handler< NumericT, VectorType >::get_handler ( int  argc,
char **  argv 
)
inlinestatic

Definition at line 72 of file petsc.hpp.

◆ getComm()

template<typename NumericT , typename VectorType >
MPI_Comm viennashe::solvers::PETSC_handler< NumericT, VectorType >::getComm ( ) const
inline

Definition at line 81 of file petsc.hpp.

◆ getRank()

template<typename NumericT , typename VectorType >
PetscMPIInt viennashe::solvers::PETSC_handler< NumericT, VectorType >::getRank ( ) const
inline

Definition at line 93 of file petsc.hpp.

◆ getRankW()

template<typename NumericT , typename VectorType >
PetscMPIInt viennashe::solvers::PETSC_handler< NumericT, VectorType >::getRankW ( ) const
inline

Definition at line 99 of file petsc.hpp.

◆ getSelf()

template<typename NumericT , typename VectorType >
MPI_Comm viennashe::solvers::PETSC_handler< NumericT, VectorType >::getSelf ( ) const
inline

Definition at line 105 of file petsc.hpp.

◆ getSize()

template<typename NumericT , typename VectorType >
PetscMPIInt viennashe::solvers::PETSC_handler< NumericT, VectorType >::getSize ( ) const
inline

Definition at line 111 of file petsc.hpp.

◆ getSizeW()

template<typename NumericT , typename VectorType >
PetscMPIInt viennashe::solvers::PETSC_handler< NumericT, VectorType >::getSizeW ( ) const
inline

Definition at line 117 of file petsc.hpp.

◆ setComm()

template<typename NumericT , typename VectorType >
void viennashe::solvers::PETSC_handler< NumericT, VectorType >::setComm ( MPI_Comm  comm)
inline

Definition at line 87 of file petsc.hpp.


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