20#include "libmesh/parallel_ghost_sync.h"
21#include "libmesh/int_range.h"
33 std::vector<datum> & data)
const
35 data.resize(ids.size());
52 const std::vector<datum> & data)
const
70 std::vector<datum> & ids_out)
const
72 ids_out.reserve(ids.size());
74 for (
const auto &
id : ids)
82 const std::vector<datum> & subdomain_ids)
const
92 :
mesh(m), ind(m.get_elem_integer_index(integer_name))
96 std::vector<dof_id_type> & ids_out)
const
98 ids_out.reserve(ids.size());
100 for (
const auto &
id : ids)
108 const std::vector<dof_id_type> & integer_ids)
const
dof_id_type get_extra_integer(const unsigned int index) const
Gets the value on this object of the extra integer associated with index, which should have been obta...
void set_extra_integer(const unsigned int index, const dof_id_type value)
Sets the value on this object of the extra integer associated with index, which should have been obta...
This is the base class from which all geometric element types are derived.
subdomain_id_type subdomain_id() const
This is the MeshBase class.
virtual const Node & node_ref(const dof_id_type i) const
virtual const Point & point(const dof_id_type i) const =0
virtual const Elem & elem_ref(const dof_id_type i) const
A Node is like a Point, but with more information.
A Point defines a location in LIBMESH_DIM dimensional Real space.
The libMesh namespace provides an interface to certain functionality in the library.
auto index_range(const T &sizable)
Helper function that returns an IntRange<std::size_t> representing all the indices of the passed-in v...
SyncElementIntegers(MeshBase &m, const std::string &integer_name)
void act_on_data(const std::vector< dof_id_type > &ids, const std::vector< datum > &data) const
void gather_data(const std::vector< dof_id_type > &ids, std::vector< datum > &data) const
void act_on_data(const std::vector< dof_id_type > &ids, const std::vector< datum > &data) const
SyncNodalPositions(MeshBase &m)
void gather_data(const std::vector< dof_id_type > &ids, std::vector< datum > &data) const
void act_on_data(const std::vector< dof_id_type > &ids, const std::vector< datum > &data) const
void gather_data(const std::vector< dof_id_type > &ids, std::vector< datum > &data) const
SyncSubdomainIds(MeshBase &m)