26 #include "EpetraExt_MultiMpiComm.h"
30 #include "EpetraExt_MultiSerialComm.h"
34 #include "EpetraExt_RowMatrixOut.h"
46 int colOffset[] = {-1, 0, 1};
47 for(
int myRow=0;myRow<numUnks;myRow++) {
48 int row = map.
GID(myRow);
50 colIndices[i] = colOffset[i]+row;
56 colPtr = colIndices+1;
79 int rank = comm->
MyPID();
81 out <<
"NumProc = " << numProc <<
", Rank = " << rank << std::endl;
89 std::vector<int> order(3);
90 order[0] = 2; order[1] = 3; order[2] = 1;
91 std::vector<Teuchos::RCP<const Stokhos::ProductBasis<int,double> > > sa_BasisPerDRow(3);
96 std::vector<Teuchos::RCP<const Stokhos::ProductBasis<int,double> > > sa_BasisPerDCol;
104 for(std::size_t c=0;c<sa_BasisPerDCol.size();c++) {
110 = cBasis->getCoordinateBases();
112 for(
int i=0;i<cBases.size();i++) {
113 int bOrder = cBases[i]->order();
int NumGlobalElements() const
void buildColBasisFunctions(const Epetra_CrsGraph &determGraph, const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > &masterBasis, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_row_basis, std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_col_basis)
const Epetra_BlockMap & ColMap() const
int InsertGlobalIndices(int_type GlobalRow, int NumIndices, int_type *Indices)
virtual int MyPID() const =0
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< const Stokhos::CompletePolynomialBasis< int, double > > buildBasis(int num_KL, int porder)
virtual int NumProc() const =0
#define TEST_EQUALITY(v1, v2)
#define TEUCHOS_ASSERT(assertion_test)