SAMRAI::pdat::MBDataUtilities< DIM, TYPE > Class Template Reference

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 <source/patchdata/multiblock/MBDataUtilities.h>

List of all members.

Public Member Functions

 MBDataUtilities ()
virtual ~MBDataUtilities ()

Static Public Member Functions

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.
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.
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.
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.
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.
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.


Detailed Description

template<int DIM, class TYPE>
class SAMRAI::pdat::MBDataUtilities< DIM, TYPE >

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.

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


Constructor & Destructor Documentation

template<int DIM, class TYPE>
SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::MBDataUtilities (  ) 

Empty constructor and destructor.

template<int DIM, class TYPE>
SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::~MBDataUtilities (  )  [virtual]


Member Function Documentation

template<int DIM, class TYPE>
void SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::translateAndCopyCellData ( pdat::CellData< DIM, TYPE > &  dst,
const pdat::CellData< DIM, TYPE > &  src,
const hier::IntVector< DIM > &  shift,
const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier  rotate 
) [static]

Translate and copy cell data from src to dst according the shift and rotation.

Parameters:
dst destination data
src source data
shift shift needed after rotation
rotate identifier of the rotation between two index spaces

template<int DIM, class TYPE>
void SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::translateAndCopyNodeData ( pdat::NodeData< DIM, TYPE > &  dst,
const pdat::NodeData< DIM, TYPE > &  src,
const hier::IntVector< DIM > &  shift,
const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier  rotate 
) [static]

Translate and copy node data from src to dst according the shift and rotation.

Parameters:
dst destination data
src source data
shift shift needed after rotation
rotate identifier of the rotation between two index spaces

template<int DIM, class TYPE>
void SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::translateAndCopyFaceData ( pdat::FaceData< DIM, TYPE > &  dst,
const pdat::FaceData< DIM, TYPE > &  src,
const hier::IntVector< DIM > &  shift,
const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier  rotate 
) [static]

Translate and copy face data from src to dst according the shift and rotation.

Parameters:
dst destination data
src source data
shift shift needed after rotation
rotate identifier of the rotation between two index spaces

template<int DIM, class TYPE>
void SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::translateAndCopySideData ( pdat::SideData< DIM, TYPE > &  dst,
const pdat::SideData< DIM, TYPE > &  src,
const hier::IntVector< DIM > &  shift,
const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier  rotate 
) [static]

Translate and copy side data from src to dst according the shift and rotation.

Parameters:
dst destination data
src source data
shift shift needed after rotation
rotate identifier of the rotation between two index spaces

template<int DIM, class TYPE>
void SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::translateAndCopyEdgeData ( pdat::EdgeData< DIM, TYPE > &  dst,
const pdat::EdgeData< DIM, TYPE > &  src,
const hier::IntVector< DIM > &  shift,
const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier  rotate 
) [static]

Translate and copy edge data from src to dst according the shift and rotation.

Parameters:
dst destination data
src source data
shift shift needed after rotation
rotate identifier of the rotation between two index spaces

template<int DIM, class TYPE>
void SAMRAI::pdat::MBDataUtilities< DIM, TYPE >::translateAndCopyArrayData ( pdat::ArrayData< DIM, TYPE > &  dst,
const pdat::ArrayData< DIM, TYPE > &  src,
const hier::IntVector< DIM > &  shift,
const typename hier::MultiblockPatchHierarchy< DIM >::RotationIdentifier  rotate 
) [static]

Translate and copy array data from src to dst according the shift and rotation.

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 files:
Generated on Thu Jun 18 11:28:46 2009 for SAMRAI by  doxygen 1.5.1