libMesh::Parallel::DataType Class Reference
#include <parallel.h>

Public Member Functions | |
| DataType () | |
| DataType (const DataType &other) | |
| DataType (const data_type &type) | |
| DataType (const DataType &other, unsigned int count) | |
| DataType (const DataType &, unsigned int) | |
| DataType & | operator= (const DataType &other) |
| DataType & | operator= (const data_type &type) |
| operator const data_type & () const | |
| operator data_type & () | |
| void | commit () |
| void | free () |
Protected Attributes | |
| data_type | _datatype |
Detailed Description
Encapsulates the MPI_Datatype.
Definition at line 212 of file parallel.h.
Constructor & Destructor Documentation
| libMesh::Parallel::DataType::DataType | ( | ) | [inline] |
Definition at line 215 of file parallel.h.
Referenced by libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::StandardType().
00215 : _datatype() {}
| libMesh::Parallel::DataType::DataType | ( | const DataType & | other | ) | [inline] |
Definition at line 217 of file parallel.h.
00217 : 00218 _datatype(other._datatype) 00219 {}
| libMesh::Parallel::DataType::DataType | ( | const data_type & | type | ) | [inline] |
Definition at line 221 of file parallel.h.
00221 : 00222 _datatype(type) 00223 {}
| libMesh::Parallel::DataType::DataType | ( | const DataType & | other, | |
| unsigned int | count | |||
| ) | [inline] |
| libMesh::Parallel::DataType::DataType | ( | const DataType & | , | |
| unsigned | int | |||
| ) | [inline] |
Definition at line 232 of file parallel.h.
Member Function Documentation
| void libMesh::Parallel::DataType::commit | ( | ) | [inline] |
Definition at line 255 of file parallel.h.
References _datatype.
Referenced by DataType().
00256 { 00257 #ifdef LIBMESH_HAVE_MPI 00258 MPI_Type_commit (&_datatype); 00259 #endif 00260 }
| void libMesh::Parallel::DataType::free | ( | ) | [inline] |
Definition at line 262 of file parallel.h.
References _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] |
| libMesh::Parallel::DataType::operator data_type & | ( | ) | [inline] |
Definition at line 240 of file parallel.h.
References _datatype.
00241 { _datatype = type; return *this; }
Definition at line 237 of file parallel.h.
References _datatype.
00238 { _datatype = other._datatype; return *this; }
Member Data Documentation
data_type libMesh::Parallel::DataType::_datatype [protected] |
Definition at line 271 of file parallel.h.
Referenced by commit(), DataType(), free(), operator const data_type &(), operator data_type &(), operator=(), libMesh::Parallel::StandardType< std::pair< T1, T2 > >::StandardType(), libMesh::Parallel::StandardType< Hilbert::HilbertIndices >::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:44 UTC
Hosted By: