#include <ComputeHomePatches.h>
Inheritance diagram for ComputeHomePatches:

Public Member Functions | |
| ComputeHomePatches (ComputeID c) | |
| virtual | ~ComputeHomePatches () |
| virtual void | initialize () |
| virtual void | atomUpdate () |
| Flags * | getFlags (void) |
Protected Attributes | |
| int | useAvgPositions |
| int | hasPatchZero |
| ComputeHomePatchList | patchList |
| PatchMap * | patchMap |
|
|
Definition at line 18 of file ComputeHomePatches.C. References hasPatchZero, PatchMap::Object(), patchMap, and useAvgPositions. 00018 : Compute(c) { 00019 patchMap = PatchMap::Object(); 00020 useAvgPositions = 0; 00021 hasPatchZero = 0; 00022 }
|
|
|
Definition at line 24 of file ComputeHomePatches.C. 00025 {
00026 ;
00027 }
|
|
|
Reimplemented from Compute. Definition at line 46 of file ComputeHomePatches.C. References Compute::atomUpdate(). 00047 {
00048 Compute::atomUpdate();
00049 }
|
|
|
Definition at line 86 of file ComputeHomePatches.h. References patchList. 00086 { return &(patchList[0].p->flags); }
|
|
|
Reimplemented from Compute. Definition at line 29 of file ComputeHomePatches.C. References UniqueSortedArray< Elem >::add(), ResizeArrayIter< T >::begin(), ResizeArrayIter< T >::end(), hasPatchZero, PatchMap::homePatchList(), HomePatchList, patchList, patchMap, ResizeArray< Elem >::resize(), Compute::setNumPatches(), ResizeArray< Elem >::size(), and useAvgPositions. 00030 {
00031 HomePatchList *a = patchMap->homePatchList();
00032 ResizeArrayIter<HomePatchElem> ai(*a);
00033
00034 patchList.resize(0);
00035
00036 for ( ai = ai.begin(); ai != ai.end(); ai++ ) {
00037 patchList.add(PatchElem((*ai).patch, cid, useAvgPositions));
00038 if ( (*ai).patch->getPatchID() == 0 ) hasPatchZero = 1;
00039 }
00040
00041 setNumPatches(patchList.size());
00042
00043 basePriority = 0; // higher priority than pme or proxies
00044 }
|
|
|
Definition at line 75 of file ComputeHomePatches.h. Referenced by ComputeHomePatches(), and initialize(). |
|
|
Definition at line 77 of file ComputeHomePatches.h. Referenced by getFlags(), and initialize(). |
|
|
Definition at line 79 of file ComputeHomePatches.h. Referenced by ComputeHomePatches(), and initialize(). |
|
|
Definition at line 74 of file ComputeHomePatches.h. Referenced by ComputeHomePatches(), and initialize(). |
1.3.9.1