FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fei_IndexTable.hpp
1 
2 /*--------------------------------------------------------------------*/
3 /* Copyright 2005 Sandia Corporation. */
4 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
5 /* non-exclusive license for use of this work by or on behalf */
6 /* of the U.S. Government. Export of this program may require */
7 /* a license from the United States Government. */
8 /*--------------------------------------------------------------------*/
9 
10 #ifndef _fei_IndexTable_hpp_
11 #define _fei_IndexTable_hpp_
12 
13 #include <fei_macros.hpp>
14 
15 namespace fei {
19  class IndexTable {
20  public:
22  IndexTable() {}
23 
25  virtual ~IndexTable() {}
26 
29  virtual void addDiagonals(int numIndices,
30  const int* indices) = 0;
31 
35  virtual void addIndices(int row,
36  int numIndices,
37  const int* indices) = 0;
38 
41  virtual void addIndices(int numRows,
42  const int* rows,
43  int numIndices,
44  const int* indices) = 0;
45  };//class IndexTable
46 
47 }//namespace fei
48 
49 #endif
virtual void addIndices(int row, int numIndices, const int *indices)=0
virtual ~IndexTable()
virtual void addDiagonals(int numIndices, const int *indices)=0