template<class T> class BoxLayoutData : public LayoutData<T>

Data on a BoxLayout

Inheritance:

BoxLayoutData


public members:

BoxLayoutData()
BoxLayoutData(const BoxLayout& boxes, int comps, const DataFactory<T>& factory = DefaultDataFactory<T>())
virtual void define(const BoxLayout& boxes, int comps, const DataFactory<T>& factory = DefaultDataFactory<T>())
virtual void define(const BoxLayoutData<T>& da, const DataFactory<T>& factory = DefaultDataFactory<T>())
virtual void define(const BoxLayoutData<T>& da, const Interval& comps, const DataFactory<T>& factory = DefaultDataFactory<T>())
virtual void define(const BoxLayout& boxes)
overridden and throws an error.
int nComp() const
Interval interval() const
void setVal(void (*setFunction)(const Box& box , int comps, T& t))
virtual bool isDefined() const

Documentation

A collection of Box-oriented objects. The arrangement of Boxes is given by the underlying BoxLayout object. BoxLayoutData attempt to prevent users from maniupulating the template class T to become out of synch with the boxes in the BoxLayout. Caveat emptor.

All access to the data in a BoxLayoutData is forced to be data-parallel, by use of the DataIterator.

class T must provide the following methods:

In sequential codes, many of these functions will not be called, but in the general parallel case, they all will be.

virtual void define (const BoxLayoutData<T>& da, const Interval& comps, const DataFactory<T>& factory = DefaultDataFactory<T>())
Define this BoxLayoutData to be the subset of the data in da defined by the Interval comps.


this class has no child classes.

alphabetic index hierarchy of classes


Chombo

Copyright Notice

This software is copyright (C) by the Lawrence Berkeley National Laboratory. Permission is granted to reproduce this software for non-commercial purposes provided that this notice is left intact.

It is acknowledged that the U.S. Government has rights to this software under Contract DE-AC03-765F00098 between the U.S. Department of Energy and the University of California.

This software is provided as a professional and academic contribution for joint exchange. Thus it is experimental, is provided ``as is'', with no warranties of any kind whatsoever, no support, no promise of updates, or printed documentation. By using this software, you acknowledge that the Lawrence Berkeley National Laboratory and Regents of the University of California shall have no liability with respect to the infringement of other copyrights by any part of this software.