MFRemapper Class Reference

#include <MFRemapper.H>

List of all members.

Detailed Description

This class is used by the time-dependent aspects of MFChombo. This class handles the process of mapping the state data within one LevelData<MFCellFAB> based on one MFIndexSpace, to a whole new LevelData<MFCellFAB> based on a different MFIndexSpace.

Public Member Functions

 MFRemapper ()
virtual ~MFRemapper ()
void remap (const MFIndexSpace &a_sourceMF, const LevelData< MFCellFAB > &a_source, const MFIndexSpace &a_destMF, LevelData< MFCellFAB > &a_dest) const
void remap (const MFIndexSpace &a_MF, const ProblemDomain &a_domainCoar, const ProblemDomain &a_domainFine, const LevelData< MFCellFAB > &a_source, const LevelData< MFCellFAB > &a_coarse, const int &nref, const int &nghost, LevelData< MFCellFAB > &a_dest)

Constructor & Destructor Documentation

MFRemapper::MFRemapper (  ) 

virtual MFRemapper::~MFRemapper (  )  [virtual]

Member Function Documentation

void MFRemapper::remap ( const MFIndexSpace a_sourceMF,
const LevelData< MFCellFAB > &  a_source,
const MFIndexSpace a_destMF,
LevelData< MFCellFAB > &  a_dest 
) const

Remap operation that takes an existing state data the source MFIndexSpace and maps it too the same DisjointBoxLayout but with a new MFIndexSpace.

The new MFIndexSpace is usually the result an interface movement operation, followed by some form of LevelSet computation. At the end of this, a new MFIndexSpace is created. The current state data needs to be mapped into a new LevelData<MFCellFAB> based on this new MFIndexSpace. The DisjointBoxLayouts from a_source and a_dest are assumed to be identical. Thus, no coarse-fine AMR operations are performed.

void MFRemapper::remap ( const MFIndexSpace a_MF,
const ProblemDomain a_domainCoar,
const ProblemDomain a_domainFine,
const LevelData< MFCellFAB > &  a_source,
const LevelData< MFCellFAB > &  a_coarse,
const int &  nref,
const int &  nghost,
LevelData< MFCellFAB > &  a_dest 

Regridding version of remapping operation. Same MFIndexSpace, same state data, different grid configurations. This routine is usually called after a MeshRefine operation.

The documentation for this class was generated from the following file:

Generated on Fri Mar 24 03:27:16 2017 for Chombo + EB + MF by  doxygen 1.5.5