dune-grid  2.7.1
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Dune::CachedCoordFunction< HostGrid, CoordFunction > Class Template Reference

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

Inheritance diagram for Dune::CachedCoordFunction< HostGrid, CoordFunction >:
Inheritance graph

Public Types

typedef Base::ctype ctype
 
typedef Base::RangeVector RangeVector
 
typedef This Interface
 
typedef CachedCoordFunction< HostGrid, CoordFunction > Implementation
 

Public Member Functions

 CachedCoordFunction (const HostGrid &hostGrid, const CoordFunction &coordFunction=CoordFunction())
 
void adapt ()
 
void buildCache ()
 
template<class HostEntity >
void insertEntity (const HostEntity &hostEntity)
 
template<class HostEntity >
void evaluate (const HostEntity &hostEntity, unsigned int corner, RangeVector &y) const
 
void evaluate (const HostEntity &hostEntity, unsigned int corner, RangeVector &y) const
 evaluate method More...
 

Static Public Attributes

static const unsigned int dimRange
 dimension of the range vector More...
 

Protected Member Functions

const ImplementationasImp () const
 
ImplementationasImp ()
 

Member Typedef Documentation

◆ ctype

template<class HostGrid , class CoordFunction >
typedef Base::ctype Dune::CachedCoordFunction< HostGrid, CoordFunction >::ctype

◆ Implementation

typedef CachedCoordFunction< HostGrid, CoordFunction > Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::Implementation
inherited

◆ Interface

typedef This Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::Interface
inherited

◆ RangeVector

template<class HostGrid , class CoordFunction >
typedef Base::RangeVector Dune::CachedCoordFunction< HostGrid, CoordFunction >::RangeVector

Constructor & Destructor Documentation

◆ CachedCoordFunction()

template<class HostGrid , class CoordFunction >
Dune::CachedCoordFunction< HostGrid, CoordFunction >::CachedCoordFunction ( const HostGrid &  hostGrid,
const CoordFunction &  coordFunction = CoordFunction() 
)
inlineexplicit

Member Function Documentation

◆ adapt()

template<class HostGrid , class CoordFunction >
void Dune::CachedCoordFunction< HostGrid, CoordFunction >::adapt ( )
inline

◆ asImp() [1/2]

Implementation& Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/2]

const Implementation& Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::asImp ( ) const
inlineprotectedinherited

◆ buildCache()

template<class HostGrid , class CoordFunction >
void Dune::CachedCoordFunction< HostGrid, CoordFunction >::buildCache
inline

◆ evaluate() [1/2]

template<class HostGrid , class CoordFunction >
template<class HostEntity >
void Dune::CachedCoordFunction< HostGrid, CoordFunction >::evaluate ( const HostEntity &  hostEntity,
unsigned int  corner,
RangeVector y 
) const
inline

◆ evaluate() [2/2]

void Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::evaluate ( const HostEntity &  hostEntity,
unsigned int  corner,
RangeVector y 
) const
inlineinherited

evaluate method

Parameters
hostEntityan entity of the host grid
cornerthe local number of the corner in the host entity
yreturn value for the coordinate of this corner
Note
This method needs to work for entities of all codimensions, not just for elements!

◆ insertEntity()

template<class HostGrid , class CoordFunction >
template<class HostEntity >
void Dune::CachedCoordFunction< HostGrid, CoordFunction >::insertEntity ( const HostEntity &  hostEntity)
inline

Member Data Documentation

◆ dimRange

const unsigned int Dune::DiscreteCoordFunctionInterface< CoordFunction::ctype , dimR, CachedCoordFunction< HostGrid, CoordFunction > >::dimRange
staticinherited

dimension of the range vector


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