#include "IntVect.H"
#include "BoxLayoutData.H"
#include "DisjointBoxLayout.H"
#include "Copier.H"
#include "SPMD.H"
#include "LevelDataI.H"
Include dependency graph for LevelData.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
class | LevelData |
Functions | |
template<class T> void | aliasLevelData (LevelData< T > &a_alias, LevelData< T > *a_original, const Interval &a_interval) |
Data over a disjoint union of rectangles. |
|
Data over a disjoint union of rectangles.
LevelData<FArrayBox> original(dbl, 4, 2*IntVect::Unit); Interval subcomps(2, 3); LevelData<FArrayBox> alias; aliasLevelData<FArrayBox>(alias, &original, subcomps); // component 0 of every FArrayBox in alias references the same data as // component 2 in original The template class T must have an 'alias' constructor
class A { public: A(const Interval& subcomps, A& original);// alias constructor ... }; |