dune-grid 3.0-git
boundarysegment.hh
Go to the documentation of this file.
1// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2// vi: set et ts=4 sw=2 sts=2:
3#ifndef DUNE_BOUNDARY_SEGMENT_HH
4#define DUNE_BOUNDARY_SEGMENT_HH
5
6#include <dune/common/fvector.hh>
7
12namespace Dune {
13
28 template< int dim, int dimworld = dim >
30 {
32 virtual ~BoundarySegment() {}
33
36 virtual FieldVector< double, dimworld >
37 operator() ( const FieldVector< double, dim-1> &local ) const = 0;
38 };
39
40} // end namespace Dune
41
42#endif
Include standard header files.
Definition agrid.hh:60
Base class for classes implementing geometries of boundary segments.
Definition boundarysegment.hh:30
virtual ~BoundarySegment()
Dummy virtual destructor.
Definition boundarysegment.hh:32
virtual FieldVector< double, dimworld > operator()(const FieldVector< double, dim-1 > &local) const =0
A function mapping local coordinates on a boundary segment to world coordinates.