LayoutData< T > Class Template Reference
Data that maintains a one-to-one mapping to the boxes in a BoxLayout.
More...
#include <LayoutData.H>
Inheritance diagram for LayoutData< T >:
[legend]Collaboration diagram for LayoutData< T >:
[legend]List of all members.
Detailed Description
template<class T>
class LayoutData< T >
Data that maintains a one-to-one mapping to the boxes in a BoxLayout.
A collection of Box-oriented objects. The arrangement of the T objects is given by the underlying BoxLayout object. LayoutData does not attempt to prevent users from manipulating the template class T to become out of synch with the boxes in the BoxLayout. Caveat emptor.
Non-local (off-processor access) to a LayoutData index is an error. You can assure that access to the data stored in a LayoutData is local to your processor by using the DataIterator object for indexing.
Data in a LayoutData CANNOT be communicated to other processors using the API presented here.
class T must provide the following methods:
{
T()
}
This class is useful for processor-local data that needs to be indexable along with a BoxLayoutData. Auxillary data objects, etc.
Constructor & Destructor Documentation
|
constructor. allocates a T object for every box in the BoxLayout a_dp using the T null constructor. a_dp must be closed. |
Member Function Documentation
|
non-const accessor function
|
|
non-const accessor function
|
|
const accessor function
Returns member for which DataIterator is currently indexed to. Equivalent to layout[a_iterator()] |
template<class T> |
const T & LayoutData< T >::operator[] |
( |
const DataIndex & |
a_index |
) |
const [inline] |
|
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Wed Oct 5 14:01:11 2005 for Chombo&AMRSelfGravity by
1.4.1