Index: src/Field/NearestNeighbors.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Field/NearestNeighbors.h,v retrieving revision 1.2 diff -c -p -r1.2 NearestNeighbors.h *** src/Field/NearestNeighbors.h 2001/10/06 00:39:19 1.2 --- src/Field/NearestNeighbors.h 2002/07/01 22:11:47 *************** public: *** 129,135 **** // Determine nearest neighbors for each output value. ! for (Answer_t::size_type outputIndex = 0; outputIndex < outputCentering.size(); ++outputIndex) answer[outputIndex] = nearestNeighbors(inputPositions, --- 129,135 ---- // Determine nearest neighbors for each output value. ! for (typename Answer_t::size_type outputIndex = 0; outputIndex < outputCentering.size(); ++outputIndex) answer[outputIndex] = nearestNeighbors(inputPositions, *************** public: *** 173,179 **** // Determine nearest neighbors for each field offset. ! for (FieldOffsetList_t::size_type folIndex = 0; folIndex < outputCentering.size(); ++folIndex) { PInsist(fieldOffsetList[folIndex].subFieldNumber() < outputCentering.size(), --- 173,179 ---- // Determine nearest neighbors for each field offset. ! for (typename FieldOffsetList_t::size_type folIndex = 0; folIndex < outputCentering.size(); ++folIndex) { PInsist(fieldOffsetList[folIndex].subFieldNumber() < outputCentering.size(), *************** private: *** 238,244 **** FieldOffset_vt answerHolder; if (IntraCellOnly) { ! for (MinimumSet::size_type minIndex = 0; minIndex < minimumSet.size(); ++minIndex) answerHolder.push_back(FieldOffset_t(Loc(0), --- 238,244 ---- FieldOffset_vt answerHolder; if (IntraCellOnly) { ! for (typename MinimumSet::size_type minIndex = 0; minIndex < minimumSet.size(); ++minIndex) answerHolder.push_back(FieldOffset_t(Loc(0), *************** private: *** 246,252 **** } else { FieldOffset_vt partialAnswer; ! for (MinimumSet::size_type minIndex = 0; minIndex < minimumSet.size(); ++minIndex) { --- 246,252 ---- } else { FieldOffset_vt partialAnswer; ! for (typename MinimumSet::size_type minIndex = 0; minIndex < minimumSet.size(); ++minIndex) { Index: src/Field/DiffOps/FieldShiftEngine.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Field/DiffOps/FieldShiftEngine.h,v retrieving revision 1.1 diff -c -p -r1.1 FieldShiftEngine.h *** src/Field/DiffOps/FieldShiftEngine.h 2001/08/30 01:15:09 1.1 --- src/Field/DiffOps/FieldShiftEngine.h 2002/07/01 22:11:48 *************** struct FieldShiftSimple *** 435,441 **** const std::vector > &vs1, const Centering ¢ering) { ! typedef std::vector >::size_type size_type; // Create a model field with the new centering. --- 435,441 ---- const std::vector > &vs1, const Centering ¢ering) { ! typedef typename std::vector >::size_type size_type; // Create a model field with the new centering. Index: src/Field/FieldEngine/FieldEngine.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Field/FieldEngine/FieldEngine.h,v retrieving revision 1.2 diff -c -p -r1.2 FieldEngine.h *** src/Field/FieldEngine/FieldEngine.h 2001/10/04 22:06:54 1.2 --- src/Field/FieldEngine/FieldEngine.h 2002/07/01 22:11:48 *************** public: *** 182,189 **** FieldEngine(const This_t &model) : num_materials_m(model.num_materials_m), - stride_m(model.stride_m), centering_m(model.centering_m), data_m(model.data_m), physicalCellDomain_m(model.physicalCellDomain_m), guards_m(model.guards_m), --- 182,189 ---- FieldEngine(const This_t &model) : num_materials_m(model.num_materials_m), centering_m(model.centering_m), + stride_m(model.stride_m), data_m(model.data_m), physicalCellDomain_m(model.physicalCellDomain_m), guards_m(model.guards_m), *************** public: *** 244,251 **** FieldEngine(const FieldEngine &model, const Domain_t &d) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), guards_m(0), mesh_m(model.mesh(), inputDomainToVertexDomain(d)) --- 244,251 ---- FieldEngine(const FieldEngine &model, const Domain_t &d) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), guards_m(0), mesh_m(model.mesh(), inputDomainToVertexDomain(d)) *************** public: *** 282,289 **** FieldEngine(const FieldEngine &model, const Domain &d) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), guards_m(0) { addSubFields(); --- 282,289 ---- FieldEngine(const FieldEngine &model, const Domain &d) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), guards_m(0) { addSubFields(); *************** public: *** 304,311 **** FieldEngine(const FieldEngine &model, const INode &i) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), guards_m(0), mesh_m(model.mesh(), inputDomainToVertexDomain(i.domain())) // FIXME: should hand INode to mesh? --- 304,311 ---- FieldEngine(const FieldEngine &model, const INode &i) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), guards_m(0), mesh_m(model.mesh(), inputDomainToVertexDomain(i.domain())) // FIXME: should hand INode to mesh? *************** public: *** 342,349 **** FieldEngine(const FieldEngine &model, const EngineView &ev) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), physicalCellDomain_m(model.physicalCellDomain()), guards_m(model.guardLayers()), mesh_m(model.mesh()) --- 342,349 ---- FieldEngine(const FieldEngine &model, const EngineView &ev) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), physicalCellDomain_m(model.physicalCellDomain()), guards_m(model.guardLayers()), mesh_m(model.mesh()) *************** public: *** 366,373 **** FieldEngine(const FieldEngine &model, const FieldEnginePatch &p) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), guards_m(model.guardLayers()), mesh_m(model.mesh()) // FIXME: should take a view of the mesh??? { --- 366,373 ---- FieldEngine(const FieldEngine &model, const FieldEnginePatch &p) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), guards_m(model.guardLayers()), mesh_m(model.mesh()) // FIXME: should take a view of the mesh??? { *************** public: *** 384,391 **** FieldEngine(const FieldEngine &model, const ComponentWrapper &cw) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), physicalCellDomain_m(model.physicalCellDomain()), guards_m(model.guardLayers()), mesh_m(model.mesh()) --- 384,391 ---- FieldEngine(const FieldEngine &model, const ComponentWrapper &cw) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), physicalCellDomain_m(model.physicalCellDomain()), guards_m(model.guardLayers()), mesh_m(model.mesh()) *************** public: *** 405,412 **** FieldEngine(const This_t &model, const Pooma::DontCopyRelations &d) : num_materials_m(model.numMaterials()), - stride_m(model.centeringSize()), centering_m(model.centering()), physicalCellDomain_m(model.physicalCellDomain_m), guards_m(model.guardLayers()), mesh_m(model.mesh()) --- 405,412 ---- FieldEngine(const This_t &model, const Pooma::DontCopyRelations &d) : num_materials_m(model.numMaterials()), centering_m(model.centering()), + stride_m(model.centeringSize()), physicalCellDomain_m(model.physicalCellDomain_m), guards_m(model.guardLayers()), mesh_m(model.mesh()) Index: src/Partition/ContextMapper.h =================================================================== RCS file: /home/pooma/Repository/r2/src/Partition/ContextMapper.h,v retrieving revision 1.20 diff -c -p -r1.20 ContextMapper.h *** src/Partition/ContextMapper.h 2000/12/29 02:47:37 1.20 --- src/Partition/ContextMapper.h 2002/07/01 22:11:48 *************** public: *** 80,85 **** --- 80,87 ---- ContextMapper(){}; + virtual ~ContextMapper(){}; + virtual void map(const List_t & templist) const = 0;