41 {
42 LOG_UNIT_TEST;
43
44
45
47
49 3, 3,
50 0., 1.,
51 0., 1.,
53
54 std::vector<std::vector<int>> deletions =
55 {{1, 2, 4}, {0, 3}, {0, 2}, {1}};
57 for (auto deletionset : deletions)
58 {
59 for (int e : deletionset)
60 {
63 if (elem)
64 {
67 }
68 }
69
71
73 }
74 }
This is the base class from which all geometric element types are derived.
void remove_links_to_me()
Resets this element's neighbors' appropriate neighbor pointers and its parent's and children's approp...
virtual std::unique_ptr< Partitioner > & partitioner()
A partitioner to use at each partitioning.
virtual dof_id_type n_elem() const =0
void prepare_for_use(const bool skip_renumber_nodes_and_elements, const bool skip_find_neighbors)
Prepare a newly created (or read) mesh for use.
virtual void delete_elem(Elem *e)=0
Removes element e from the mesh.
virtual const Elem * query_elem_ptr(const dof_id_type i) const =0
static std::unique_ptr< Partitioner > build(const PartitionerType solver_package)
Builds a Partitioner of the type specified by partitioner_type.