Go to the documentation of this file.
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 );
59 class PeriodicFaceTransformationBlock::Matrix
63 std::vector< T > fields_;
74 return fields_[ i * cols_ + 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 ];
int cols() const
Definition: periodicfacetrans.hh:87
Matrix< double > matrix
Definition: periodicfacetrans.hh:99
std::ostream & operator<<(std::ostream &out, const IntervalBlock::Interval &interval)
Definition: interval.hh:121
Matrix(int rows, int cols)
Definition: periodicfacetrans.hh:66
int numTransformations() const
Definition: periodicfacetrans.hh:45
Definition: periodicfacetrans.hh:25
const AffineTransformation & transformation(int i) const
Definition: periodicfacetrans.hh:39
Definition: periodicfacetrans.hh:21
const T & operator()(int i, int j) const
Definition: periodicfacetrans.hh:72
std::vector< double > shift
Definition: periodicfacetrans.hh:100
int rows() const
Definition: periodicfacetrans.hh:82
AffineTransformation(int dimworld)
Definition: periodicfacetrans.hh:102
Include standard header files.
Definition: agrid.hh:58
Definition: periodicfacetrans.hh:97