35 std::unique_ptr<UnstructuredMesh>
mesh = std::make_unique<Mesh>(*TestCommWorld);
44 std::set<subdomain_id_type> ids;
48 CPPUNIT_ASSERT_EQUAL(ids.size(), (std::size_t)1);
virtual Node *& set_node(const unsigned int i)
TestClass subdomain_id_type
Based on the 4-byte comment warning above, this probably doesn't work with exodusII at all...
This is the base class from which all geometric element types are derived.
virtual Node * add_point(const Point &p, const dof_id_type id=DofObject::invalid_id, const processor_id_type proc_id=DofObject::invalid_processor_id)=0
Add a new Node at Point p to the end of the vertex array, with processor_id procid.
virtual Elem * add_elem(Elem *e)=0
Add elem e to the end of the element array.
void subdomain_ids(std::set< subdomain_id_type > &ids, const bool global=true) const
Constructs a list of all subdomain identifiers in the local mesh if global == false, and in the global mesh if global == true (default).
subdomain_id_type n_subdomains() const
virtual const Node * node_ptr(const dof_id_type i) const =0
A Point defines a location in LIBMESH_DIM dimensional Real space.