libMesh::Parallel::StandardType< Hilbert::HilbertIndices > Class Template Reference

#include <parallel_hilbert.h>

Inheritance diagram for libMesh::Parallel::StandardType< Hilbert::HilbertIndices >:

Public Member Functions

 StandardType (const Hilbert::HilbertIndices *=nullptr)
 
 StandardType (const StandardType< Hilbert::HilbertIndices > &t)
 
 ~StandardType ()
 
 operator const data_type & () const
 
 operator data_type & ()
 
void commit ()
 
void free ()
 

Protected Attributes

data_type _datatype
 

Detailed Description

template<>
class libMesh::Parallel::StandardType< Hilbert::HilbertIndices >

Definition at line 49 of file parallel_hilbert.h.

Constructor & Destructor Documentation

◆ StandardType() [1/2]

libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::StandardType ( const Hilbert::HilbertIndices *  = nullptr)
inlineexplicit

Definition at line 53 of file parallel_hilbert.h.

References libMesh::Parallel::DataType::_datatype, and libMesh::Parallel::DataType::DataType().

53  {
54  _datatype = DataType(Parallel::StandardType<Hilbert::inttype>(), 3);
55  }

◆ StandardType() [2/2]

libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::StandardType ( const StandardType< Hilbert::HilbertIndices > &  t)
inline

Definition at line 57 of file parallel_hilbert.h.

References libMesh::Parallel::DataType::_datatype.

58  : DataType()
59  {
60  libmesh_call_mpi (MPI_Type_dup (t._datatype, &_datatype));
61  }

◆ ~StandardType()

libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::~StandardType ( )
inline

Definition at line 63 of file parallel_hilbert.h.

References libMesh::Parallel::DataType::free().

63 { this->free(); }

Member Function Documentation

◆ commit()

void libMesh::Parallel::DataType::commit ( )
inlineinherited

◆ free()

◆ operator const data_type &()

libMesh::Parallel::DataType::operator const data_type & ( ) const
inlineinherited

Definition at line 91 of file data_type.h.

References libMesh::Parallel::DataType::_datatype.

92  { return _datatype; }

◆ operator data_type &()

libMesh::Parallel::DataType::operator data_type & ( )
inlineinherited

Definition at line 94 of file data_type.h.

References libMesh::Parallel::DataType::_datatype.

95  { return _datatype; }

Member Data Documentation

◆ _datatype


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