dune-grid  2.2.0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions
Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator > Class Template Reference

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

Inheritance diagram for Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >:
Dune::DiscreteCoordFunction< CoordFunction::ctype, CoordFunction::dimRange, CachedCoordFunction< HostGrid, CoordFunction > > Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype, dimR, CachedCoordFunction< HostGrid, CoordFunction > >

List of all members.

Public Types

typedef Base::ctype ctype
 field type of the coordinate vector
typedef Base::RangeVector RangeVector
 range vector for the evaluate method
typedef This Interface
typedef CachedCoordFunction
< HostGrid, CoordFunction > 
Implementation

Public Member Functions

 CachedCoordFunction (const HostGrid &hostGrid, const CoordFunction &coordFunction=CoordFunction(), const Allocator &allocator=Allocator())
void adapt ()
 method called from grid.adapt() method to allow adaptation of the discrete coordinate function
void buildCache ()
template<class HostEntity >
void insertEntity (const HostEntity &hostEntity)
template<class HostEntity >
void evaluate (const HostEntity &hostEntity, unsigned int corner, RangeVector &y) const

Static Public Attributes

static const unsigned int dimRange
 dimension of the range vector

Protected Member Functions

const ImplementationasImp () const
ImplementationasImp ()

template<class HostGrid, class CoordFunction, class Allocator = std::allocator< void >>
class Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >


Member Typedef Documentation

template<class HostGrid , class CoordFunction , class Allocator = std::allocator< void >>
typedef Base::ctype Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::ctype
typedef CachedCoordFunction< HostGrid, CoordFunction > Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::Implementation [inherited]
typedef This Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::Interface [inherited]
template<class HostGrid , class CoordFunction , class Allocator = std::allocator< void >>
typedef Base::RangeVector Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::RangeVector

Constructor & Destructor Documentation

template<class HostGrid , class CoordFunction , class Allocator = std::allocator< void >>
Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::CachedCoordFunction ( const HostGrid &  hostGrid,
const CoordFunction &  coordFunction = CoordFunction(),
const Allocator &  allocator = Allocator() 
) [inline, explicit]

Member Function Documentation

template<class HostGrid , class CoordFunction , class Allocator = std::allocator< void >>
void Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::adapt ( ) [inline]
const Implementation& Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::asImp ( ) const [inline, protected, inherited]
Implementation& Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::asImp ( ) [inline, protected, inherited]
template<class HostGrid , class CoordFunction , class Allocator >
void Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::buildCache ( ) [inline]
template<class HostGrid , class CoordFunction , class Allocator = std::allocator< void >>
template<class HostEntity >
void Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::evaluate ( const HostEntity &  hostEntity,
unsigned int  corner,
RangeVector y 
) const [inline]
template<class HostGrid , class CoordFunction , class Allocator >
template<class HostEntity >
void Dune::CachedCoordFunction< HostGrid, CoordFunction, Allocator >::insertEntity ( const HostEntity &  hostEntity) [inline]

Member Data Documentation

const unsigned int Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::dimRange [static, inherited]

dimension of the range vector


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