Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
BoundaryPatchProlongator< GridType > Class Template Reference

Contains methods which prolong coarse a boundary patch to finer ones. More...

#include <dune/fufem/boundarypatchprolongator.hh>

Static Public Member Functions

static void prolong (std::vector< BoundaryPatch< typename GridType::LevelGridView > > &patches)
 Prolong coarse BoundaryPatch to all levels.
 
template<class BoundaryPatchPointerType >
static void prolong (std::vector< BoundaryPatchPointerType > &patches)
 Prolong coarse BoundaryPatch to all levels.
 
static void prolong (const BoundaryPatch< typename GridType::LevelGridView > &coarsePatch, BoundaryPatch< typename GridType::LeafGridView > &finePatch)
 Prolong coarse BoundaryPatch to leaf level.
 

Detailed Description

template<class GridType>
class BoundaryPatchProlongator< GridType >

Contains methods which prolong coarse a boundary patch to finer ones.

Member Function Documentation

◆ prolong() [1/3]

template<class GridType >
static void BoundaryPatchProlongator< GridType >::prolong ( const BoundaryPatch< typename GridType::LevelGridView > &  coarsePatch,
BoundaryPatch< typename GridType::LeafGridView > &  finePatch 
)
inlinestatic

Prolong coarse BoundaryPatch to leaf level.

This method prolongs a BoundaryPatch given on some level to a BoundaryPatch on the leaf view.

Parameters
coarsePatchThe coarse BoundaryPatch given on some LevelGridView
finePatchThe fine BoundaryPatch on the LeafGridView

◆ prolong() [2/3]

template<class GridType >
static void BoundaryPatchProlongator< GridType >::prolong ( std::vector< BoundaryPatch< typename GridType::LevelGridView > > &  patches)
inlinestatic

Prolong coarse BoundaryPatch to all levels.

This method prolongs a BoundaryPatch given on level 0 to BoundaryPatches for finer levels.

Parameters
patchesA vector of BoundaryPatches for LevelGridViews. It must contain at least one entry. patches[0] must be an initialized on level 0.

◆ prolong() [3/3]

template<class GridType >
template<class BoundaryPatchPointerType >
static void BoundaryPatchProlongator< GridType >::prolong ( std::vector< BoundaryPatchPointerType > &  patches)
inlinestatic

Prolong coarse BoundaryPatch to all levels.

This method prolongs a BoundaryPatch given on level 0 to BoundaryPatches for finer levels. The BoundaryPatches are given as vector of smart/raw pointers.

Parameters
patchesA vector of pointers to BoundaryPatches for LevelGridViews. It must contain at least one entry. *(patches[0]) must be an initialized on level 0.

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