MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / get_shift

Function get_shift

ibtk/src/math/PETScMatUtilities.cpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99} // is_cf_bdry_idx
100
101inline hier::Index<NDIM>
102get_shift(int dir, int shift)
103{
104 SAMRAI::hier::Index<NDIM> iv(0);
105 iv(dir) = shift;
106 return iv;
107} // get_shift
108
109static const int LOWER = 0;
110static const int UPPER = 1;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected