Anasazi Version of the Day
Public Member Functions
TSQR::MessengerBase< Datum > Class Template Reference

#include <Tsqr_MessengerBase.hpp>

Inheritance diagram for TSQR::MessengerBase< Datum >:
TSQR::Trilinos::TeuchosMessenger< Datum > TSQR::Trilinos::TpetraMessenger< Datum >

List of all members.

Public Member Functions

virtual Datum globalMin (const Datum &inDatum)=0
virtual Datum globalMax (const Datum &inDatum)=0

Detailed Description

template<class Datum>
class TSQR::MessengerBase< Datum >

Interface for an object that performs collective communication. Each message contains some number of objects of scalar type Datum. Datum must have a default constructor and a copy constructor, and taking its address must make sense (in terms of extracting the useful data).

Definition at line 44 of file Tsqr_MessengerBase.hpp.


Member Function Documentation

template<class Datum>
virtual Datum TSQR::MessengerBase< Datum >::globalMin ( const Datum &  inDatum) [pure virtual]

Assumes that Datum objects are less-than comparable by the underlying communication protocol.

Implemented in TSQR::Trilinos::TeuchosMessenger< Datum >, and TSQR::Trilinos::TpetraMessenger< Datum >.

template<class Datum>
virtual Datum TSQR::MessengerBase< Datum >::globalMax ( const Datum &  inDatum) [pure virtual]

Assumes that Datum objects are less-than comparable by the underlying communication protocol.

Implemented in TSQR::Trilinos::TeuchosMessenger< Datum >, and TSQR::Trilinos::TpetraMessenger< Datum >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends