libMesh::Parallel::StandardType< Hilbert::HilbertIndices > Class Template Reference
#include <parallel_hilbert.h>

Public Member Functions | |
| StandardType (const Hilbert::HilbertIndices *=NULL) | |
| 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 44 of file parallel_hilbert.h.
Constructor & Destructor Documentation
| libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::StandardType | ( | const Hilbert::HilbertIndices * | = NULL |
) | [inline, explicit] |
Definition at line 48 of file parallel_hilbert.h.
References libMesh::Parallel::DataType::_datatype, libMesh::libMeshPrivateData::_is_initialized, and libMesh::Parallel::DataType::DataType().
00048 { 00049 // _static_type never gets freed, but it only gets committed once 00050 // so it's not a *huge* memory leak... 00051 static DataType _static_type; 00052 static bool _is_initialized = false; 00053 if (!_is_initialized) 00054 { 00055 _static_type = DataType(Parallel::StandardType<Hilbert::inttype>(), 3); 00056 _is_initialized = true; 00057 } 00058 _datatype = _static_type; 00059 }
Member Function Documentation
| void libMesh::Parallel::DataType::commit | ( | ) | [inline, inherited] |
Definition at line 255 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
Referenced by libMesh::Parallel::DataType::DataType().
00256 { 00257 #ifdef LIBMESH_HAVE_MPI 00258 MPI_Type_commit (&_datatype); 00259 #endif 00260 }
| void libMesh::Parallel::DataType::free | ( | ) | [inline, inherited] |
Definition at line 262 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
Referenced by libMesh::Parallel::StandardType< std::complex< T > >::~StandardType(), libMesh::Parallel::StandardType< std::pair< T1, T2 > >::~StandardType(), libMesh::Parallel::StandardType< TensorValue< T > >::~StandardType(), and libMesh::Parallel::StandardType< TypeTensor< T > >::~StandardType().
00263 { 00264 #ifdef LIBMESH_HAVE_MPI 00265 MPI_Type_free (&_datatype); 00266 #endif 00267 }
| libMesh::Parallel::DataType::operator const data_type & | ( | ) | const [inline, inherited] |
Definition at line 243 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
00244 { return _datatype; }
| libMesh::Parallel::DataType::operator data_type & | ( | ) | [inline, inherited] |
Definition at line 246 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
00247 { return _datatype; }
Member Data Documentation
data_type libMesh::Parallel::DataType::_datatype [protected, inherited] |
Definition at line 271 of file parallel.h.
Referenced by libMesh::Parallel::DataType::commit(), libMesh::Parallel::DataType::DataType(), libMesh::Parallel::DataType::free(), libMesh::Parallel::DataType::operator const data_type &(), libMesh::Parallel::DataType::operator data_type &(), libMesh::Parallel::DataType::operator=(), libMesh::Parallel::StandardType< std::pair< T1, T2 > >::StandardType(), StandardType(), libMesh::Parallel::StandardType< Point >::StandardType(), libMesh::Parallel::StandardType< VectorValue< T > >::StandardType(), and libMesh::Parallel::StandardType< TypeVector< T > >::StandardType().
The documentation for this class was generated from the following file:
Site Created By: libMesh Developers
Last modified: February 05 2013 19:55:45 UTC
Hosted By: