dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::RadialFilter< ct, dimw > Class Template Reference

example implementation; given center x and radius r, filter is characteristic function of clos B_r( x ) More...

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

Public Types

typedef ct ctype
 export template parameter More...
 
typedef Dune::FieldVector< ct, dimw > GlobalCoordinateType
 coordinate type More...
 

Public Member Functions

 RadialFilter (const GlobalCoordinateType &center, const ctype radius)
 constructor More...
 
 RadialFilter ()
 
template<class Entity >
bool contains (const Entity &entity) const
 check whether entity center is inside of circle More...
 
template<class Intersection >
bool interiorIntersection (const Intersection &intersection) const
 default implementation returns contains from neighbor More...
 
template<class IntersectionIteratorType >
bool intersectionBoundary (const IntersectionIteratorType &it) const
 return what boundary id we have in case of boundary intersection More...
 
template<class IntersectionIteratorType >
int intersectionBoundaryId (const IntersectionIteratorType &it) const
 return what boundary id we have in case of boundary intersection More...
 
template<class IntersectionIteratorType >
bool intersectionNeighbor (const IntersectionIteratorType &it) const
 if contains() is true then we have an interior entity More...
 

Static Public Attributes

static const int dimensionworld = dimw
 export dimension More...
 

Detailed Description

template<typename ct, int dimw>
class Dune::Fem::RadialFilter< ct, dimw >

example implementation; given center x and radius r, filter is characteristic function of clos B_r( x )

!

Member Typedef Documentation

template<typename ct , int dimw>
typedef ct Dune::Fem::RadialFilter< ct, dimw >::ctype

export template parameter

template<typename ct , int dimw>
typedef Dune::FieldVector< ct, dimw > Dune::Fem::RadialFilter< ct, dimw >::GlobalCoordinateType

coordinate type

Constructor & Destructor Documentation

template<typename ct , int dimw>
Dune::Fem::RadialFilter< ct, dimw >::RadialFilter ( const GlobalCoordinateType center,
const ctype  radius 
)
inline

constructor

template<typename ct , int dimw>
Dune::Fem::RadialFilter< ct, dimw >::RadialFilter ( )
inline

Member Function Documentation

template<typename ct , int dimw>
template<class Entity >
bool Dune::Fem::RadialFilter< ct, dimw >::contains ( const Entity &  entity) const
inline

check whether entity center is inside of circle

Referenced by Dune::Fem::RadialFilter< ct, dimw >::interiorIntersection().

template<typename ct , int dimw>
template<class Intersection >
bool Dune::Fem::RadialFilter< ct, dimw >::interiorIntersection ( const Intersection &  intersection) const
inline

default implementation returns contains from neighbor

References Dune::Fem::RadialFilter< ct, dimw >::contains().

template<typename ct , int dimw>
template<class IntersectionIteratorType >
bool Dune::Fem::RadialFilter< ct, dimw >::intersectionBoundary ( const IntersectionIteratorType &  it) const
inline

return what boundary id we have in case of boundary intersection

template<typename ct , int dimw>
template<class IntersectionIteratorType >
int Dune::Fem::RadialFilter< ct, dimw >::intersectionBoundaryId ( const IntersectionIteratorType &  it) const
inline

return what boundary id we have in case of boundary intersection

template<typename ct , int dimw>
template<class IntersectionIteratorType >
bool Dune::Fem::RadialFilter< ct, dimw >::intersectionNeighbor ( const IntersectionIteratorType &  it) const
inline

if contains() is true then we have an interior entity

Member Data Documentation

template<typename ct , int dimw>
const int Dune::Fem::RadialFilter< ct, dimw >::dimensionworld = dimw
static

export dimension


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