Dune Core Modules (2.6.0)

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 >
30  {
32  virtual ~BoundarySegment() {}
33 
37  operator() ( const FieldVector< double, dim-1> &local ) const = 0;
38  };
39 
40 } // end namespace Dune
41 
42 #endif
Implements a vector constructed from a given type representing a field and a compile-time given size.
Dune namespace.
Definition: alignedallocator.hh:10
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.
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 3, 22:32, 2024)