dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::ThreadFilter< GridPartImp > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/gridpart/filter/threadfilter.hh>

Inheritance diagram for Dune::Fem::ThreadFilter< GridPartImp >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef Traits::FilterType FilterType
 type of the filter implementation More...
 
typedef GridPartType::IndexSetType IndexSetType
 type of index set More...
 
typedef Traits::EntityType EntityType
 type of codim 0 entity More...
 
typedef MutableArray< int > ThreadArrayType
 

Public Member Functions

 ThreadFilter (const GridPartType &gridPart, const ThreadArrayType &threadNum, const int thead)
 constructor More...
 
 ThreadFilter (const ThisType &other)
 copy constructor More...
 
template<class Intersection >
bool interiorIntersection (const Intersection &intersection) const
 return false since all interior intersections should be skipped More...
 
template<int cd>
bool contains (const typename Codim< cd >::EntityType &entity) const
 returns true if the given entity has the correct thread number for higher codims false is returned More...
 
template<class Entity >
bool contains (const Entity &entity) const
 returns true if the given entity has the correct thread number for higher codims false is returned More...
 
template<class Intersection >
bool intersectionBoundary (const Intersection &intersection) const
 returns true if an intersection is a boundary intersection More...
 
template<class Intersection >
int intersectionBoundaryId (const Intersection &intersection) const
 returns the boundary id for an intersection More...
 
template<class Intersection >
bool intersectionNeighbor (const Intersection &intersection) const
 returns true if for an intersection a neighbor exsits More...
 
bool contains (const typename Codim< cd >::EntityType &) const
 returns true if the given entity of the pointer in the domain More...
 
template<int cd>
bool contains (const typename Codim< cd >::EntityType &entity) const
 returns true if the given entity of the pointer in the domain More...
 

Protected Member Functions

FilterTypeasImp ()
 
const FilterTypeasImp () const
 

Protected Attributes

const IndexSetTypeindexSet_
 
const ThreadArrayTypethreadNum_
 
const int thread_
 

Member Typedef Documentation

template<class GridPartImp >
typedef Traits::EntityType Dune::Fem::ThreadFilter< GridPartImp >::EntityType

type of codim 0 entity

template<class GridPartImp >
typedef Traits::FilterType Dune::Fem::ThreadFilter< GridPartImp >::FilterType

type of the filter implementation

template<class GridPartImp >
typedef GridPartType :: IndexSetType Dune::Fem::ThreadFilter< GridPartImp >::IndexSetType

type of index set

template<class GridPartImp >
typedef MutableArray< int > Dune::Fem::ThreadFilter< GridPartImp >::ThreadArrayType

Constructor & Destructor Documentation

template<class GridPartImp >
Dune::Fem::ThreadFilter< GridPartImp >::ThreadFilter ( const GridPartType &  gridPart,
const ThreadArrayType threadNum,
const int  thead 
)
inline

constructor

template<class GridPartImp >
Dune::Fem::ThreadFilter< GridPartImp >::ThreadFilter ( const ThisType other)
inline

copy constructor

Member Function Documentation

template<class FilterTraits>
FilterType& Dune::Fem::FilterInterface< FilterTraits >::asImp ( )
inlineprotectedinherited
template<class FilterTraits>
const FilterType& Dune::Fem::FilterInterface< FilterTraits >::asImp ( ) const
inlineprotectedinherited
template<class FilterTraits>
template<int cd>
bool Dune::Fem::FilterInterface< FilterTraits >::contains ( const typename Codim< cd >::EntityType entity) const
inlineinherited

returns true if the given entity of the pointer in the domain

template<class GridPartImp >
template<int cd>
bool Dune::Fem::ThreadFilter< GridPartImp >::contains ( const typename Codim< cd >::EntityType entity) const
inline

returns true if the given entity has the correct thread number for higher codims false is returned

template<class GridPartImp >
template<class Entity >
bool Dune::Fem::ThreadFilter< GridPartImp >::contains ( const Entity &  entity) const
inline

returns true if the given entity has the correct thread number for higher codims false is returned

bool Dune::Fem::FilterDefaultImplementation< ThreadFilterTraits< GridPartImp > >::contains ( const typename Codim< cd >::EntityType ) const
inherited

returns true if the given entity of the pointer in the domain

template<class GridPartImp >
template<class Intersection >
bool Dune::Fem::ThreadFilter< GridPartImp >::interiorIntersection ( const Intersection &  intersection) const
inline

return false since all interior intersections should be skipped

template<class GridPartImp >
template<class Intersection >
bool Dune::Fem::ThreadFilter< GridPartImp >::intersectionBoundary ( const Intersection &  intersection) const
inline

returns true if an intersection is a boundary intersection

template<class GridPartImp >
template<class Intersection >
int Dune::Fem::ThreadFilter< GridPartImp >::intersectionBoundaryId ( const Intersection &  intersection) const
inline

returns the boundary id for an intersection

template<class GridPartImp >
template<class Intersection >
bool Dune::Fem::ThreadFilter< GridPartImp >::intersectionNeighbor ( const Intersection &  intersection) const
inline

returns true if for an intersection a neighbor exsits

Member Data Documentation

template<class GridPartImp >
const IndexSetType& Dune::Fem::ThreadFilter< GridPartImp >::indexSet_
protected
template<class GridPartImp >
const int Dune::Fem::ThreadFilter< GridPartImp >::thread_
protected
template<class GridPartImp >
const ThreadArrayType& Dune::Fem::ThreadFilter< GridPartImp >::threadNum_
protected

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