Initializes a boundary handler using a CellInterval (works for both boundary handlings and boundary handling collections).
Configuration file syntax:
<initializerID> { CellInterval [ (3,1,5) ... (4,5,8) ] <FlagUID> { <boundaryConfiguration> } }
or
<initializerID> { min < 3,1,5>; max < 4,5,8>; <FlagUID> { <boundaryConfiguration> } }
#include <BoundaryFromCellInterval.h>
Public Member Functions | |
BoundaryFromCellInterval (StructuredBlockStorage &structuredBlockStorage, BlockDataID &boundaryHandlerID) | |
void | init (BlockStorage &, const Config::BlockHandle &blockHandle) override |
Sets the boundary using information from a config-block. More... | |
void | init (const Config::BlockHandle &blockHandle) |
void | init (const CellInterval &ci, const BoundaryUID &uid, const shared_ptr< BoundaryConfiguration > &bcConfig) |
Function for manually setting a boundary condition on a CellInterval. More... | |
void | init (const CellInterval &ci, const FlagUID &uid) |
Public Member Functions inherited from walberla::geometry::initializer::Initializer | |
virtual | ~Initializer ()=default |
Protected Member Functions | |
void | init (const CellInterval &globalCellInterval, BoundarySetter< BoundaryHandlerT > &boundarySetter) |
Protected Attributes | |
StructuredBlockStorage & | structuredBlockStorage_ |
BlockDataID | boundaryHandlerID_ |
walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::BoundaryFromCellInterval | ( | StructuredBlockStorage & | structuredBlockStorage, |
BlockDataID & | boundaryHandlerID | ||
) |
|
inlineoverridevirtual |
Sets the boundary using information from a config-block.
The cell interval and the parameters for the boundary are read from configuration.
Implements walberla::geometry::initializer::Initializer.
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init | ( | const CellInterval & | ci, |
const BoundaryUID & | uid, | ||
const shared_ptr< BoundaryConfiguration > & | bcConfig | ||
) |
Function for manually setting a boundary condition on a CellInterval.
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init | ( | const CellInterval & | ci, |
const FlagUID & | uid | ||
) |
|
protected |
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init | ( | const Config::BlockHandle & | blockHandle | ) |
|
protected |
|
protected |