Home
last modified time | relevance | path

Searched refs:neighbor_ptr (Results 1 – 25 of 63) sorted by relevance

123

/dports/math/libmesh/libmesh-1.6.2/src/mesh/
H A Dmesh_subdivision_support.C57 nb = static_cast<const Tri3Subdivision *>(nb->neighbor_ptr(j)); in find_one_ring()
78 nb = static_cast<const Tri3Subdivision *>(nb->neighbor_ptr(j)); in find_one_ring()
82 nb = static_cast<const Tri3Subdivision *>(nb->neighbor_ptr(j)); in find_one_ring()
209 if (elem->neighbor_ptr(i) == nullptr) in tag_boundary_ghosts()
213 if (elem->neighbor_ptr(next[i])) in tag_boundary_ghosts()
218 if (elem->neighbor_ptr(prev[i])) in tag_boundary_ghosts()
252 if (elem->neighbor_ptr(i) == nullptr && in add_boundary_ghosts()
253 elem->neighbor_ptr(next[i]) == nullptr) in add_boundary_ghosts()
330 if (elem->neighbor_ptr(i) == nullptr) in add_boundary_ghosts()
384 if (elem->neighbor_ptr(i) == nullptr && in add_boundary_ghosts()
[all …]
H A Dmesh_smoother_laplace.C176 if ((elem->neighbor_ptr(s) == nullptr) || in init()
177 (elem->id() > elem->neighbor_ptr(s)->id())) in init()
195 if ((elem->neighbor_ptr(f) == nullptr) || in init()
196 (elem->id() > elem->neighbor_ptr(f)->id())) in init()
H A Dunstructured_mesh.C199 if (old->neighbor_ptr(s) == remote_elem) in copy_nodes_and_elements()
224 const Elem * old_neighbor = old_elem->neighbor_ptr(s); in copy_nodes_and_elements()
283 if (e->neighbor_ptr(s) != remote_elem || reset_remote_elements) in find_neighbors()
309 if (element->neighbor_ptr(ms) == nullptr || in find_neighbors()
310 element->neighbor_ptr(ms) == remote_elem) in find_neighbors()
432 if (current_elem->neighbor_ptr(s) == nullptr || in find_neighbors()
433 (current_elem->neighbor_ptr(s) == remote_elem && in find_neighbors()
436 Elem * neigh = parent->neighbor_ptr(s); in find_neighbors()
904 if (so_elem->neighbor_ptr(s) == remote_elem) in all_first_order()
957 if (so_elem->neighbor_ptr(s) == remote_elem) in all_first_order()
[all …]
H A Dmesh_generation.C1973 if (elem->neighbor_ptr(s) == nullptr) in build_sphere()
1995 if (!elem->neighbor_ptr(s)) in build_sphere()
2121 if (elem->neighbor_ptr(0) == remote_elem) in build_extrusion()
2123 if (elem->neighbor_ptr(1) == remote_elem) in build_extrusion()
2141 if (elem->neighbor_ptr(0) == remote_elem) in build_extrusion()
2143 if (elem->neighbor_ptr(1) == remote_elem) in build_extrusion()
2158 if (elem->neighbor_ptr(0) == remote_elem) in build_extrusion()
2160 if (elem->neighbor_ptr(1) == remote_elem) in build_extrusion()
2162 if (elem->neighbor_ptr(2) == remote_elem) in build_extrusion()
2189 if (elem->neighbor_ptr(0) == remote_elem) in build_extrusion()
[all …]
H A Dgnuplot_io.C117 if (el->neighbor_ptr(0) == nullptr) in write_solution()
122 if (el->neighbor_ptr(1) == nullptr) in write_solution()
H A Dmesh_tools.C367 if (elem->neighbor_ptr(s) == nullptr) // on the boundary in find_boundary_nodes()
388 if (elem->neighbor_ptr(s) == nullptr) // on the boundary in find_boundary_nodes()
408 if (elem->neighbor_ptr(s) && (elem->neighbor_ptr(s)->subdomain_id() != elem->subdomain_id())) in find_block_boundary_nodes()
1097 const Elem * neigh = elem->neighbor_ptr(s); in find_hanging_nodes_and_parents()
2127 if (elem && elem->neighbor_ptr(n) != remote_elem) in libmesh_assert_valid_neighbors()
2130 if (elem->neighbor_ptr(n)) in libmesh_assert_valid_neighbors()
2131 my_neighbor = elem->neighbor_ptr(n)->id(); in libmesh_assert_valid_neighbors()
2137 !elem->neighbor_ptr(n) && in libmesh_assert_valid_neighbors()
H A Dreplicated_mesh.C1024 if (el->neighbor_ptr(side_id) == nullptr) in stitching_helper()
1392 if (el->neighbor_ptr(s) == nullptr) in stitching_helper()
1485 if (el->neighbor_ptr(side_id) != nullptr) in stitching_helper()
1558 Elem * neighbor = elem->neighbor_ptr(s); in get_disconnected_subdomains()
1610 if (elem->neighbor_ptr(s) == nullptr) in get_boundary_points()
1652 if (neighbor->neighbor_ptr(ss) == nullptr && !(elem == neighbor && s == ss)) in get_boundary_points()
/dports/math/libmesh/libmesh-1.6.2/src/geom/
H A Delem.C851 Elem * neighbor_i = this->neighbor_ptr(i); in topological_neighbor()
893 const Elem * neighbor_i = this->neighbor_ptr(i); in topological_neighbor()
960 const Elem * neigh = this->neighbor_ptr(n); in libmesh_assert_valid_neighbors()
991 while (neigh->neighbor_ptr(rev) != elem) in libmesh_assert_valid_neighbors()
999 const Elem * nn = neigh->neighbor_ptr(rev); in libmesh_assert_valid_neighbors()
1019 libmesh_assert (!my_parent->neighbor_ptr(n)); in libmesh_assert_valid_neighbors()
1030 Elem * neigh = this->neighbor_ptr(n); in make_links_to_me_local()
1089 libmesh_assert((neigh_family_member->neighbor_ptr(nn) && in make_links_to_me_local()
2286 if (this->neighbor_ptr(s)) in get_info()
2287 oss << this->neighbor_ptr(s)->id() << '\n'; in get_info()
[all …]
/dports/math/libmesh/libmesh-1.6.2/src/error_estimation/
H A Djump_error_estimator.C211 if (parent->neighbor_ptr(n_p) != nullptr) // parent has a neighbor here in estimate_error()
215 parent->neighbor_ptr(n_p)-> in estimate_error()
303 if ((e->neighbor_ptr(n_e) != nullptr) || in estimate_error()
310 if (e->neighbor_ptr(n_e) != nullptr) // e is not on the boundary in estimate_error()
312 const Elem * f = e->neighbor_ptr(n_e); in estimate_error()
/dports/math/libmesh/libmesh-1.6.2/tests/base/
H A Dpoint_neighbor_coupling_test.C104 const Elem * n1 = elem->neighbor_ptr(s1); in testCoupling()
117 const Elem * n2 = elem->neighbor_ptr(s2); in testCoupling()
126 const Elem * n3 = elem->neighbor_ptr(s3); in testCoupling()
H A Ddefault_coupling_test.C92 const Elem * n1 = elem->neighbor_ptr(s1); in testCoupling()
107 const Elem * n2 = n1->neighbor_ptr(s2); in testCoupling()
120 const Elem * n3 = n2->neighbor_ptr(s3); in testCoupling()
/dports/math/libmesh/libmesh-1.6.2/src/parallel/
H A Dparallel_elem.C569 libmesh_assert (!(elem->neighbor_ptr(n))); in unpack()
578 libmesh_assert(elem->neighbor_ptr(n)); in unpack()
589 libmesh_assert_equal_to (elem->neighbor_ptr(n), remote_elem); in unpack()
598 libmesh_assert(elem->neighbor_ptr(n) == neigh || in unpack()
599 elem->neighbor_ptr(n) == remote_elem); in unpack()
604 if (elem->neighbor_ptr(n) == remote_elem) in unpack()
612 neigh->neighbor_ptr(neighbor_side) == elem); in unpack()
/dports/math/libmesh/libmesh-1.6.2/src/base/
H A Ddefault_coupling.C133 const Elem * neigh = elem->neighbor_ptr(s); in operator()
157 if (neigh == elem->neighbor_ptr(s)) in operator()
/dports/math/libmesh/libmesh-1.6.2/examples/fem_system/fem_system_ex5/
H A Dfem_system_ex5.C222 if (elem->type() == QUAD9 && !elem->neighbor_ptr(3)) in main()
227 if (elem->type() == QUAD9 && !elem->neighbor_ptr(1)) in main()
231 if (elem->type() == QUAD9 && !elem->neighbor_ptr(2)) in main()
/dports/math/libmesh/libmesh-1.6.2/examples/miscellaneous/miscellaneous_ex14/
H A Dmiscellaneous_ex14.C199 elem->neighbor_ptr(0)->subdomain_id()=2; in main()
575 if (elem->neighbor_ptr(i)->infinite()){ in assemble_SchroedingerEquation()
594 const Elem* relevant_neighbor=elem->neighbor_ptr(prev_neighbor); in assemble_SchroedingerEquation()
600 if (elem->neighbor_ptr(prev_neighbor)->infinite()){ in assemble_SchroedingerEquation()
601 relevant_neighbor=elem->neighbor_ptr(prev_neighbor); in assemble_SchroedingerEquation()
/dports/math/libmesh/libmesh-1.6.2/examples/miscellaneous/miscellaneous_ex9/
H A Daugment_sparsity_on_interface.C40 if (elem->neighbor_ptr(side) == nullptr) in mesh_reinit()
150 if (elem->neighbor_ptr(side) == nullptr) in operator()
H A Dmiscellaneous_ex9.C276 if (elem->neighbor_ptr(side) == nullptr) in assemble_poisson()
293 if (elem->neighbor_ptr(side) == nullptr) in assemble_poisson()
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/numerics/
H A Dderivative_approximation.cc823 auto neighbor_ptr = active_neighbors.begin(); in approximate_cell() local
824 for (; neighbor_ptr != active_neighbors.end(); ++neighbor_ptr) in approximate_cell()
826 const auto neighbor = *neighbor_ptr; in approximate_cell()
/dports/math/libmesh/libmesh-1.6.2/examples/vector_fe/vector_fe_ex5/
H A Dassembly.C219 if (!elem->neighbor_ptr(side)) in compute_residual()
236 const Elem * neighbor = elem->neighbor_ptr(side); in compute_residual()
455 if (!elem->neighbor_ptr(side)) in compute_jacobian()
470 const Elem * neighbor = elem->neighbor_ptr(side); in compute_jacobian()
/dports/math/libmesh/libmesh-1.6.2/src/partitioning/
H A Dmetis_partitioner.C260 if (child->neighbor_ptr(ns) == elem) in partition_range()
352 if (child->neighbor_ptr(ns) == elem) in partition_range()
/dports/math/libmesh/libmesh-1.6.2/include/geom/
H A Delem.h291 const Elem * neighbor_ptr (unsigned int i) const;
296 Elem * neighbor_ptr (unsigned int i);
2129 const Elem * Elem::neighbor_ptr (unsigned int i) const in neighbor_ptr() function
2139 Elem * Elem::neighbor_ptr (unsigned int i) in neighbor_ptr() function
2411 if (this->neighbor_ptr(s) == eparent) in which_neighbor_am_i()
2876 return this->_parent->neighbor_ptr(_side_number) == nullptr; in side_on_boundary()
/dports/math/libmesh/libmesh-1.6.2/src/fe/
H A Dfe_abstract.C878 if (elem->neighbor_ptr(s) != nullptr && in compute_node_constraints()
879 elem->neighbor_ptr(s) != remote_elem) in compute_node_constraints()
880 if (elem->neighbor_ptr(s)->level() < elem->level()) // constrain dofs shared between in compute_node_constraints()
1029 if (elem->neighbor_ptr(s)) in compute_periodic_node_constraints()
H A Dfe_lagrange.C692 if (elem->neighbor_ptr(s) != nullptr && in lagrange_compute_constraints()
693 elem->neighbor_ptr(s) != remote_elem) in lagrange_compute_constraints()
694 if (elem->neighbor_ptr(s)->level() < elem->level()) // constrain dofs shared between in lagrange_compute_constraints()
/dports/math/libmesh/libmesh-1.6.2/examples/subdomains/subdomains_ex2/
H A Dsubdomains_ex2.C519 if ((elem->neighbor_ptr(side) == nullptr) || in assemble_poisson()
520 (elem->neighbor_ptr(side)->subdomain_id() != elem->subdomain_id())) in assemble_poisson()
/dports/math/libmesh/libmesh-1.6.2/examples/subdomains/subdomains_ex1/
H A Dsubdomains_ex1.C558 if ((elem->neighbor_ptr(side) == nullptr) || in assemble_poisson()
559 (elem->neighbor_ptr(side)->subdomain_id()!=1)) in assemble_poisson()

123