10#ifndef TPETRA_DETAILS_MERGE_HPP 
   11#define TPETRA_DETAILS_MERGE_HPP 
   13#include "TpetraCore_config.h" 
   14#include "Teuchos_TestForException.hpp" 
   40template <
class OrdinalType, 
class IndexType>
 
   72#ifdef HAVE_TPETRA_DEBUG 
 
   95template <
class OrdinalType, 
class IndexType>
 
  121#ifdef HAVE_TPETRA_DEBUG 
 
  159template <
class OrdinalType, 
class IndexType>
 
  160std::pair<bool, IndexType>
 
  231#ifdef HAVE_TPETRA_DEBUG 
  245      return std::make_pair(
true, 
newPos);
 
 
  271template <
class OrdinalType, 
class IndexType>
 
  272std::pair<bool, IndexType>
 
  332      return std::make_pair(
true, 
newPos);
 
 
  361template <
class OrdinalType, 
class ValueType, 
class IndexType>
 
  362std::pair<bool, IndexType>
 
  427      return std::make_pair(
true, 
newPos);
 
 
Struct that holds views of the contents of a CrsMatrix.
 
Implementation details of Tpetra.
 
std::pair< bool, IndexType > mergeSortedIndices(OrdinalType curInds[], const IndexType midPos, const IndexType endPos, const OrdinalType inputInds[], const IndexType numInputInds)
Attempt to merge the input indices into the current row's column indices, assuming that both the curr...
 
IndexType countMergeSortedIndices(const OrdinalType curInds[], const IndexType numCurInds, const OrdinalType inputInds[], const IndexType numInputInds)
Count the number of column indices that can be merged into the current row, assuming that both the cu...
 
std::pair< bool, IndexType > mergeUnsortedIndices(OrdinalType curInds[], const IndexType midPos, const IndexType endPos, const OrdinalType inputInds[], const IndexType numInputInds)
Attempt to merge the input indices into the current row's column indices, assuming that both the curr...
 
IndexType countMergeUnsortedIndices(const OrdinalType curInds[], const IndexType numCurInds, const OrdinalType inputInds[], const IndexType numInputInds)
Count the number of column indices that can be merged into the current row, assuming that both the cu...
 
std::pair< bool, IndexType > mergeUnsortedIndicesAndValues(OrdinalType curInds[], ValueType curVals[], const IndexType midPos, const IndexType endPos, const OrdinalType inputInds[], const ValueType inputVals[], const IndexType numInputInds)
Attempt to merge the input indices and values into the current row's column indices and corresponding...
 
Namespace Tpetra contains the class and methods constituting the Tpetra library.