dune-grid  2.3.1
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype > Class Template Reference

#include <dune/grid/alugrid/2d/geometry.hh>

Inheritance diagram for Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >:
Dune::MyALU2dGridGeometryImplBase< 2, LinearMapping< cdim, 1 > >

Public Types

typedef BaseType::ctype ctype
typedef BaseType::map_t map_t

Public Member Functions

 MyALU2dGridGeometryImpl ()
GeometryType type () const
template<class Geo , class LocalGeo >
void updateLocal (const Geo &geo, const LocalGeo &localGeo)
template<class Vector >
void update (const Vector &p0, const Vector &p1, const double volume)
ctype det (const map_t &m) const
void reset ()
 reset status and reference count
void operator++ ()
 increase reference count
void operator-- ()
 decrease reference count
bool operator! () const
 return true if object has no references anymore
bool stillUsed () const
 return true if there exists more then on reference
void invalidate ()
bool valid () const
double volume () const
bool affine () const
int corners () const
world_t corner (int i) const
void map2world (const map_t &m, world_t &w) const
void world2map (const world_t &w, map_t &m) const
const matrix_tjacobianTransposed (const map_t &m) const
const inv_tjacobianInverseTransposed (const map_t &m) const

Protected Types

enum  
typedef LinearMapping< cdim, 1 > MappingType
 the type of the mapping
typedef MappingType::world_t world_t
typedef MappingType::matrix_t matrix_t
typedef MappingType::inv_t inv_t
typedef ReferenceElement
< ctype, mydim > 
ReferenceElementType

Protected Member Functions

const MappingTypemapping () const

Protected Attributes

MappingType mapping_
 the mapping
const ReferenceElementTypereferenceElement_
 reference element
double volume_
 volume of element
unsigned int refCount_
 the reference counter
bool valid_
 valid flag, true if mapping was built

Static Protected Attributes

static const int corners_
 number of corners

Member Typedef Documentation

template<int cdim, ALU2DSPACE ElementType eltype>
typedef BaseType :: ctype Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::ctype
typedef MappingType::inv_t Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::inv_t
protectedinherited
template<int cdim, ALU2DSPACE ElementType eltype>
typedef BaseType :: map_t Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::map_t
typedef LinearMapping< cdim, 1 > Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::MappingType
protectedinherited

the type of the mapping

typedef MappingType::matrix_t Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::matrix_t
protectedinherited
typedef ReferenceElement< ctype, mydim > Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::ReferenceElementType
protectedinherited
typedef MappingType::world_t Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::world_t
protectedinherited

Member Enumeration Documentation

anonymous enum
protectedinherited

Constructor & Destructor Documentation

template<int cdim, ALU2DSPACE ElementType eltype>
Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::MyALU2dGridGeometryImpl ( )
inline

Member Function Documentation

bool Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::affine ( ) const
inlineinherited
world_t Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::corner ( int  i) const
inlineinherited
int Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::corners ( ) const
inlineinherited
template<int cdim, ALU2DSPACE ElementType eltype>
ctype Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::det ( const map_t m) const
inline
void Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::invalidate ( )
inlineinherited
const inv_t& Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::jacobianInverseTransposed ( const map_t m) const
inlineinherited
const matrix_t& Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::jacobianTransposed ( const map_t m) const
inlineinherited
void Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::map2world ( const map_t m,
world_t w 
) const
inlineinherited
const MappingType& Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::mapping ( ) const
inlineprotectedinherited
bool Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::operator! ( ) const
inlineinherited

return true if object has no references anymore

void Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::operator++ ( )
inlineinherited

increase reference count

void Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::operator-- ( )
inlineinherited

decrease reference count

void Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::reset ( )
inlineinherited

reset status and reference count

bool Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::stillUsed ( ) const
inlineinherited

return true if there exists more then on reference

template<int cdim, ALU2DSPACE ElementType eltype>
GeometryType Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::type ( ) const
inline
template<int cdim, ALU2DSPACE ElementType eltype>
template<class Vector >
void Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::update ( const Vector &  p0,
const Vector &  p1,
const double  volume 
)
inline
template<int cdim, ALU2DSPACE ElementType eltype>
template<class Geo , class LocalGeo >
void Dune::MyALU2dGridGeometryImpl< 1, cdim, eltype >::updateLocal ( const Geo &  geo,
const LocalGeo &  localGeo 
)
inline
bool Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::valid ( ) const
inlineinherited
double Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::volume ( ) const
inlineinherited
void Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::world2map ( const world_t w,
map_t m 
) const
inlineinherited

Member Data Documentation

const int Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::corners_
staticprotectedinherited

number of corners

MappingType Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::mapping_
protectedinherited

the mapping

unsigned int Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::refCount_
mutableprotectedinherited

the reference counter

const ReferenceElementType& Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::referenceElement_
protectedinherited

reference element

bool Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::valid_
protectedinherited

valid flag, true if mapping was built

double Dune::MyALU2dGridGeometryImplBase< ncorners, LinearMapping< cdim, 1 > >::volume_
protectedinherited

volume of element


The documentation for this class was generated from the following file: