dune-grid
2.6-git
dune
grid
common
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
12
namespace
Dune
{
13
28
template
<
int
dim,
int
dimworld = dim >
29
struct
BoundarySegment
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
Dune::BoundarySegment
Base class for classes implementing geometries of boundary segments.
Definition:
boundarysegment.hh:29
Dune::BoundarySegment::~BoundarySegment
virtual ~BoundarySegment()
Dummy virtual destructor.
Definition:
boundarysegment.hh:32
Dune::BoundarySegment::operator()
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.
Dune
Include standard header files.
Definition:
agrid.hh:58
Generated by
1.8.17