Index: Domain/DomainArithOpsTraits.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Domain/DomainArithOpsTraits.h,v retrieving revision 1.5 diff -c -p -r1.5 DomainArithOpsTraits.h *** Domain/DomainArithOpsTraits.h 2000/03/07 13:16:33 1.5 --- Domain/DomainArithOpsTraits.h 2001/06/27 02:07:44 *************** *** 40,46 **** //----------------------------------------------------------------------------- // Overview: // DomainArithOpsTraits is intended to be used to select the return type of ! // arithmatic operations between domains and pseudo-domains comprising the following // list: // Loc<1> Loc Interval Range IndirectionList Grid --- 40,46 ---- //----------------------------------------------------------------------------- // Overview: // DomainArithOpsTraits is intended to be used to select the return type of ! // arithmetic operations between domains and pseudo-domains comprising the following // list: // Loc<1> Loc Interval Range IndirectionList Grid Index: Domain/DomainBlockIterator.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Domain/DomainBlockIterator.h,v retrieving revision 1.7 diff -c -p -r1.7 DomainBlockIterator.h *** Domain/DomainBlockIterator.h 2001/04/13 02:12:59 1.7 --- Domain/DomainBlockIterator.h 2001/06/27 02:07:45 *************** private: *** 292,298 **** template DomainBlockIterator::DomainBlockIterator(const Dom &d) ! : domain_m(d), index_m(0), loc_m(0) { for (int i=0; i < dimensions; ++i) { --- 292,298 ---- template DomainBlockIterator::DomainBlockIterator(const Dom &d) ! : domain_m(d), loc_m(0), index_m(0) { for (int i=0; i < dimensions; ++i) { *************** DomainBlockIterator::DomainBlockIte *** 332,339 **** template DomainBlockIterator::DomainBlockIterator(const This_t &model) ! : domain_m(model.domain_m), block_m(model.block_m), ! loc_m(model.loc_m), index_m(model.index_m) { for (int i=0; i < dimensions; ++i) current_m[i] = model.current_m[i]; --- 332,339 ---- template DomainBlockIterator::DomainBlockIterator(const This_t &model) ! : domain_m(model.domain_m), loc_m(model.loc_m), ! block_m(model.block_m), index_m(model.index_m) { for (int i=0; i < dimensions; ++i) current_m[i] = model.current_m[i]; Index: Layout/GridLayout.cpp =================================================================== RCS file: /home/pooma/Repository/r2/src/Layout/GridLayout.cpp,v retrieving revision 1.85 diff -c -p -r1.85 GridLayout.cpp *** Layout/GridLayout.cpp 2001/04/18 02:15:33 1.85 --- Layout/GridLayout.cpp 2001/06/27 02:07:47 *************** GridLayout::GridLayout(const Domain *** 1071,1082 **** template GridLayout::GridLayout(const Grid &grid, const DistributedTag &) ! : Observable(*this), ! LayoutBase >( new LayoutData_t( grid, GridPartition(grid), ! DistributedMapper(GridPartition(grid)))) ! { pdata_m->attach(*this); } --- 1071,1081 ---- template GridLayout::GridLayout(const Grid &grid, const DistributedTag &) ! : LayoutBase >( new LayoutData_t( grid, GridPartition(grid), ! DistributedMapper(GridPartition(grid)))), ! Observable(*this) { pdata_m->attach(*this); } *************** GridLayout::GridLayout(const Grid GridLayout::GridLayout(const Grid &grid, const ReplicatedTag &) ! : Observable(*this), ! LayoutBase >( new LayoutData_t( grid, GridPartition(grid), ! LocalMapper())) ! { pdata_m->attach(*this); } --- 1083,1093 ---- template GridLayout::GridLayout(const Grid &grid, const ReplicatedTag &) ! : LayoutBase >( new LayoutData_t( grid, GridPartition(grid), ! LocalMapper())), ! Observable(*this) { pdata_m->attach(*this); } *************** template *** 1098,1108 **** GridLayout::GridLayout(const Grid &grid, const GuardLayers_t &gcs, const DistributedTag &) ! : Observable(*this), ! LayoutBase > ( new LayoutData_t( grid, GridPartition(grid,gcs), ! DistributedMapper(GridPartition(grid,gcs) )) ) { pdata_m->attach(*this); } --- 1096,1106 ---- GridLayout::GridLayout(const Grid &grid, const GuardLayers_t &gcs, const DistributedTag &) ! : LayoutBase > ( new LayoutData_t( grid, GridPartition(grid,gcs), ! DistributedMapper(GridPartition(grid,gcs) )) ), ! Observable(*this) { pdata_m->attach(*this); } *************** template *** 1111,1121 **** GridLayout::GridLayout(const Grid &grid, const GuardLayers_t &gcs, const ReplicatedTag &) ! : Observable(*this), ! LayoutBase > ( new LayoutData_t( grid, GridPartition(grid,gcs), ! LocalMapper()) ) { pdata_m->attach(*this); } --- 1109,1119 ---- GridLayout::GridLayout(const Grid &grid, const GuardLayers_t &gcs, const ReplicatedTag &) ! : LayoutBase > ( new LayoutData_t( grid, GridPartition(grid,gcs), ! LocalMapper()) ), ! Observable(*this) { pdata_m->attach(*this); } *************** GridLayout::GridLayout(const Grid(*this), ! LayoutBase > (new LayoutData_t(grid, GridPartition(grid,igcs,egcs), ! DistributedMapper(GridPartition(grid,igcs,egcs)))) { pdata_m->attach(*this); } --- 1124,1134 ---- const GuardLayers_t &igcs, const GuardLayers_t &egcs, const DistributedTag &) ! : LayoutBase > (new LayoutData_t(grid, GridPartition(grid,igcs,egcs), ! DistributedMapper(GridPartition(grid,igcs,egcs)))), ! Observable(*this) { pdata_m->attach(*this); } *************** GridLayout::GridLayout(const Grid(*this), ! LayoutBase > (new LayoutData_t( grid, GridPartition(grid,igcs,egcs), ! LocalMapper() ) ) { pdata_m->attach(*this); } --- 1139,1149 ---- const GuardLayers_t &igcs, const GuardLayers_t &egcs, const ReplicatedTag &) ! : LayoutBase > (new LayoutData_t( grid, GridPartition(grid,igcs,egcs), ! LocalMapper() ) ), ! Observable(*this) { pdata_m->attach(*this); } *************** template *** 1155,1165 **** GridLayout::GridLayout(const Domain_t &gdom, const Partitioner &gpar, const DistributedTag &) ! : Observable(*this), ! LayoutBase > (new LayoutData_t(gdom, gpar, ! DistributedMapper(gpar)) ) { pdata_m->attach(*this); } --- 1153,1163 ---- GridLayout::GridLayout(const Domain_t &gdom, const Partitioner &gpar, const DistributedTag &) ! : LayoutBase > (new LayoutData_t(gdom, gpar, ! DistributedMapper(gpar)) ), ! Observable(*this) { pdata_m->attach(*this); } *************** template *** 1169,1179 **** GridLayout::GridLayout(const Domain_t &gdom, const Partitioner &gpar, const ReplicatedTag &) ! : Observable(*this), ! LayoutBase > ! (new LayoutData_t(gdom, ! gpar, ! LocalMapper()) ) { pdata_m->attach(*this); } --- 1167,1177 ---- GridLayout::GridLayout(const Domain_t &gdom, const Partitioner &gpar, const ReplicatedTag &) ! : LayoutBase > ! (new LayoutData_t(gdom, ! gpar, ! LocalMapper()) ), ! Observable(*this) { pdata_m->attach(*this); } *************** template *** 1183,1198 **** GridLayout::GridLayout(const Domain_t &gdom, const Partitioner &gpar, const ContextMapper &cmap) ! : Observable(*this), ! LayoutBase >(new LayoutData_t(gdom, gpar, cmap) ) { pdata_m->attach(*this); } template GridLayout::GridLayout(const This_t &model) ! : Observable(*this), ! LayoutBase >(model.pdata_m) { pdata_m->attach(*this); } --- 1181,1196 ---- GridLayout::GridLayout(const Domain_t &gdom, const Partitioner &gpar, const ContextMapper &cmap) ! : LayoutBase >(new LayoutData_t(gdom, gpar, cmap) ), ! Observable(*this) { pdata_m->attach(*this); } template GridLayout::GridLayout(const This_t &model) ! : LayoutBase >(model.pdata_m), ! Observable(*this) { pdata_m->attach(*this); } Index: NewField/FieldEngine/FieldEngineBase.h =================================================================== RCS file: /home/pooma/Repository/r2/src/NewField/FieldEngine/FieldEngineBase.h,v retrieving revision 1.12 diff -c -p -r1.12 FieldEngineBase.h *** NewField/FieldEngine/FieldEngineBase.h 2001/05/14 21:11:24 1.12 --- NewField/FieldEngine/FieldEngineBase.h 2001/06/27 02:07:47 *************** *** 39,45 **** // // FieldEngineBase and related classes. POOMA supports a flexible form // of "centering" that allows a hierarchy of multiple centering points per ! // cell. The centering information, managemed by the FieldEngineBase // class, is initialized using a flexible set of functors. //----------------------------------------------------------------------------- --- 39,45 ---- // // FieldEngineBase and related classes. POOMA supports a flexible form // of "centering" that allows a hierarchy of multiple centering points per ! // cell. The centering information, managed by the FieldEngineBase // class, is initialized using a flexible set of functors. //----------------------------------------------------------------------------- Index: Partition/GridPartition.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Partition/GridPartition.h,v retrieving revision 1.27 diff -c -p -r1.27 GridPartition.h *** Partition/GridPartition.h 2001/04/18 02:17:11 1.27 --- Partition/GridPartition.h 2001/06/27 02:20:26 *************** public: *** 153,163 **** GridPartition(const Grid &g) ! : grid_m(g), ! hasInternalGuards_m(false), hasExternalGuards_m(false), internalGuards_m(0), ! externalGuards_m(0) { num_m=1; for (int i=0;i &g) ! : hasInternalGuards_m(false), hasExternalGuards_m(false), internalGuards_m(0), ! externalGuards_m(0), ! grid_m(g) { num_m=1; for (int i=0;i &g, const GuardLayers &gcs) ! : grid_m(g), ! hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(gcs), ! externalGuards_m(gcs) { num_m=1; for (int i=0;i &g, const GuardLayers &gcs) ! : hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(gcs), ! externalGuards_m(gcs), ! grid_m(g) { num_m=1; for (int i=0;i &g, const GuardLayers &igcs, const GuardLayers &egcs) ! : grid_m(g), ! hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(igcs), ! externalGuards_m(egcs) { num_m=1; for (int i=0;i &g, const GuardLayers &igcs, const GuardLayers &egcs) ! : hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(igcs), ! externalGuards_m(egcs), ! grid_m(g) { num_m=1; for (int i=0;i(1); } GridPartition(const Loc &a) ! : hasInternalGuards_m(false), hasExternalGuards_m(false), internalGuards_m(0), ! externalGuards_m(0), ! blocks_m(a) { num_m = blocks_m[0].first(); for (int d=1; d < Dim; ++d) --- 205,224 ---- GridPartition() : hasInternalGuards_m(false), hasExternalGuards_m(false), internalGuards_m(0), ! externalGuards_m(0), ! num_m(1) { for (int i=0;i(1); } GridPartition(const Loc &a) ! : blocks_m(a), ! hasInternalGuards_m(false), hasExternalGuards_m(false), internalGuards_m(0), ! externalGuards_m(0) { num_m = blocks_m[0].first(); for (int d=1; d < Dim; ++d) *************** public: *** 227,237 **** GridPartition(const Loc &a, const GuardLayers &gcs) ! : hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(gcs), ! externalGuards_m(gcs), ! blocks_m(a) { num_m = blocks_m[0].first(); for (int d=1; d < Dim; ++d) --- 227,237 ---- GridPartition(const Loc &a, const GuardLayers &gcs) ! : blocks_m(a), ! hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(gcs), ! externalGuards_m(gcs) { num_m = blocks_m[0].first(); for (int d=1; d < Dim; ++d) *************** public: *** 241,251 **** GridPartition(const Loc &a, const GuardLayers &igcs, const GuardLayers &egcs) ! : hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(igcs), ! externalGuards_m(egcs), ! blocks_m(a) { num_m = blocks_m[0].first(); for (int d=1; d < Dim; ++d) --- 241,251 ---- GridPartition(const Loc &a, const GuardLayers &igcs, const GuardLayers &egcs) ! : blocks_m(a), ! hasInternalGuards_m(true), hasExternalGuards_m(true), internalGuards_m(igcs), ! externalGuards_m(egcs) { num_m = blocks_m[0].first(); for (int d=1; d < Dim; ++d) *************** public: *** 255,265 **** // copy constructor GridPartition(const GridPartition & b) ! : hasInternalGuards_m(b.hasInternalGuards_m), hasExternalGuards_m(b.hasExternalGuards_m), internalGuards_m(b.internalGuards_m), externalGuards_m(b.externalGuards_m), - blocks_m(b.blocks_m), num_m(b.num_m), grid_m(b.grid_m) { --- 255,265 ---- // copy constructor GridPartition(const GridPartition & b) ! : blocks_m(b.blocks_m), ! hasInternalGuards_m(b.hasInternalGuards_m), hasExternalGuards_m(b.hasExternalGuards_m), internalGuards_m(b.internalGuards_m), externalGuards_m(b.externalGuards_m), num_m(b.num_m), grid_m(b.grid_m) { *************** public: *** 268,278 **** // copy from a GP GridPartition(const UniformGridPartition & b) ! : hasInternalGuards_m(b.hasInternalGuards_m), hasExternalGuards_m(b.hasExternalGuards_m), internalGuards_m(b.internalGuards_m), externalGuards_m(b.externalGuards_m), - blocks_m(b.blocks_m), num_m(b.num_m) {} --- 268,278 ---- // copy from a GP GridPartition(const UniformGridPartition & b) ! : blocks_m(b.blocks_m), ! hasInternalGuards_m(b.hasInternalGuards_m), hasExternalGuards_m(b.hasExternalGuards_m), internalGuards_m(b.internalGuards_m), externalGuards_m(b.externalGuards_m), num_m(b.num_m) {} *************** public: *** 408,414 **** // Calculate the guard cell specification for this domain. - GuardLayers gcs(0); // No guards by default. if (hasInternalGuards()||hasExternalGuards()) { for (int i=0;i