本文整理汇总了C++中element_iterator函数的典型用法代码示例。如果您正苦于以下问题:C++ element_iterator函数的具体用法?C++ element_iterator怎么用?C++ element_iterator使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了element_iterator函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: element_iterator
// subactive end() accessor
ParallelMesh::element_iterator
ParallelMesh::subactive_elements_end ()
{
Predicates::SubActive<elem_iterator_imp> p;
return element_iterator(_elements.end(), _elements.end(), p);
}
示例2: element_iterator
// ancestor end() accessor
SerialMesh::element_iterator
SerialMesh::not_ancestor_elements_end ()
{
Predicates::Ancestor<elem_iterator_imp> p;
return element_iterator(_elements.end(), _elements.end(), p);
}
示例3: p
// active pid elements begin() accessor
SerialMesh::element_iterator
SerialMesh::active_pid_elements_begin (const processor_id_type proc_id)
{
Predicates::ActivePID<elem_iterator_imp> p(proc_id);
return element_iterator(_elements.begin(), _elements.end(), p);
}
示例4: p
// subdomain elements end() accessor
ParallelMesh::element_iterator
ParallelMesh::active_local_subdomain_elements_end (subdomain_id_type subdomain_id)
{
Predicates::ActiveLocalSubdomain<elem_iterator_imp> p(this->processor_id(),subdomain_id);
return element_iterator(_elements.end(), _elements.end(), p);
}
示例5: p
// active PID end() accessor
SerialMesh::element_iterator
SerialMesh::active_pid_elements_end (const unsigned int proc_id)
{
Predicates::ActivePID<elem_iterator_imp> p(proc_id);
return element_iterator(_elements.end(), _elements.end(), p);
}
示例6: element_iterator
// local elements begin() accessor
SerialMesh::element_iterator
SerialMesh::local_elements_begin ()
{
Predicates::Local<elem_iterator_imp> p;
return element_iterator(_elements.begin(), _elements.end(), p);
}