Hello,
I got a segfault when I called the PointLocatorTree::operator() function.
Does anyone know why the segfault? Thanks! Here's the backtrace:
(gdb) bt
#0 0x00002aaffd5a5e7b in libMesh::TreeNode<8u>::find_element
(this=0x5a6f810,
p=..., allowed_subdomains=0xd6, relative_tol=9.9999999999999995e-07)
at src/utils/tree_node.C:481
#1 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#2 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#3 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#4 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#5 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#6 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#7 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
---Type <return> to continue, or q <return> to quit---
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#8 0x00002aaffd5a5a72 in libMesh::TreeNode<8u>::find_element_in_children (
this=0x5a6f810, p=..., allowed_subdomains=0xd6,
relative_tol=9.9999999999999995e-07) at src/utils/tree_node.C:513
#9 0x00002aaffd54ea14 in libMesh::PointLocatorTree::operator() (
this=0x5a6f810, p=..., allowed_subdomains=0xd6)
at src/utils/point_locator_tree.C:207
#10 0x00002aaff6fe72fa in EMSchrodingerFEM::update_Elem_to_QP_maps (
this=0x21c295f0) at EMSchrodingerFEM.cpp:2809
#11 0x00002aaff6fe1f69 in EMSchrodingerFEM::refresh_schro_poisson_maps (
this=0x21c295f0) at EMSchrodingerFEM.cpp:2310
#12 0x00002aaff6fcb24c in EMSchrodingerFEM::do_init (this=0x21c295f0)
at EMSchrodingerFEM.cpp:648
#13 0x00002aaff7b638db in Simulation::init (this=0x21c295f0)
at Simulation.cpp:582
#14 0x00002aaff7be906d in Nemo::create_simulations_tree (
this=0x654ca0 <Nemo::instance()::impl>) at Nemo.cpp:765
#15 0x00002aaff7bf11e0 in Nemo::init_simulations (
this=0x654ca0 <Nemo::instance()::impl>) at Nemo.cpp:1121
#16 0x000000000040c5b6 in main (argc=3, argv=0x7ffc99c7d588) at main.cpp:442
(gdb) p p
$1 = (const libMesh::Point &) @0x7ffc99c7b868:
{<libMesh::TypeVector<libMesh::Real>> = {_coords = {1033.4730402365724,
865.29960591259533,
500.13212350830224}}, <No data fields>}
Thanks,
Harshad
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users