24 #include "libmesh/node.h" 55 std::ostringstream oss;
65 ", Point=" << *
static_cast<const Point *
>(
this) <<
'\n';
71 oss <<
'(' << s <<
'/' << v <<
'/' << this->
dof_number(s,v,c) <<
") ";
85 static bool load_balanced_nodes =
90 if (load_balanced_nodes)
94 return std::max(pid1, pid2);
96 return std::min(pid1, pid2);
102 return std::min(pid1, pid2);
dof_id_type dof_number(const unsigned int s, const unsigned int var, const unsigned int comp) const
A Node is like a Point, but with more information.
unsigned int n_comp(const unsigned int s, const unsigned int var) const
The libMesh namespace provides an interface to certain functionality in the library.
processor_id_type choose_processor_id(processor_id_type pid1, processor_id_type pid2) const
Return which of pid1 and pid2 would be preferred by the current load-balancing heuristic applied to t...
uint8_t processor_id_type
void print_info(std::ostream &os=libMesh::out) const
Prints relevant information about the node.
static const processor_id_type invalid_processor_id
An invalid processor_id to distinguish DoFs that have not been assigned to a processor.
unsigned int n_vars(const unsigned int s, const unsigned int vg) const
unsigned int n_systems() const
bool operator==(const Node &rhs) const
IntRange< T > make_range(T beg, T end)
The 2-parameter make_range() helper function returns an IntRange<T> when both input parameters are of...
bool operator==(const TypeVector< Real > &rhs) const
bool on_command_line(std::string arg)
processor_id_type processor_id() const
A Point defines a location in LIBMESH_DIM dimensional Real space.
std::string get_info() const
Prints relevant information about the node to a string.