20 #ifndef LIBMESH_NODE_H 21 #define LIBMESH_NODE_H 76 #ifdef LIBMESH_ENABLE_DEPRECATED 103 #ifdef LIBMESH_ENABLE_DEPRECATED 104 static std::unique_ptr<Node>
build (
const Node & n);
110 static std::unique_ptr<Node>
build (
const Point & p,
117 static std::unique_ptr<Node>
build (
const Real x,
146 #ifdef LIBMESH_HAVE_MPI 149 const unsigned int header_size = 2;
152 static const unsigned int idtypes_per_Real =
155 return header_size + LIBMESH_DIM*idtypes_per_Real +
159 #endif // #ifdef LIBMESH_HAVE_MPI 168 #ifdef LIBMESH_ENABLE_NODE_VALENCE 171 libmesh_not_implemented();
196 #ifdef LIBMESH_ENABLE_NODE_VALENCE 233 #ifdef LIBMESH_ENABLE_NODE_VALENCE
243 #ifdef LIBMESH_ENABLE_DEPRECATED 249 #ifdef LIBMESH_ENABLE_NODE_VALENCE
254 libmesh_deprecated();
264 #ifdef LIBMESH_ENABLE_NODE_VALENCE
302 #ifdef LIBMESH_ENABLE_DEPRECATED 306 libmesh_deprecated();
307 return libmesh_make_unique<Node>(n);
317 return libmesh_make_unique<Node>(p,
id);
328 return libmesh_make_unique<Node>(x,y,z,
id);
341 #ifdef LIBMESH_ENABLE_NODE_VALENCE 346 _valence = cast_int<valence_idx_t>(val);
354 libmesh_not_implemented();
357 #endif // #ifdef LIBMESH_ENABLE_NODE_VALENCE 362 #endif // LIBMESH_NODE_H A geometric point in (x,y,z) space associated with a DOF.
const unsigned int invalid_uint
unsigned int packed_size() const
Node & operator=(const Point &p)
void set_valence(unsigned int val)
The base class for all geometric element types.
uint8_t processor_id_type
processor_id_type choose_processor_id(processor_id_type pid1, processor_id_type pid2) const
unsigned char valence_idx_t
Node(const Real x=0, const Real y=0, const Real z=0, const dof_id_type id=invalid_id)
void print_info(std::ostream &os=libMesh::out) const
Responsible for mesh refinement algorithms and data.
bool operator==(const Node &rhs) const
static const dof_id_type invalid_id
unsigned int valence() const
static std::unique_ptr< Node > build(const Node &n)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int packed_indexing_size() const
OStreamProxy out(std::cout)
std::ostream & operator<<(std::ostream &os, const FEAbstract &fe)
A geometric point in (x,y,z) space.
std::string get_info() const