dune-grid  2.1.1
boundarysegment.hh
Go to the documentation of this file.
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 dim, int dimworld = dim >
00024     struct BoundarySegment
00025     {
00027         virtual ~BoundarySegment() {}
00028 
00031         virtual FieldVector< double, dimworld >
00032         operator() ( const FieldVector< double, dim-1> &local ) const = 0;
00033     };
00034 
00035 }  // end namespace Dune
00036 
00037 #endif