27 #ifndef ELEMENT_XTAL_SQ1_H
28 #define ELEMENT_XTAL_SQ1_H
45 typedef typename CC::ATOM_TYPE T;
46 typedef typename CC::PARAM_CONFIG P;
47 enum { R = P::EVENT_WINDOW_RADIUS };
75 return (u32) PSYM_NORMAL;
78 virtual void GetSites(T & atom, XtalSites & sites, EventWindow<CC>& window)
const
80 static XtalSites isites;
81 static bool initted =
false;
84 for (s32 x = -R; x <= R; ++x)
86 for (s32 y = -R; y <= R; ++y)
91 if (c.GetManhattanLength() <= R)
93 this->WriteBit(isites, c,
true);
106 Element_Xtal_Sq1<CC> Element_Xtal_Sq1<CC>::THE_INSTANCE;
virtual u32 LocalPhysicsColor(const T &atom, u32 selector) const
Definition: Element_Xtal_Sq1.h:66
Definition: Element_Xtal_Sq1.h:42
void SetName(const char *name)
Definition: Element.h:209
void SetAtomicSymbol(const char *symbol)
Definition: Element.h:193
Definition: AbstractElement_Xtal.h:40
virtual u32 DefaultPhysicsColor() const
Definition: Element_Xtal_Sq1.h:61
Definition: ElementTable.h:43