packages/SPn/spn/SDM_Face_Field.i.hh
//---------------------------------------------------------------------------//
// INLINE FUNCTIONS
//---------------------------------------------------------------------------//
/*!
 * \brief Get a view of the matrix from the field.
 *
 * This returns a view of a SerialDenseMatrix from the specified location.
 */
INLINE FUNCTIONS
\brief Get a view of the matrix from the field.

This returns a view of a SerialDenseMatrix from the specified location.
INLINE FUNCTIONS \ brief Get a view of the matrix from the field . This returns a view of a SerialDenseMatrix from the specified location .
SDM_Face_Field::Serial_Matrix SDM_Face_Field::view(int abscissa,
                                                   int ordinate)
{
    Serial_Matrix m(
        Teuchos::View, convert(abscissa, ordinate), d_M, d_M, d_M);
    ENSURE(m.numRows() == d_M);
    ENSURE(m.numCols() == d_M);
    return m;
}
SDM_Face_Field :: Serial_Matrix SDM_Face_Field :: view ( int abscissa , int ordinate ) { Serial_Matrix m ( Teuchos :: View , convert ( abscissa , ordinate ) , d_M , d_M , d_M ) ; ENSURE ( m . numRows ( ) == d_M ) ; ENSURE ( m . numCols ( ) == d_M ) ; return m ; }
INLINE FUNCTIONS
 \brief Get a view of the matrix from the field.
INLINE FUNCTIONS \ brief Get a view of the matrix from the field .