#include <source/multiblock/MBUtilities.h>
Public Member Functions | |
MBUtilities () | |
virtual | ~MBUtilities () |
Static Public Member Functions | |
static void | translateAndCopyData (hier::PatchData< DIM > &dst, const hier::PatchData< DIM > &src, const hier::IntVector< DIM > &shift, const typename MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
Copy patch data from src to dst using the shift and rotate arguments. | |
static void | rotateIndex (int *index, const typename MultiblockPatchHierarchy< DIM >::RotationIdentifier rotation) |
rotate an index from one index space to another |
|
Empty constructor and destructor. |
|
|
|
Copy patch data from src to dst using the shift and rotate arguments.
|
|
rotate an index from one index space to another The parameter index is an int pointer with points to an array of int data, length DIM. It signifies an ijk location in an index space. According to the rotation number, the location will be rotated around the origin, with the new values overwriting the original values in the array pointed to by index.
|