← Back to team overview

dolfin team mailing list archive

[Question #137265]: closest_cell function throwing exception

 

New question #137265 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/137265

This statement 

index = mesh.closest_cell(p);

terminates the program with the error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  *** Error: The function 'compute' has not been implemented (in /Users/JJ//FEniCS/src/dolfin/dolfin/mesh/IntersectionOperatorImplementation.h line 265).
[AttackinhgChess-3:22966] *** Process received signal ***
[AttackinhgChess-3:22966] Signal: Abort trap (6)
[AttackinhgChess-3:22966] Signal code:  (0)
[AttackinhgChess-3:22966] [ 0] 2   libSystem.B.dylib                   0x00007fff82b0367a _sigtramp + 26
[AttackinhgChess-3:22966] [ 1] 3   ???                                 0x000000014cee0210 0x0 + 5585633808
[AttackinhgChess-3:22966] [ 2] 4   libstdc++.6.dylib                   0x0000000101b3c365 _ZN9__gnu_cxx27__verbose_terminate_handlerEv + 293
[AttackinhgChess-3:22966] [ 3] 5   libstdc++.6.dylib                   0x0000000101ad084a _ZN10__cxxabiv111__terminateEPFvvE + 10
[AttackinhgChess-3:22966] [ 4] 6   libstdc++.6.dylib                   0x0000000101ad08a3 _ZSt9terminatev + 19
[AttackinhgChess-3:22966] [ 5] 7   libstdc++.6.dylib                   0x0000000101ad0926 __cxa_throw + 102
[AttackinhgChess-3:22966] [ 6] 8   libdolfin.0.dylib                   0x0000000100070d34 _ZNK6dolfin6Logger5errorESs + 132
[AttackinhgChess-3:22966] [ 7] 9   libdolfin.0.dylib                   0x0000000100070b7b _ZN6dolfin5errorESsz + 283
[AttackinhgChess-3:22966] [ 8] 10  libdolfin.0.dylib                   0x00000001001a8d83 _ZNK6dolfin36IntersectionOperatorImplementation_dINS_15TetrahedronCellEN4CGAL16Simple_cartesianIdEEE22closest_point_and_cellERKNS_5PointE + 83
[AttackinhgChess-3:22966] [ 9] 11  libdolfin.0.dylib                   0x000000010018e7bb _ZNK6dolfin36IntersectionOperatorImplementation_dINS_15TetrahedronCellEN4CGAL16Simple_cartesianIdEEE12closest_cellERKNS_5PointE + 27
[AttackinhgChess-3:22966] [10] 12  colour_mesh                         0x000000010000f6a7 main + 1351
[AttackinhgChess-3:22966] [11] 13  colour_mesh                         0x000000010000f0c4 start + 52
[AttackinhgChess-3:22966] [12] 14  ???                                 0x0000000000000001 0x0 + 1
[AttackinhgChess-3:22966] *** End of error message ***

Is it not implemented for 3D?

Jack


-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.