dune-grid  2.2.0
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 
00026     template< int dim, int dimworld = dim >
00027     struct BoundarySegment
00028     {
00030         virtual ~BoundarySegment() {}
00031 
00034         virtual FieldVector< double, dimworld >
00035         operator() ( const FieldVector< double, dim-1> &local ) const = 0;
00036     };
00037 
00038 }  // end namespace Dune
00039 
00040 #endif