5#ifndef DUNE_ALBERTA_TRANSFORMATION_HH
6#define DUNE_ALBERTA_TRANSFORMATION_HH
8#include <dune/common/fvector.hh>
30 : matrix_( (trafo != NULL ? trafo->M :
GlobalSpace::identityMatrix()) ),
31 shift_( (trafo != NULL ? trafo->t :
GlobalSpace::nullVector()) )
48 y[ i ] += row[ j ] * x[ j ];
60 const ctype v = y[ i ] - shift_[ i ];
62 x[ j ] += row[ j ] * v;
Include standard header files.
Definition: agrid.hh:60
ALBERTA AFF_TRAFO AffineTransformation
Definition: misc.hh:52
ALBERTA REAL Real
Definition: misc.hh:48
static const int dimWorld
Definition: misc.hh:46
GlobalMatrix Matrix
Definition: misc.hh:106
GlobalVector Vector
Definition: misc.hh:107
Definition: transformation.hh:18
AlbertaTransformation(const Alberta::AffineTransformation *trafo=NULL)
Definition: transformation.hh:29
static const int dimension
Definition: transformation.hh:24
FieldVector< ctype, dimension > WorldVector
Definition: transformation.hh:26
AlbertaTransformation(const GlobalSpace::Matrix &matrix, const GlobalSpace::Vector &shift)
Definition: transformation.hh:34
Alberta::Real ctype
Definition: transformation.hh:22
WorldVector evaluateInverse(const WorldVector &y) const
Definition: transformation.hh:53
WorldVector evaluate(const WorldVector &x) const
Definition: transformation.hh:40