Definition at line 586 of file unstructured_mesh.C.
◆ VectorOfNodesAdaptor()
| libMesh::VectorOfNodesAdaptor::VectorOfNodesAdaptor |
( |
const std::vector< std::pair< Point, dof_id_type > > & |
nodes | ) |
|
|
inline |
Definition at line 592 of file unstructured_mesh.C.
592 :
594 {}
const std::vector< std::pair< Point, dof_id_type > > _nodes
◆ kdtree_get_bbox()
template<class BBOX >
| bool libMesh::VectorOfNodesAdaptor::kdtree_get_bbox |
( |
BBOX & |
| ) |
const |
|
inline |
◆ kdtree_get_point_count()
| size_t libMesh::VectorOfNodesAdaptor::kdtree_get_point_count |
( |
| ) |
const |
|
inline |
◆ kdtree_get_pt()
| Real libMesh::VectorOfNodesAdaptor::kdtree_get_pt |
( |
const size_t |
idx, |
|
|
int |
dim |
|
) |
| const |
|
inline |
- Returns
- The dim'th component of the idx'th point in the class: Since this is inlined and the "dim" argument is typically an immediate value, the "if's" are actually solved at compile time.
Definition at line 606 of file unstructured_mesh.C.
607 {
608 libmesh_assert_less (idx,
_nodes.size());
609 libmesh_assert_less (
dim, 3);
610
612
613 if (
dim==0)
return p(0);
614 if (
dim==1)
return p(1);
615 return p(2);
616 }
A Point defines a location in LIBMESH_DIM dimensional Real space.
References _nodes, and dim.
◆ _nodes
| const std::vector<std::pair<Point, dof_id_type> > libMesh::VectorOfNodesAdaptor::_nodes |
|
private |
The documentation for this class was generated from the following file: