dune-grid
2.1.1
|
A linear mapping. More...
#include <dune/grid/alugrid/3d/mappings.hh>
Public Types | |
typedef alu3d_ctype | ctype |
typedef ctype | double_t [cdim] |
typedef FieldVector< ctype, cdim > | world_t |
typedef FieldVector< ctype, mydim > | map_t |
typedef FieldMatrix< ctype, mydim, cdim > | matrix_t |
typedef FieldMatrix< ctype, cdim, mydim > | inv_t |
Public Member Functions | |
LinearMapping () | |
Constructor creating empty mapping with double , i.e. zero. | |
LinearMapping (const LinearMapping &) | |
copy constructor | |
bool | affine () const |
const matrix_t & | jacobianTransposed (const map_t &) const |
const inv_t & | jacobianInverseTransposed (const map_t &) const |
ctype | det (const map_t &) const |
void | world2map (const world_t &, map_t &) const |
void | map2world (const map_t &, world_t &) const |
template<class vector_t > | |
void | buildMapping (const vector_t &, const vector_t &, const vector_t &, const vector_t &) |
template<class vector_t > | |
void | buildMapping (const vector_t &, const vector_t &, const vector_t &) |
template<class vector_t > | |
void | buildMapping (const vector_t &, const vector_t &) |
template<class vector_t > | |
void | buildMapping (const vector_t &) |
Protected Member Functions | |
void | inverse (const map_t &) const |
void | inverseCodimOne (const map_t &) const |
void | calculateDeterminant (const map_t &) const |
void | multTransposedMatrix (const matrix_t &matrix, FieldMatrix< ctype, mydim, mydim > &result) const |
void | multMatrix (const matrix_t &A, const FieldMatrix< ctype, mydim, mydim > &B, inv_t &ret) const |
Protected Attributes | |
matrix_t | _matrix |
transformation matrix (transposed) | |
inv_t | _invTransposed |
storage for inverse of jacobian (transposed) | |
world_t | _p0 |
ctype | _det |
P[0]. | |
bool | _calcedInv |
true if inverse has been calculated | |
bool | _calcedDet |
true if determinant has been calculated |
A linear mapping.
typedef alu3d_ctype Dune::LinearMapping< cdim, mydim >::ctype |
typedef ctype Dune::LinearMapping< cdim, mydim >::double_t[cdim] |
typedef FieldMatrix< ctype, cdim, mydim > Dune::LinearMapping< cdim, mydim >::inv_t |
typedef FieldVector< ctype, mydim > Dune::LinearMapping< cdim, mydim >::map_t |
typedef FieldMatrix< ctype, mydim, cdim > Dune::LinearMapping< cdim, mydim >::matrix_t |
typedef FieldVector< ctype, cdim > Dune::LinearMapping< cdim, mydim >::world_t |
Dune::LinearMapping< cdim, mydim >::LinearMapping | ( | ) |
Constructor creating empty mapping with double , i.e. zero.
Dune::LinearMapping< cdim, mydim >::LinearMapping | ( | const LinearMapping< cdim, mydim > & | ) |
copy constructor
bool Dune::LinearMapping< cdim, mydim >::affine | ( | ) | const [inline] |
void Dune::LinearMapping< cdim, mydim >::buildMapping | ( | const vector_t & | , |
const vector_t & | , | ||
const vector_t & | , | ||
const vector_t & | |||
) |
Referenced by Dune::MyALUGridGeometryImplementation< cdim >::GeometryImpl< dummy, dim, eltype >::mapping(), Dune::MyALUGridGeometryImplementation< cdim >::GeometryImpl< dummy, 1, eltype >::mapping(), Dune::MyALUGridGeometryImplementation< cdim >::GeometryImpl< dummy, 2, tetra >::mapping(), Dune::MyALUGridGeometryImplementation< cdim >::GeometryImpl< dummy, 2, hexa >::mapping(), Dune::MyALUGridGeometryImplementation< cdim >::GeometryImpl< dummy, 3, hexa >::mapping(), and Dune::MyALUGridGeometryImplementation< cdim >::GeometryImpl< dummy, 3, tetra >::mapping().
void Dune::LinearMapping< cdim, mydim >::buildMapping | ( | const vector_t & | , |
const vector_t & | , | ||
const vector_t & | |||
) |
void Dune::LinearMapping< cdim, mydim >::buildMapping | ( | const vector_t & | , |
const vector_t & | |||
) |
void Dune::LinearMapping< cdim, mydim >::buildMapping | ( | const vector_t & | ) |
void Dune::LinearMapping< cdim, mydim >::calculateDeterminant | ( | const map_t & | ) | const [protected] |
ctype Dune::LinearMapping< cdim, mydim >::det | ( | const map_t & | ) | const |
void Dune::LinearMapping< cdim, mydim >::inverse | ( | const map_t & | ) | const [protected] |
void Dune::LinearMapping< cdim, mydim >::inverseCodimOne | ( | const map_t & | ) | const [protected] |
const inv_t& Dune::LinearMapping< cdim, mydim >::jacobianInverseTransposed | ( | const map_t & | ) | const |
const matrix_t& Dune::LinearMapping< cdim, mydim >::jacobianTransposed | ( | const map_t & | ) | const |
void Dune::LinearMapping< cdim, mydim >::map2world | ( | const map_t & | , |
world_t & | |||
) | const |
void Dune::LinearMapping< cdim, mydim >::multMatrix | ( | const matrix_t & | A, |
const FieldMatrix< ctype, mydim, mydim > & | B, | ||
inv_t & | ret | ||
) | const [protected] |
void Dune::LinearMapping< cdim, mydim >::multTransposedMatrix | ( | const matrix_t & | matrix, |
FieldMatrix< ctype, mydim, mydim > & | result | ||
) | const [protected] |
void Dune::LinearMapping< cdim, mydim >::world2map | ( | const world_t & | , |
map_t & | |||
) | const |
bool Dune::LinearMapping< cdim, mydim >::_calcedDet [mutable, protected] |
true if determinant has been calculated
bool Dune::LinearMapping< cdim, mydim >::_calcedInv [mutable, protected] |
true if inverse has been calculated
ctype Dune::LinearMapping< cdim, mydim >::_det [mutable, protected] |
P[0].
stores the determinant of the inverse
inv_t Dune::LinearMapping< cdim, mydim >::_invTransposed [mutable, protected] |
storage for inverse of jacobian (transposed)
matrix_t Dune::LinearMapping< cdim, mydim >::_matrix [protected] |
transformation matrix (transposed)
world_t Dune::LinearMapping< cdim, mydim >::_p0 [protected] |