Epetra_BlockMapData.h

Go to the documentation of this file.
00001 
00002 //@HEADER
00003 /*
00004 ************************************************************************
00005 
00006               Epetra: Linear Algebra Services Package 
00007                 Copyright (2001) Sandia Corporation
00008 
00009 Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00010 license for use of this work by or on behalf of the U.S. Government.
00011 
00012 This library is free software; you can redistribute it and/or modify
00013 it under the terms of the GNU Lesser General Public License as
00014 published by the Free Software Foundation; either version 2.1 of the
00015 License, or (at your option) any later version.
00016  
00017 This library is distributed in the hope that it will be useful, but
00018 WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020 Lesser General Public License for more details.
00021  
00022 You should have received a copy of the GNU Lesser General Public
00023 License along with this library; if not, write to the Free Software
00024 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00025 USA
00026 Questions? Contact Michael A. Heroux (maherou@sandia.gov) 
00027 
00028 ************************************************************************
00029 */
00030 //@HEADER
00031 
00032 #ifndef EPETRA_BLOCKMAPDATA_H
00033 #define EPETRA_BLOCKMAPDATA_H
00034 
00035 #include "Epetra_Data.h"
00036 #include "Epetra_IntSerialDenseVector.h"
00037 
00038 class Epetra_Comm;
00039 class Epetra_Directory;
00040 class Epetra_HashTable;
00041 
00043 
00048 class Epetra_BlockMapData : public Epetra_Data {
00049   friend class Epetra_BlockMap;
00050 
00051  private:
00052 
00054 
00055 
00057   Epetra_BlockMapData(int NumGlobalElements, int ElementSize, int IndexBase, const Epetra_Comm & Comm);
00058 
00060   ~Epetra_BlockMapData();
00061 
00063 
00064   const Epetra_Comm * Comm_;
00065 
00066   Epetra_Directory* Directory_;
00067 
00068   Epetra_IntSerialDenseVector LID_;
00069   Epetra_IntSerialDenseVector MyGlobalElements_;
00070   Epetra_IntSerialDenseVector FirstPointInElementList_;
00071   Epetra_IntSerialDenseVector ElementSizeList_;
00072   Epetra_IntSerialDenseVector PointToElementList_;
00073   
00074   int NumGlobalElements_;
00075   int NumMyElements_;
00076   int IndexBase_;
00077   int ElementSize_;
00078   int MinMyElementSize_;
00079   int MaxMyElementSize_;
00080   int MinElementSize_;
00081   int MaxElementSize_;
00082   int MinAllGID_;
00083   int MaxAllGID_;
00084   int MinMyGID_;
00085   int MaxMyGID_;
00086   int MinLID_;
00087   int MaxLID_;
00088   int NumGlobalPoints_;
00089   int NumMyPoints_;
00090   
00091   bool ConstantElementSize_;
00092   bool LinearMap_;
00093   bool DistributedGlobal_;
00094   bool OneToOne_;
00095 
00096   int LastContiguousGID_;
00097   int LastContiguousGIDLoc_;
00098   Epetra_HashTable * LIDHash_;
00099 
00100   // these are intentionally declared but not defined. See Epetra Developer's Guide for details.
00101   Epetra_BlockMapData(const Epetra_BlockMapData & BlockMapData);
00102   Epetra_BlockMapData& operator=(const Epetra_BlockMapData & BlockMapData);
00103 
00104 };
00105 #endif /* EPETRA_BLOCKMAPDATA_H */

Generated on Wed May 12 21:41:04 2010 for Epetra Package Browser (Single Doxygen Collection) by  doxygen 1.4.7