3 #ifndef DUNE_DGF_PERIODICFACETRANSBLOCK_HH 4 #define DUNE_DGF_PERIODICFACETRANSBLOCK_HH 30 std::vector< AffineTransformation > transformations_;
42 return transformations_[ i ];
47 return transformations_.size();
51 void match (
char what );
63 std::vector< T > fields_;
69 fields_( rows * cols )
72 const T &operator() (
int i,
int j )
const 74 return fields_[ i * cols_ + j ];
77 T &operator() (
int i,
int j )
79 return fields_[ i * cols_ + j ];
103 : matrix( dimworld, dimworld ),
109 inline std::ostream &
112 for(
int i = 0; i < trafo.
matrix.
rows(); ++i )
114 out << (i > 0 ?
", " :
"");
115 for(
int j = 0; j < trafo.
matrix.
cols(); ++j )
116 out << (j > 0 ?
" " :
"") << trafo.
matrix( i, j );
119 for(
unsigned int i = 0; i < trafo.
shift.size(); ++i )
120 out <<
" " << trafo.
shift[ i ];
std::vector< double > shift
Definition: periodicfacetrans.hh:100
int rows() const
Definition: periodicfacetrans.hh:82
int cols() const
Definition: periodicfacetrans.hh:87
AffineTransformation(int dimworld)
Definition: periodicfacetrans.hh:102
int numTransformations() const
Definition: periodicfacetrans.hh:45
Definition: periodicfacetrans.hh:21
Definition: periodicfacetrans.hh:97
Definition: periodicfacetrans.hh:25
const AffineTransformation & transformation(int i) const
Definition: periodicfacetrans.hh:39
friend std ::ostream & operator<<(std ::ostream &os, const BasicBlock &b)
Definition: basic.hh:101
Matrix(int rows, int cols)
Definition: periodicfacetrans.hh:66
Matrix< double > matrix
Definition: periodicfacetrans.hh:99
Include standard header files.
Definition: agrid.hh:58