packages/SPn/solvers/Decomposition.hh
//---------------------------------------------------------------------------//
// INLINE FUNCTIONS
//---------------------------------------------------------------------------//
/*!
 * \brief Get a global index for a given local index.
 */
INLINE FUNCTIONS
\brief Get a global index for a given local index.
INLINE FUNCTIONS \ brief Get a global index for a given local index .
int Decomposition::global(int local) const
{
    REQUIRE(local >= 0);
    REQUIRE(local < d_map->NumMyElements());
    return d_map->MyGlobalElements()[local];
}
int Decomposition :: global ( int local ) const { REQUIRE ( local >= 0 ) ; REQUIRE ( local < d_map -> NumMyElements ( ) ) ; return d_map -> MyGlobalElements ( ) [ local ] ; }
INLINE FUNCTIONS
 \brief Get a global index for a given local index.
INLINE FUNCTIONS \ brief Get a global index for a given local index .