dune-grid  2.7.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Dune::CircleBoundaryProjection< dimworld > Struct Template Reference

#include <dune/grid/common/boundaryprojection.hh>

Inheritance diagram for Dune::CircleBoundaryProjection< dimworld >:
Inheritance graph

Public Types

typedef FieldVector< double, dimworld > CoordinateType
 type of coordinate vector More...
 
typedef DuneBoundaryProjection< dimworld > ThisType
 
typedef BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > BaseType
 
typedef BaseType ::ObjectStreamType ObjectStreamType
 

Public Member Functions

 CircleBoundaryProjection (const double radius=std::sqrt((double) dimworld))
 constructor taking radius of circle (default = sqrt( dimworld ) ) More...
 
virtual ~CircleBoundaryProjection ()
 destructor More...
 
virtual CoordinateType operator() (const CoordinateType &global) const
 projection operator projection a global coordinate More...
 
virtual void backup (ObjectStreamType &buffer) const
 write DuneBoundaryProjection's data to stream buffer More...
 
template<class BufferImp >
void toBuffer (BufferImp &buffer) const
 
template<class BufferImp >
void toBuffer (MessageBufferIF< BufferImp > &buffer) const
 

Static Public Member Functions

template<class BufferImp >
static std::unique_ptr< ThisTyperestoreFromBuffer (BufferImp &buffer)
 
template<class BufferImp >
static std::unique_ptr< ThisTyperestoreFromBuffer (MessageBufferIF< BufferImp > &buffer)
 

Protected Attributes

const double radius_
 radius of circ More...
 

Member Typedef Documentation

◆ BaseType

template<int dimworld>
typedef BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > Dune::DuneBoundaryProjection< dimworld >::BaseType
inherited

◆ CoordinateType

template<int dimworld>
typedef FieldVector< double, dimworld> Dune::CircleBoundaryProjection< dimworld >::CoordinateType

type of coordinate vector

◆ ObjectStreamType

template<int dimworld>
typedef BaseType :: ObjectStreamType Dune::DuneBoundaryProjection< dimworld >::ObjectStreamType
inherited

◆ ThisType

template<int dimworld>
typedef DuneBoundaryProjection< dimworld > Dune::DuneBoundaryProjection< dimworld >::ThisType
inherited

Constructor & Destructor Documentation

◆ CircleBoundaryProjection()

template<int dimworld>
Dune::CircleBoundaryProjection< dimworld >::CircleBoundaryProjection ( const double  radius = std::sqrt( (double)dimworld ))
inline

constructor taking radius of circle (default = sqrt( dimworld ) )

◆ ~CircleBoundaryProjection()

template<int dimworld>
virtual Dune::CircleBoundaryProjection< dimworld >::~CircleBoundaryProjection ( )
inlinevirtual

destructor

Member Function Documentation

◆ backup()

template<int dimworld>
virtual void Dune::DuneBoundaryProjection< dimworld >::backup ( ObjectStreamType buffer) const
inlinevirtualinherited

write DuneBoundaryProjection's data to stream buffer

Parameters
bufferbuffer to store data

Reimplemented in Dune::BoundarySegmentWrapper< dim, dimworld >.

◆ operator()()

template<int dimworld>
virtual CoordinateType Dune::CircleBoundaryProjection< dimworld >::operator() ( const CoordinateType global) const
inlinevirtual

projection operator projection a global coordinate

Implements Dune::DuneBoundaryProjection< dimworld >.

◆ restoreFromBuffer() [1/2]

template<int dimworld>
template<class BufferImp >
static std::unique_ptr< ThisType > Dune::DuneBoundaryProjection< dimworld >::restoreFromBuffer ( BufferImp &  buffer)
inlinestaticinherited

◆ restoreFromBuffer() [2/2]

template<int dimworld>
template<class BufferImp >
static std::unique_ptr< ThisType > Dune::DuneBoundaryProjection< dimworld >::restoreFromBuffer ( MessageBufferIF< BufferImp > &  buffer)
inlinestaticinherited

◆ toBuffer() [1/2]

template<int dimworld>
template<class BufferImp >
void Dune::DuneBoundaryProjection< dimworld >::toBuffer ( BufferImp &  buffer) const
inlineinherited

◆ toBuffer() [2/2]

template<int dimworld>
template<class BufferImp >
void Dune::DuneBoundaryProjection< dimworld >::toBuffer ( MessageBufferIF< BufferImp > &  buffer) const
inlineinherited

Member Data Documentation

◆ radius_

template<int dimworld>
const double Dune::CircleBoundaryProjection< dimworld >::radius_
protected

radius of circ


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