Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
BoundaryPatchFactory< GridView > Class Template Reference

Setup a boundary patch from criterions given in a parameter file. More...

#include <dune/fufem/utilities/boundarypatchfactory.hh>

Static Public Member Functions

static bool setupBoundaryPatch (const Dune::ParameterTree &config, BoundaryPatch< GridView > &patch)
 Setup boundary patch using criterions prescribed in the parameter file.
 

Detailed Description

template<class GridView>
class BoundaryPatchFactory< GridView >

Setup a boundary patch from criterions given in a parameter file.

Member Function Documentation

◆ setupBoundaryPatch()

template<class GridView >
static bool BoundaryPatchFactory< GridView >::setupBoundaryPatch ( const Dune::ParameterTree config,
BoundaryPatch< GridView > &  patch 
)
inlinestatic

Setup boundary patch using criterions prescribed in the parameter file.

Use the following data in your parameter file

nCriterions - The number of criterions that you want to use for each criterion a [sub] called [criterion0], [criterion1], ... the [criterionK] must contain a type : LowerCenter (insert faces for which a component of the centre is below some bound UpperCenter (insert faces for which a component of the centre is above some bound LowerNormal (insert faces for which a component of the normal is below some bound UpperNormal (insert faces for which a component of the normal is above some bound and the needed members component - the coordinate component which should be bounded bound - the upper/lower bound

Parameters
[in]configThe parameter file
[in]patchThe boundarypatch to be setup
Returns
true if the boundary patch could be setup

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