dune-grid  2.2.1
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl > Class Template Reference

Interface class for using an analytical function to define the geometry of a Dune::GeometryGrid. An implementation should be derived from Dune::AnalyticalCoordFunction and the evaluate method mapping $ R^d\to R^r $ has to be supplied. More...

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

Inheritance diagram for Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >:
Dune::AnalyticalCoordFunction< ct, dimD, dimR, Impl >

Public Types

typedef This Interface
 
typedef Impl Implementation
 
typedef ct ctype
 field type of the coordinate vector More...
 
typedef FieldVector< ctype,
dimDomain
DomainVector
 domain vector for the evaluate method More...
 
typedef FieldVector< ctype,
dimRange
RangeVector
 range vector for the evaluate method More...
 

Public Member Functions

void evaluate (const DomainVector &x, RangeVector &y) const
 evaluate method for global mapping More...
 

Static Public Attributes

static const unsigned int dimDomain = dimD
 dimension of the range vector (dimensionworld of host grid) More...
 
static const unsigned int dimRange = dimR
 dimension of the range vector More...
 

Protected Member Functions

const ImplementationasImp () const
 
ImplementationasImp ()
 

Friends

class AnalyticalCoordFunction< ct, dimD, dimR, Impl >
 

Detailed Description

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
class Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >

Interface class for using an analytical function to define the geometry of a Dune::GeometryGrid. An implementation should be derived from Dune::AnalyticalCoordFunction and the evaluate method mapping $ R^d\to R^r $ has to be supplied.

Template Parameters
ctcoordinate field type (ct in Dune::GeometryGrid)
dimDdimension of the domain of the mapping (dimension in the host grid).
dimRdimension of the range of the mapping (dimensionworld in Dune::GeometryGrid)
Implimplementation class (BN trick)

Member Typedef Documentation

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
typedef ct Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::ctype

field type of the coordinate vector

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
typedef FieldVector< ctype, dimDomain > Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::DomainVector

domain vector for the evaluate method

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
typedef Impl Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::Implementation
template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
typedef This Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::Interface
template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
typedef FieldVector< ctype, dimRange > Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::RangeVector

range vector for the evaluate method

Member Function Documentation

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
const Implementation& Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::asImp ( ) const
inlineprotected
template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
Implementation& Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::asImp ( )
inlineprotected
template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
void Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::evaluate ( const DomainVector x,
RangeVector y 
) const
inline

evaluate method for global mapping

Friends And Related Function Documentation

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
friend class AnalyticalCoordFunction< ct, dimD, dimR, Impl >
friend

Member Data Documentation

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
const unsigned int Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::dimDomain = dimD
static

dimension of the range vector (dimensionworld of host grid)

template<class ct, unsigned int dimD, unsigned int dimR, class Impl>
const unsigned int Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::dimRange = dimR
static

dimension of the range vector


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