11 #ifndef _MULTIINDEXIMPLEM_H_ 12 #define _MULTIINDEXIMPLEM_H_ 14 #include "NamespaceHeader.H" 19 const int & a_magnitude)
25 for (
int idir = 0; idir <
dim; ++ idir)
32 for (
int j = 1; j < dim-1; ++j)
35 for (
int k = j+1; k <
dim; ++k)
51 if (monomial[dim-1] > a_magnitude)
56 monomial[0] = a_magnitude;
58 for (
int j = 1; j <
dim; ++j)
60 monomial[0] -= monomial[j];
63 a_indices.push_back(monomial);
70 #include "NamespaceFooter.H" one dimensional dynamic array
Definition: Vector.H:52
void generateMultiIndices(Vector< IndexTM< int, dim > > &a_indices, const int &a_magnitude)
Definition: MultiIndexImplem.H:18
int dim
Definition: EBInterface.H:146