00001 #ifndef DUNE_BOUNDARY_SEGMENT_HH 00002 #define DUNE_BOUNDARY_SEGMENT_HH 00003 00004 #include <dune/common/fvector.hh> 00005 00010 namespace Dune { 00011 00023 template <int dimworld> 00024 class BoundarySegment { 00025 public: 00026 00028 virtual ~BoundarySegment() {} 00029 00032 virtual FieldVector<double,dimworld> operator()(const FieldVector<double, dimworld-1>& local) const = 0; 00033 00034 }; 00035 00036 } // end namespace Dune 00037 00038 #endif