5#ifndef DUNE_DGF_PERIODICFACETRANSBLOCK_HH
6#define DUNE_DGF_PERIODICFACETRANSBLOCK_HH
32 std::vector< AffineTransformation > transformations_;
44 return transformations_[ i ];
49 return transformations_.size();
53 void match (
char what );
65 std::vector< T > fields_;
76 return fields_[ i * cols_ + j ];
81 return fields_[ i * cols_ + j ];
105 :
matrix( dimworld, dimworld ),
111 inline std::ostream &
114 for(
int i = 0; i < trafo.
matrix.
rows(); ++i )
116 out << (i > 0 ?
", " :
"");
117 for(
int j = 0; j < trafo.
matrix.
cols(); ++j )
118 out << (j > 0 ?
" " :
"") << trafo.
matrix( i, j );
121 for(
unsigned int i = 0; i < trafo.
shift.size(); ++i )
122 out <<
" " << trafo.
shift[ i ];
Include standard header files.
Definition: agrid.hh:60
std::ostream & operator<<(std::ostream &out, const IntervalBlock::Interval &interval)
Definition: interval.hh:123
Definition: periodicfacetrans.hh:25
int numTransformations() const
Definition: periodicfacetrans.hh:47
const AffineTransformation & transformation(int i) const
Definition: periodicfacetrans.hh:41
Definition: periodicfacetrans.hh:62
int rows() const
Definition: periodicfacetrans.hh:84
const T & operator()(int i, int j) const
Definition: periodicfacetrans.hh:74
int cols() const
Definition: periodicfacetrans.hh:89
Matrix(int rows, int cols)
Definition: periodicfacetrans.hh:68
Definition: periodicfacetrans.hh:100
Matrix< double > matrix
Definition: periodicfacetrans.hh:101
std::vector< double > shift
Definition: periodicfacetrans.hh:102
AffineTransformation(int dimworld)
Definition: periodicfacetrans.hh:104