FreePOOMA  2.4.1
Public Types | Static Public Member Functions
LeafFunctor< Engine< Dim, T, FieldShift< Expression > >, EngineView< Tag > > Struct Template Reference

The generic version of EngineView just accesses the contained engine and applies EngineView to it. More...

#include <FieldShiftEngine.h>

List of all members.

Public Types

typedef LeafFunctor
< Expression, EngineView< Tag > > 
LeafFunctor_t
typedef LeafFunctor_t::Type_t NewViewed_t
typedef Engine< Dim, T,
FieldShift< NewViewed_t > > 
Type_t

Static Public Member Functions

static Type_t apply (const Engine< Dim, T, FieldShift< Expression > > &engine, const EngineView< Tag > &tag)

Detailed Description

template<int Dim, class T, class Expression, class Tag>
struct LeafFunctor< Engine< Dim, T, FieldShift< Expression > >, EngineView< Tag > >

The generic version of EngineView just accesses the contained engine and applies EngineView to it.

The default version doesn't fiddle with the domain, since it is assumed that the typical view doesn't need to. Specializations will be required for INode views etc... Probably we should come up with a generic approach.


Member Typedef Documentation

template<int Dim, class T , class Expression , class Tag >
typedef LeafFunctor<Expression, EngineView<Tag> > LeafFunctor< Engine< Dim, T, FieldShift< Expression > >, EngineView< Tag > >::LeafFunctor_t
template<int Dim, class T , class Expression , class Tag >
typedef LeafFunctor_t::Type_t LeafFunctor< Engine< Dim, T, FieldShift< Expression > >, EngineView< Tag > >::NewViewed_t
template<int Dim, class T , class Expression , class Tag >
typedef Engine<Dim, T, FieldShift<NewViewed_t> > LeafFunctor< Engine< Dim, T, FieldShift< Expression > >, EngineView< Tag > >::Type_t

Member Function Documentation

template<int Dim, class T , class Expression , class Tag >
static Type_t LeafFunctor< Engine< Dim, T, FieldShift< Expression > >, EngineView< Tag > >::apply ( const Engine< Dim, T, FieldShift< Expression > > &  engine,
const EngineView< Tag > &  tag 
) [inline, static]

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