24 Index getNumElements()
override;
25 Index getNumElements()
const override;
26 virtual void resetElements();
27 Index getNumCorners();
28 Index getNumCorners()
const;
36 std::pair<Vector, Vector> getBounds()
const override;
38 bool hasCelltree()
const override;
40 bool validateCelltree()
const override;
42 bool hasVertexOwnerList()
const;
44 void removeVertexOwnerList()
const;
52 std::vector<Index> getContainingElements(
Index vert)
const;
54 std::vector<Index> getNeighborElements(
Index elem)
const;
59 Index numElem, numVert;
61 const Index *vl, *vol;
65 virtual std::pair<Vector, Vector> elementBounds(
Index elem)
const;
66 std::vector<Index> cellVertices(
Index elem)
const override;
71 mutable const Index *m_el =
nullptr;
72 mutable const Index *m_cl =
nullptr;
75 mutable std::unique_ptr<const NeighborFinder> m_neighborfinder;
77 void createVertexOwnerList()
const;
78 void createCelltree(
Index nelem,
const Index *el,
const Index *cl)
const;
85 const std::string &name =
"",
const Meta &meta =
Meta());
86 static Data *create(
const std::string &name =
"",
Type id = UNKNOWN,
const Index numElements = 0,
#define ARCHIVE_ASSUME_ABSTRACT(obj)
Definition: archives_config.h:466
Definition: celltree.h:172
Definition: celltree.h:31
Coords Base
Definition: indexed.h:18
shm< Index >::array & el()
Definition: indexed.h:31
vistle::CelltreeInterface< 3 >::Celltree Celltree
Definition: indexed.h:20
shm< Index >::array & cl()
Definition: indexed.h:32
const Index * cl() const
Definition: indexed.h:34
vistle::VertexOwnerList VertexOwnerList
Definition: indexed.h:19
const Index * el() const
Definition: indexed.h:33
std::shared_ptr< const Object > const_ptr
Definition: object.h:68
Type
Definition: object.h:84
map vertices to owning elements/cells
Definition: vertexownerlist.h:16
Definition: shm_reference.h:15
Definition: shm_array.h:19
#define V_COREEXPORT
Definition: export.h:9
Definition: allobjects.cpp:30
const Index InvalidIndex
Definition: index.h:17
uint32_t Index
Definition: index.h:13
#define V_DATA_BEGIN(ObjType)
Definition: object.h:474
#define V_OBJECT_DECL(ObjType)
Definition: object.h:525
#define V_DATA_END(ObjType)
Definition: object.h:481
#define V_OBJECT(ObjType)
declare a new Object type
Definition: object.h:381