dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::RadialFilter< ct, dimw > Class Template Reference

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

#include <dune/fem/gridpart/filter/radialfilter.hh>

Public Types

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

Public Member Functions

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

Static Public Attributes

static constexpr int dimensionworld = dimw
 export dimension
 

Detailed Description

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

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

!

Member Typedef Documentation

◆ ctype

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

export template parameter

◆ GlobalCoordinateType

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

coordinate type

Constructor & Destructor Documentation

◆ RadialFilter()

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

constructor

Member Function Documentation

◆ contains()

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

◆ 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

◆ intersectionBoundary()

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

return what boundary id we have in case of boundary intersection

◆ intersectionBoundaryId()

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

return what boundary id we have in case of boundary intersection

◆ intersectionNeighbor()

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

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

Member Data Documentation

◆ dimensionworld

template<typename ct , int dimw>
constexpr int Dune::Fem::RadialFilter< ct, dimw >::dimensionworld = dimw
staticconstexpr

export dimension


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