DUNE PDELab (git)

Dune::DuneBoundaryProjection< dimworld > Struct Template Referenceabstract

Interface class for vertex projection at the boundary. More...

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

Public Types

typedef FieldVector< double, dimworld > CoordinateType
 type of coordinate vector
 

Public Member Functions

virtual ~DuneBoundaryProjection ()
 destructor
 
virtual CoordinateType operator() (const CoordinateType &global) const =0
 projection operator projection a global coordinate
 
virtual void backup (ObjectStreamType &buffer) const
 write DuneBoundaryProjection's data to stream buffer More...
 

Protected Types

typedef BndSeg BoundarySegment
 type of BoundarySegment interface class
 
typedef Dune::ParameterizedObjectFactory< std::unique_ptr< BoundarySegment >(ObjectStreamType &), int > FactoryType
 type of factory creating a unique_ptr from an ObjectStreamType
 

Static Protected Member Functions

static std::unique_ptr< BoundarySegment > restore (ObjectStreamType &in)
 create an object of BoundarySegment type from a previously registered factory linked to key. More...
 

Detailed Description

template<int dimworld>
struct Dune::DuneBoundaryProjection< dimworld >

Interface class for vertex projection at the boundary.

Member Function Documentation

◆ backup()

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

write DuneBoundaryProjection's data to stream buffer

Parameters
bufferbuffer to store data

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

References DUNE_THROW.

◆ restore()

template<class BndSeg >
static std::unique_ptr< BoundarySegment > Dune::BoundarySegmentBackupRestore< BndSeg >::restore ( ObjectStreamType &  in)
inlinestaticprotectedinherited

create an object of BoundarySegment type from a previously registered factory linked to key.

Parameters
instream buffer previously written with backup containing key and object data
Returns
Object derived from BoundarySegment.

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)