1#ifndef DUNE_FOAMGRID_GEOMETRY_HH
2#define DUNE_FOAMGRID_GEOMETRY_HH
11#include <dune/common/version.hh>
12#include <dune/geometry/affinegeometry.hh>
18template<
int mydim,
int coorddim,
class Gr
idImp>
20 public AffineGeometry<typename GridImp::ctype, mydim, coorddim>
32 FoamGridGeometry(
const GeometryType& type,
const std::vector<FieldVector<typename GridImp::ctype,coorddim> >& coordinates) :
33 AffineGeometry<typename GridImp::ctype, mydim, coorddim>(type, coordinates)
40 template<std::
size_t size>
41 FoamGridGeometry(
const GeometryType& type,
const std::array<FieldVector<typename GridImp::ctype,coorddim>, size>& coordinates) :
42 AffineGeometry<typename GridImp::ctype, mydim, coorddim>(type, coordinates)
Definition: foamgridgeometry.hh:21
FoamGridGeometry()
This is DefaultConstructor.
Definition: foamgridgeometry.hh:27
FoamGridGeometry(const GeometryType &type, const std::vector< FieldVector< typename GridImp::ctype, coorddim > > &coordinates)
Construct geometry from coordinate vector.
Definition: foamgridgeometry.hh:32
FoamGridGeometry(const GeometryType &type, const std::array< FieldVector< typename GridImp::ctype, coorddim >, size > &coordinates)
Construct geometry from coordinate array.
Definition: foamgridgeometry.hh:41