/usr/include/trilinos/fei_Aztec_BlockMap.hpp is in libtrilinos-dev 10.4.0.dfsg-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | #ifndef _fei_Aztec_BlockMap_h_
#define _fei_Aztec_BlockMap_h_
/*--------------------------------------------------------------------*/
/* Copyright 2005 Sandia Corporation. */
/* Under the terms of Contract DE-AC04-94AL85000, there is a */
/* non-exclusive license for use of this work by or on behalf */
/* of the U.S. Government. Export of this program may require */
/* a license from the United States Government. */
/*--------------------------------------------------------------------*/
//
// This Aztec_BlockMap class is a wrapper that encapsulates the general
// information needed to describe the layout of an Aztec DVBR matrix.
// It is a companion/support class that goes with the data class wrappers
// Aztec_LSVector and AztecDVBR_Matrix. Aztec_BlockMap inherits from
// Aztec_Map.
//
// Aztec_Map allows the storage and retrieval of information such as
// local and global sizes, the MPI communicator, and the proc_config array.
// Aztec_BlockMap describes the partitioning and layout of a block matrix.
//
namespace fei_trilinos {
class Aztec_BlockMap : public Aztec_Map {
public:
Aztec_BlockMap(int globalSize, int N_update, const int* update, int localOffset,
MPI_Comm comm,
int numGlobalBlocks, int numLocalBlocks, const int* blkUpdate,
int localBlockOffset, int* blockSizes);
Aztec_BlockMap(const Aztec_BlockMap& map); // copy constructor
virtual ~Aztec_BlockMap(void);
const int& getNumGlobalBlocks() const {return(numGlobalBlocks_);}
const int& getNumLocalBlocks() const {return(numLocalBlocks_);}
const int& getLocalBlockOffset() const {return(localBlockOffset_);}
const int* getBlockSizes() const {return(blockSizes_);}
int* getBlockUpdate() {return(blockUpdate_);}
private:
void checkInput();
int numGlobalBlocks_;
int numLocalBlocks_;
int localBlockOffset_;
int* blockSizes_;
int* blockUpdate_;
};
}// namespace fei_trilinos
#endif
|