libMesh::Parallel::StandardType< TypeTensor< T > > Class Template Reference

#include <parallel_algebra.h>

Inheritance diagram for libMesh::Parallel::StandardType< TypeTensor< T > >:

List of all members.

Public Member Functions

 StandardType (const TypeTensor< T > *example=NULL)
 ~StandardType ()
 operator const data_type & () const
 operator data_type & ()
void commit ()
void free ()

Protected Attributes

data_type _datatype

Detailed Description

template<typename T>
class libMesh::Parallel::StandardType< TypeTensor< T > >

Definition at line 241 of file parallel_algebra.h.


Constructor & Destructor Documentation

template<typename T >
libMesh::Parallel::StandardType< TypeTensor< T > >::StandardType ( const TypeTensor< T > *  example = NULL  )  [inline, explicit]

Definition at line 245 of file parallel_algebra.h.

00245                                                     :
00246       DataType(StandardType<T>(example ?  &((*example)(0,0)) : NULL), LIBMESH_DIM*LIBMESH_DIM) {}

template<typename T >
libMesh::Parallel::StandardType< TypeTensor< T > >::~StandardType (  )  [inline]

Definition at line 248 of file parallel_algebra.h.

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

00248 { this->free(); }


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]
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


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:
SourceForge.net Logo