dune-grid
2.2.0
|
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 has to be supplied.
More...
#include <dune/grid/geometrygrid/coordfunction.hh>
Public Types | |
typedef This | Interface |
typedef Impl | Implementation |
typedef ct | ctype |
field type of the coordinate vector | |
typedef FieldVector< ctype, dimDomain > | DomainVector |
domain vector for the evaluate method | |
typedef FieldVector< ctype, dimRange > | RangeVector |
range vector for the evaluate method | |
Public Member Functions | |
void | evaluate (const DomainVector &x, RangeVector &y) const |
evaluate method for global mapping | |
Static Public Attributes | |
static const unsigned int | dimDomain = dimD |
dimension of the range vector (dimensionworld of host grid) | |
static const unsigned int | dimRange = dimR |
dimension of the range vector | |
Protected Member Functions | |
const Implementation & | asImp () const |
Implementation & | asImp () |
Friends | |
class | AnalyticalCoordFunction< 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 has to be supplied.
ct | coordinate field type (ct in Dune::GeometryGrid) |
dimD | dimension of the domain of the mapping (dimension in the host grid). |
dimR | dimension of the range of the mapping (dimensionworld in Dune::GeometryGrid) |
Impl | implementation class (BN trick) |
typedef ct Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::ctype |
field type of the coordinate vector
typedef FieldVector< ctype, dimDomain > Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::DomainVector |
domain vector for the evaluate method
Reimplemented in Dune::AnalyticalCoordFunction< ct, dimD, dimR, Impl >, Dune::AnalyticalCoordFunction< HostGrid::ctype, dim, dim, IdenticalCoordFunction< HostGrid::ctype, dim > >, Dune::AnalyticalCoordFunction< double, dimD, dimR, DGFCoordFunction< dimD, dimR > >, Dune::AnalyticalCoordFunction< ctype, dim, dim, IdenticalCoordFunction< ctype, dim > >, Dune::DGFCoordFunction< dimD, dimR >, Dune::IdenticalCoordFunction< ctype, dim >, and Dune::IdenticalCoordFunction< HostGrid::ctype, HostGrid::dimensionworld >.
typedef Impl Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::Implementation |
typedef This Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::Interface |
typedef FieldVector< ctype, dimRange > Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::RangeVector |
range vector for the evaluate method
Reimplemented in Dune::AnalyticalCoordFunction< ct, dimD, dimR, Impl >, Dune::AnalyticalCoordFunction< HostGrid::ctype, dim, dim, IdenticalCoordFunction< HostGrid::ctype, dim > >, Dune::AnalyticalCoordFunction< double, dimD, dimR, DGFCoordFunction< dimD, dimR > >, Dune::AnalyticalCoordFunction< ctype, dim, dim, IdenticalCoordFunction< ctype, dim > >, Dune::DGFCoordFunction< dimD, dimR >, Dune::IdenticalCoordFunction< ctype, dim >, and Dune::IdenticalCoordFunction< HostGrid::ctype, HostGrid::dimensionworld >.
const Implementation& Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::asImp | ( | ) | const [inline, protected] |
Implementation& Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::asImp | ( | ) | [inline, protected] |
void Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::evaluate | ( | const DomainVector & | x, |
RangeVector & | y | ||
) | const [inline] |
evaluate method for global mapping
Reimplemented in Dune::IdenticalCoordFunction< HostGrid::ctype, HostGrid::dimensionworld >.
friend class AnalyticalCoordFunction< ct, dimD, dimR, Impl > [friend] |
const unsigned int Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::dimDomain = dimD [static] |
dimension of the range vector (dimensionworld of host grid)
const unsigned int Dune::AnalyticalCoordFunctionInterface< ct, dimD, dimR, Impl >::dimRange = dimR [static] |
dimension of the range vector