Class MBDataUtilities<DIM,TYPE> is a templated utilitiy class that contains a set of static member functions that can be used to copy patch data between index spaces that are not necessarily aligned on the same axes.
More...
#include <MBDataUtilities.h>
|
| static void | translateAndCopyCellData (pdat::CellData< DIM, TYPE > &dst, const pdat::CellData< DIM, TYPE > &src, const hier::IntVector< DIM > &shift, const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
| | Translate and copy cell data from src to dst according the shift and rotation. More...
|
| |
| static void | translateAndCopyNodeData (pdat::NodeData< DIM, TYPE > &dst, const pdat::NodeData< DIM, TYPE > &src, const hier::IntVector< DIM > &shift, const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
| | Translate and copy node data from src to dst according the shift and rotation. More...
|
| |
| static void | translateAndCopyFaceData (pdat::FaceData< DIM, TYPE > &dst, const pdat::FaceData< DIM, TYPE > &src, const hier::IntVector< DIM > &shift, const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
| | Translate and copy face data from src to dst according the shift and rotation. More...
|
| |
| static void | translateAndCopySideData (pdat::SideData< DIM, TYPE > &dst, const pdat::SideData< DIM, TYPE > &src, const hier::IntVector< DIM > &shift, const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
| | Translate and copy side data from src to dst according the shift and rotation. More...
|
| |
| static void | translateAndCopyEdgeData (pdat::EdgeData< DIM, TYPE > &dst, const pdat::EdgeData< DIM, TYPE > &src, const hier::IntVector< DIM > &shift, const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
| | Translate and copy edge data from src to dst according the shift and rotation. More...
|
| |
| static void | translateAndCopyArrayData (pdat::ArrayData< DIM, TYPE > &dst, const pdat::ArrayData< DIM, TYPE > &src, const hier::IntVector< DIM > &shift, const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier rotate) |
| | Translate and copy array data from src to dst according the shift and rotation. More...
|
| |
template<int DIM, class TYPE>
class SAMRAI::pdat::MBDataUtilities< DIM, TYPE >
This class currently contains functions to copy cell, edge, node, face, and side-centered data, as well as array data.
- See also
- hier::PatchData
-
hier::MultiblockPatchHierarchy
-
hier::MBUtilities
◆ MBDataUtilities()
template<int DIM, class TYPE >
Empty constructor and destructor.
◆ ~MBDataUtilities()
template<int DIM, class TYPE >
◆ translateAndCopyCellData()
template<int DIM, class TYPE >
- Parameters
-
| dst | destination data |
| src | source data |
| shift | shift needed after rotation |
| rotate | identifier of the rotation between two index spaces |
◆ translateAndCopyNodeData()
template<int DIM, class TYPE >
- Parameters
-
| dst | destination data |
| src | source data |
| shift | shift needed after rotation |
| rotate | identifier of the rotation between two index spaces |
◆ translateAndCopyFaceData()
template<int DIM, class TYPE >
- Parameters
-
| dst | destination data |
| src | source data |
| shift | shift needed after rotation |
| rotate | identifier of the rotation between two index spaces |
◆ translateAndCopySideData()
template<int DIM, class TYPE >
- Parameters
-
| dst | destination data |
| src | source data |
| shift | shift needed after rotation |
| rotate | identifier of the rotation between two index spaces |
◆ translateAndCopyEdgeData()
template<int DIM, class TYPE >
- Parameters
-
| dst | destination data |
| src | source data |
| shift | shift needed after rotation |
| rotate | identifier of the rotation between two index spaces |
◆ translateAndCopyArrayData()
template<int DIM, class TYPE >
- Parameters
-
| dst | destination data |
| src | source data |
| shift | shift needed after rotation |
| rotate | identifier of the rotation between two index spaces |
The documentation for this class was generated from the following file: