dune-grid
2.2.0
|
specialization for dim=0, this is a vertex More...
#include <dune/grid/yaspgrid.hh>
Public Types | |
typedef GridImp::ctype | ctype |
typedef FieldVector< ctype, mydim > | LocalCoordinate |
typedef FieldVector< ctype, cdim > | GlobalCoordinate |
typedef FieldMatrix< ctype, cdim, mydim > | Jacobian |
type of jacobian (also of jacobian inverse transposed) | |
typedef FieldMatrix< ctype, mydim, cdim > | JacobianTransposed |
type of jacobian transposed | |
Public Member Functions | |
GeometryType | type () const |
return the element type identifier | |
bool | affine () const |
here we have always an affine geometry | |
int | corners () const |
return the number of corners of this element. Corners are numbered 0...n-1 | |
const FieldVector< ctype, cdim > & | operator[] (int i) const |
access to coordinates of corners. Index is the number of the corner | |
FieldVector< ctype, cdim > | corner (const int i) const |
access to coordinates of corners. Index is the number of the corner | |
FieldVector< ctype, cdim > | center () const |
access to the center/centroid | |
ctype | integrationElement (const FieldVector< ctype, 0 > &local) const |
FieldMatrix< ctype, 0, cdim > & | jacobianTransposed (const FieldVector< ctype, 0 > &local) const |
Compute the transposed of the jacobi matrix. | |
FieldMatrix< ctype, cdim, 0 > & | jacobianInverseTransposed (const FieldVector< ctype, 0 > &local) const |
Compute the transposed of the inverse jacobi matrix. | |
YaspGeometry () | |
default constructor | |
YaspGeometry (const FieldVector< ctype, cdim > &p) | |
constructor | |
YaspGeometry (const FieldVector< ctype, cdim > &p, const FieldVector< ctype, cdim > &, uint8_t &) | |
void | print (std::ostream &s) const |
print function | |
ctype | volume () const |
return volume of the geometry | |
Static Public Attributes | |
static const int | mydimension |
static const int | coorddimension |
specialization for dim=0, this is a vertex
typedef GridImp::ctype Dune::YaspGeometry< 0, cdim, GridImp >::ctype |
Reimplemented from Dune::GeometryDefaultImplementation< 0, cdim, GridImp, YaspGeometry >.
typedef FieldVector< ctype, cdim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::GlobalCoordinate [inherited] |
typedef FieldMatrix<ctype,cdim,mydim> Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::Jacobian [inherited] |
type of jacobian (also of jacobian inverse transposed)
typedef FieldMatrix< ctype, mydim, cdim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::JacobianTransposed [inherited] |
type of jacobian transposed
typedef FieldVector< ctype, mydim > Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::LocalCoordinate [inherited] |
Dune::YaspGeometry< 0, cdim, GridImp >::YaspGeometry | ( | ) | [inline] |
default constructor
Dune::YaspGeometry< 0, cdim, GridImp >::YaspGeometry | ( | const FieldVector< ctype, cdim > & | p | ) | [inline, explicit] |
constructor
Dune::YaspGeometry< 0, cdim, GridImp >::YaspGeometry | ( | const FieldVector< ctype, cdim > & | p, |
const FieldVector< ctype, cdim > & | , | ||
uint8_t & | |||
) | [inline] |
bool Dune::YaspGeometry< 0, cdim, GridImp >::affine | ( | ) | const [inline] |
here we have always an affine geometry
FieldVector< ctype, cdim > Dune::YaspGeometry< 0, cdim, GridImp >::center | ( | ) | const [inline] |
access to the center/centroid
Reimplemented from Dune::GeometryDefaultImplementation< 0, cdim, GridImp, YaspGeometry >.
FieldVector< ctype, cdim > Dune::YaspGeometry< 0, cdim, GridImp >::corner | ( | const int | i | ) | const [inline] |
access to coordinates of corners. Index is the number of the corner
int Dune::YaspGeometry< 0, cdim, GridImp >::corners | ( | ) | const [inline] |
return the number of corners of this element. Corners are numbered 0...n-1
ctype Dune::YaspGeometry< 0, cdim, GridImp >::integrationElement | ( | const FieldVector< ctype, 0 > & | local | ) | const [inline] |
determinant of the jacobian of the mapping
FieldMatrix<ctype,cdim,0>& Dune::YaspGeometry< 0, cdim, GridImp >::jacobianInverseTransposed | ( | const FieldVector< ctype, 0 > & | local | ) | const [inline] |
Compute the transposed of the inverse jacobi matrix.
FieldMatrix<ctype,0,cdim>& Dune::YaspGeometry< 0, cdim, GridImp >::jacobianTransposed | ( | const FieldVector< ctype, 0 > & | local | ) | const [inline] |
Compute the transposed of the jacobi matrix.
const FieldVector<ctype, cdim>& Dune::YaspGeometry< 0, cdim, GridImp >::operator[] | ( | int | i | ) | const [inline] |
access to coordinates of corners. Index is the number of the corner
void Dune::YaspGeometry< 0, cdim, GridImp >::print | ( | std::ostream & | s | ) | const [inline] |
print function
GeometryType Dune::YaspGeometry< 0, cdim, GridImp >::type | ( | ) | const [inline] |
return the element type identifier
References Dune::cube.
ctype Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::volume | ( | ) | const [inline, inherited] |
return volume of the geometry
const int Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::coorddimension [static, inherited] |
const int Dune::GeometryDefaultImplementation< mydim, cdim, GridImp, YaspGeometry >::mydimension [static, inherited] |