11 #ifndef _FOURTHORDERMAPPEDFINEINTERPSUP_H_ 12 #define _FOURTHORDERMAPPEDFINEINTERPSUP_H_ 25 #include "NamespaceHeader.H" 105 for (
int iDir = 0; iDir !=
SpaceDim; ++iDir)
108 idx +=
binomial(remdir + a_m, remdir);
110 idx -=
binomial(remdir + a_m, remdir);
158 void expand(
const int *
const a_ctm);
164 int indexAt(
const int a_i)
const;
167 int signAt(
const int a_i)
const;
170 const int*
xctm()
const;
179 return ( a_i < 0 ) ? -1 : 1;
254 m_xctm[2*i] = std::abs(a_ctm[i]) - 1;
325 const int j = origxctm[2*i];
327 m_xctm[2*j+1] = origxctm[2*i+1];
331 #include "NamespaceFooter.H"
#define CH_assert(cond)
Definition: CHArray.H:37
int binomial(const int n, int k)
Calculate a binomial coefficient.
Definition: FourthOrderMappedFineInterpSup.H:42
const int SpaceDim
Definition: SPACE.H:38
int powerIndex(int a_m, IntVect a_p)
Find the sequential index of a power.
Definition: FourthOrderMappedFineInterpSup.H:102
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42