Go to the documentation of this file.
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);
unsigned int n_systems() const
The libMesh namespace provides an interface to certain functionality in the library.
bool operator==(const Node &rhs) const
bool operator==(const TypeVector< Real > &rhs) const
processor_id_type processor_id() const
dof_id_type dof_number(const unsigned int s, const unsigned int var, const unsigned int comp) const
The IntRange templated class is intended to make it easy to loop over integers which are indices of a...
unsigned int n_comp(const unsigned int s, const unsigned int var) const
uint8_t processor_id_type
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...
A Node is like a Point, but with more information.
void print_info(std::ostream &os=libMesh::out) const
Prints relevant information about the node.
unsigned int n_vars(const unsigned int s, const unsigned int vg) const
static const processor_id_type invalid_processor_id
An invalid processor_id to distinguish DoFs that have not been assigned to a processor.
bool on_command_line(std::string arg)
std::string get_info() const
Prints relevant information about the node to a string.