KASKADE 7 development version
Public Member Functions | Public Attributes | List of all members
Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate > Class Template Reference

Implements AbstractAdaptiveGrid, uses a bulk criterion as a marking strategy. More...

#include <dune_bridge.hh>

Detailed Description

template<class GridManager, class Estimate>
class Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >

Implements AbstractAdaptiveGrid, uses a bulk criterion as a marking strategy.

Gets a signal from the GridManager, if Grid is going to change. Emits a signal to inform others

Definition at line 401 of file dune_bridge.hh.

Inheritance diagram for Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >:
Kaskade::AbstractAdaptiveGrid

Public Member Functions

 AdaptiveGrid (GridManager &gm)
 
virtual int size ()
 Number of patches. More...
 
virtual void adapt ()
 Change grid according to marked elements. More...
 
virtual void mark (AbstractErrorEstimate &estimate, double portion)
 Mark elements, using an error estimate that hold error indicators. More...
 
virtual int getNMarked ()
 
virtual void flushMarks ()
 Remove all marks in the grid. More...
 
virtual ~AdaptiveGrid ()
 

Public Attributes

boost::signals2::signal< void()> gridWillChange
 Inform others that the grid will change. More...
 

Constructor & Destructor Documentation

◆ AdaptiveGrid()

template<class GridManager , class Estimate >
Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::AdaptiveGrid ( GridManager gm)
inline

Definition at line 404 of file dune_bridge.hh.

◆ ~AdaptiveGrid()

template<class GridManager , class Estimate >
virtual Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::~AdaptiveGrid ( )
inlinevirtual

Definition at line 435 of file dune_bridge.hh.

Member Function Documentation

◆ adapt()

template<class GridManager , class Estimate >
virtual void Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::adapt ( )
inlinevirtual

Change grid according to marked elements.

Implements Kaskade::AbstractAdaptiveGrid.

Definition at line 414 of file dune_bridge.hh.

◆ flushMarks()

template<class GridManager , class Estimate >
virtual void Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::flushMarks ( )
inlinevirtual

Remove all marks in the grid.

Implements Kaskade::AbstractAdaptiveGrid.

Definition at line 433 of file dune_bridge.hh.

◆ getNMarked()

template<class GridManager , class Estimate >
virtual int Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::getNMarked ( )
inlinevirtual

Implements Kaskade::AbstractAdaptiveGrid.

Definition at line 431 of file dune_bridge.hh.

◆ mark()

template<class GridManager , class Estimate >
virtual void Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::mark ( AbstractErrorEstimate ,
double  portion 
)
inlinevirtual

Mark elements, using an error estimate that hold error indicators.

Implements Kaskade::AbstractAdaptiveGrid.

Definition at line 416 of file dune_bridge.hh.

◆ size()

template<class GridManager , class Estimate >
virtual int Kaskade::Bridge::AdaptiveGrid< GridManager, Estimate >::size ( )
inlinevirtual

Number of patches.

Implements Kaskade::AbstractAdaptiveGrid.

Definition at line 412 of file dune_bridge.hh.

Member Data Documentation

◆ gridWillChange

boost::signals2::signal<void()> Kaskade::AbstractAdaptiveGrid::gridWillChange
mutableinherited

Inform others that the grid will change.

Definition at line 390 of file abstract_interface.hh.


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