18 template <
typename U,
typename MeshType,
int Dim>
68 default: assert(
false);
A Curiously Recurring Template Pattern shim to enable generic specialization of functions.
int64_t id(const Tuple &tuple, PrimitiveType type) const
return the global id of the Tuple of the given dimension
bool is_boundary(const simplex::Simplex &tuple) const
check if a simplex lies on a boundary or not
std::vector< Tuple > orient_vertices(const Tuple &tuple) const override
PointMesh & operator=(const PointMesh &o)=delete
Tuple vertex_tuple_from_id(int64_t id) const
Tuple tuple_from_id(const PrimitiveType type, const int64_t gid) const override
internal function that returns the tuple of requested type, and has the global index cid
bool is_boundary(const simplex::Simplex &tuple) const
check if a simplex lies on a boundary or not
PointMesh(PointMesh &&o)=default
Tuple switch_tuple(const Tuple &tuple, PrimitiveType type) const override
switch the orientation of the Tuple of the given dimension
PointMesh(const PointMesh &o)=delete
bool is_valid(const Tuple &tuple) const final override
check validity of tuple including its hash
std::vector< std::vector< TypedAttributeHandle< int64_t > > > connectivity_attributes() const override
Returns a vector of vectors of attribute handles.
bool is_ccw(const Tuple &tuple) const override
TODO this needs dimension?
bool is_boundary_vertex(const Tuple &tuple) const
PointMesh & operator=(PointMesh &&o)=default
void initialize(int64_t count)
bool is_connectivity_valid() const override
A CachingAccessor that uses tuples for accessing attributes instead of indices.