42#ifndef TEUCHOS_REDUCTION_OP_HPP
43#define TEUCHOS_REDUCTION_OP_HPP
45#include "Teuchos_Describable.hpp"
59template<
typename Ordinal,
typename T>
79template<
typename Ordinal,
typename T>
Base class for all objects that can describe themselves.
Smart reference counting pointer class for automatic garbage collection.
Base interface class for user-defined reduction operations for objects that use reference semantics.
virtual void reduce(const Ordinal count, const T *const inBuffer[], T *const inoutBuffer[]) const =0
Base interface class for user-defined reduction operations for objects that use value semantics.
virtual void reduce(const Ordinal count, const T inBuffer[], T inoutBuffer[]) const =0
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...