Actual source code: Delta.hh

  1: #ifndef included_ALE_Delta_hh
  2: #define included_ALE_Delta_hh

  4: #ifndef  included_ALE_CoSieve_hh
  5: #include <CoSieve.hh>
  6: #endif

  8: //
  9: // This file contains classes and methods implementing  the Overlap and Fusion algorithms for Sections.
 10: //
 11: namespace ALE {
 12:   // Overlap operates on sections; if Sifters and Sieves are presented as Sections, will operate on those too;
 13:   // for that to work Sections must support an iterator-based access to values.
 14:   // The idea is to look at the points overlapping in the corresponding Atlases.
 15:   template <typename SectionA_, typename SectionB_, typename Pullback_>
 16:   class Overlap {
 17:   public:
 18:     typedef SectionA_ section_a_type;
 19:     typedef SectionB_ section_b_type;
 20:     typedef Pullback_ pullback_type;
 21:   protected:
 22:     //
 23:     static void computeOverlap(const section_a_type& secA, const section_b_type& secB, const pullback_type& pullback,
 24:                                send_section_type& sendSec, recv_section_type& recvSec) {
 25:     }
 26:   }; // class Overlap

 28: 
 29: } // namespace ALE

 31: #endif