$extrastylesheet
#include <parallel.h>

Public Member Functions | |
| operator const data_type & () const | |
| operator data_type & () | |
| void | commit () |
| void | free () |
Protected Attributes | |
| data_type | _datatype |
Private Member Functions | |
| static_assert (dependent_false< T >::value,"Only specializations of StandardType may be used, did you forget to include a header file (e.g. parallel_algebra.h)?") | |
| StandardType (const T *example=NULL) | |
Templated class to provide the appropriate MPI datatype for use with built-in C types or simple C++ constructions.
More complicated data types may need to provide a pointer-to-T so that we can use MPI_Address without constructing a new T.
Definition at line 324 of file parallel.h.
| libMesh::Parallel::StandardType< T >::StandardType | ( | const T * | example = NULL | ) | [private] |
| void libMesh::Parallel::DataType::commit | ( | ) | [inline, inherited] |
Definition at line 278 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
Referenced by libMesh::Parallel::DataType::DataType().
{
#ifdef LIBMESH_HAVE_MPI
MPI_Type_commit (&_datatype);
#endif
}
| void libMesh::Parallel::DataType::free | ( | ) | [inline, inherited] |
Definition at line 285 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
Referenced by libMesh::Parallel::StandardType< std::pair< T1, T2 > >::~StandardType(), libMesh::Parallel::StandardType< std::complex< T > >::~StandardType(), libMesh::Parallel::StandardType< TypeTensor< T > >::~StandardType(), and libMesh::Parallel::StandardType< TensorValue< T > >::~StandardType().
{
#ifdef LIBMESH_HAVE_MPI
MPI_Type_free (&_datatype);
#endif
}
| libMesh::Parallel::DataType::operator const data_type & | ( | ) | const [inline, inherited] |
Definition at line 266 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
{ return _datatype; }
| libMesh::Parallel::DataType::operator data_type & | ( | ) | [inline, inherited] |
Definition at line 269 of file parallel.h.
References libMesh::Parallel::DataType::_datatype.
{ return _datatype; }
| libMesh::Parallel::StandardType< T >::static_assert | ( | dependent_false< T >::value | , |
| "Only specializations of StandardType< T > may be | used, | ||
| did you forget to include a header file(e.g.parallel_algebra.h)?" | |||
| ) | [private] |
data_type libMesh::Parallel::DataType::_datatype [protected, inherited] |
Definition at line 294 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< Hilbert::HilbertIndices >::StandardType(), libMesh::Parallel::StandardType< TypeVector< T > >::StandardType(), libMesh::Parallel::StandardType< std::pair< T1, T2 > >::StandardType(), libMesh::Parallel::StandardType< VectorValue< T > >::StandardType(), and libMesh::Parallel::StandardType< Point >::StandardType().