walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT > Class Template Reference

Detailed Description

template<typename BoundaryHandlerT>
class walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >

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>

+ Inheritance diagram for walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >:

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

StructuredBlockStoragestructuredBlockStorage_
 
BlockDataID boundaryHandlerID_
 

Constructor & Destructor Documentation

◆ BoundaryFromCellInterval()

template<typename BoundaryHandlerT >
walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::BoundaryFromCellInterval ( StructuredBlockStorage structuredBlockStorage,
BlockDataID boundaryHandlerID 
)

Member Function Documentation

◆ init() [1/5]

template<typename BoundaryHandlerT >
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init ( BlockStorage ,
const Config::BlockHandle blockHandle 
)
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.

◆ init() [2/5]

template<typename BoundaryHandlerT >
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.

◆ init() [3/5]

template<typename BoundaryHandlerT >
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init ( const CellInterval ci,
const FlagUID &  uid 
)

◆ init() [4/5]

template<typename BoundaryHandlerT >
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init ( const CellInterval globalCellInterval,
BoundarySetter< BoundaryHandlerT > &  boundarySetter 
)
protected

◆ init() [5/5]

template<typename BoundaryHandlerT >
void walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::init ( const Config::BlockHandle blockHandle)

Member Data Documentation

◆ boundaryHandlerID_

template<typename BoundaryHandlerT >
BlockDataID walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::boundaryHandlerID_
protected

◆ structuredBlockStorage_

template<typename BoundaryHandlerT >
StructuredBlockStorage& walberla::geometry::initializer::BoundaryFromCellInterval< BoundaryHandlerT >::structuredBlockStorage_
protected

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