dune-grid  2.2.0
Public Member Functions | List of all members
Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator > Class Template Reference

#include <dune/grid/geometrygrid/cachedcoordfunction.hh>

Public Member Functions

 CoordCache (const HostGrid &hostGrid, const Allocator &allocator=Allocator())
template<class Entity >
const Coordinate & operator() (const Entity &entity, unsigned int corner) const
const Coordinate & operator() (const Vertex &vertex, unsigned int corner) const
template<class Entity >
Coordinate & operator() (const Entity &entity, unsigned int corner)
Coordinate & operator() (const Vertex &vertex, unsigned int corner)
void adapt ()

Constructor & Destructor Documentation

template<class HostGrid, class Coordinate, class Allocator = std::allocator< Coordinate >>
Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator >::CoordCache ( const HostGrid &  hostGrid,
const Allocator &  allocator = Allocator() 
)
inlineexplicit

Member Function Documentation

template<class HostGrid, class Coordinate, class Allocator = std::allocator< Coordinate >>
void Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator >::adapt ( )
inline
template<class HostGrid, class Coordinate, class Allocator = std::allocator< Coordinate >>
template<class Entity >
const Coordinate& Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator >::operator() ( const Entity entity,
unsigned int  corner 
) const
inline
template<class HostGrid, class Coordinate, class Allocator = std::allocator< Coordinate >>
const Coordinate& Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator >::operator() ( const Vertex &  vertex,
unsigned int  corner 
) const
inline
template<class HostGrid, class Coordinate, class Allocator = std::allocator< Coordinate >>
template<class Entity >
Coordinate& Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator >::operator() ( const Entity entity,
unsigned int  corner 
)
inline
template<class HostGrid, class Coordinate, class Allocator = std::allocator< Coordinate >>
Coordinate& Dune::GeoGrid::CoordCache< HostGrid, Coordinate, Allocator >::operator() ( const Vertex &  vertex,
unsigned int  corner 
)
inline

The documentation for this class was generated from the following file: