[ET Trac] [Einstein Toolkit] #936: Cactus binary tree implementation in src/util/BinaryTree.c is broken

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue May 29 21:40:18 CDT 2012


#936: Cactus binary tree implementation in src/util/BinaryTree.c is broken
-----------------------+----------------------------------------------------
  Reporter:  rhaas     |       Owner:        
      Type:  defect    |      Status:  review
  Priority:  optional  |   Milestone:        
 Component:  Cactus    |     Version:        
Resolution:            |    Keywords:        
-----------------------+----------------------------------------------------

Comment (by eschnett):

 I would not wrap it in C code -- I would use it from C++. It is rather
 easy to convert C code to C++; what is mostly necessary is to add extern
 "C" around scheduled functions. I don't think it is necessary to provide
 Fortran wrapper; it will make more sense in most cases to implement the
 whole algorithm in C++, and only write e.g. compute kernels in Fortran.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/936#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list