dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | 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 >:
Inheritance graph

Public Types

typedef This Interface
 
typedef Impl Implementation
 
typedef ct ctype
 field type of the coordinate vector More...
 
typedef FieldVector< ctype, dimDomainDomainVector
 domain vector for the evaluate method More...
 
typedef FieldVector< ctype, dimRangeRangeVector
 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 ()
 

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

◆ ctype

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

◆ DomainVector

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

◆ Implementation

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

◆ Interface

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

◆ RangeVector

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

◆ asImp() [1/2]

template<class ct , unsigned int dimD, unsigned int dimR, class Impl >
Implementation & Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::asImp ( )
inlineprotected

◆ asImp() [2/2]

template<class ct , unsigned int dimD, unsigned int dimR, class Impl >
const Implementation & Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::asImp ( ) const
inlineprotected

◆ evaluate()

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

evaluate method for global mapping

Member Data Documentation

◆ dimDomain

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)

◆ dimRange

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: