libMesh
Public Member Functions | Protected Attributes | List of all members
libMesh::Parallel::StandardType< TensorValue< T > > Class Template Reference

#include <parallel_algebra.h>

Inheritance diagram for libMesh::Parallel::StandardType< TensorValue< T > >:
[legend]

Public Member Functions

 StandardType (const TensorValue< T > *example=libmesh_nullptr)
 
 ~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< TensorValue< T > >

Definition at line 435 of file parallel_algebra.h.

Constructor & Destructor Documentation

template<typename T >
libMesh::Parallel::StandardType< TensorValue< T > >::StandardType ( const TensorValue< T > *  example = libmesh_nullptr)
explicit

Definition at line 439 of file parallel_algebra.h.

439  :
440  DataType(StandardType<T>(example ? &((*example)(0,0)) : libmesh_nullptr), LIBMESH_DIM*LIBMESH_DIM) {}
const class libmesh_nullptr_t libmesh_nullptr
template<typename T >
libMesh::Parallel::StandardType< TensorValue< T > >::~StandardType ( )

Definition at line 442 of file parallel_algebra.h.

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

442 { this->free(); }

Member Function Documentation

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

Definition at line 334 of file parallel.h.

335  {
336 #ifdef LIBMESH_HAVE_MPI
337  MPI_Type_commit (&_datatype);
338 #endif
339  }
void libMesh::Parallel::DataType::free ( )
inherited

Definition at line 341 of file parallel.h.

Referenced by libMesh::Parallel::StandardType< std::complex< T > >::~StandardType(), libMesh::Parallel::StandardType< TypeTensor< T > >::~StandardType(), and ~StandardType().

342  {
343 #ifdef LIBMESH_HAVE_MPI
344  MPI_Type_free (&_datatype);
345 #endif
346  }
libMesh::Parallel::DataType::operator const data_type & ( ) const
inherited

Definition at line 322 of file parallel.h.

323  { return _datatype; }
libMesh::Parallel::DataType::operator data_type & ( )
inherited

Definition at line 325 of file parallel.h.

326  { return _datatype; }

Member Data Documentation

data_type libMesh::Parallel::DataType::_datatype
protectedinherited

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