Sets boundary conditions using information obtained from a voxel file.
{ file pathToVoxelFile.dat; offset <5,5,5>; Flag { value 2; <NameOfBoundary> {} } }
#include <BoundaryFromVoxelFile.h>
Public Member Functions | |
BoundaryFromVoxelFile (const StructuredBlockStorage &structuredBlockStorage, BlockDataID &boundaryHandlerID) | |
void | init (BlockStorage &blockStorage, const Config::BlockHandle &blockHandle) override |
Public Member Functions inherited from walberla::geometry::initializer::Initializer | |
virtual | ~Initializer ()=default |
Protected Member Functions | |
CellIntervalMap | getIntersectedCellIntervals (const std::string &geometryFile, const Cell &offset) const |
Protected Attributes | |
BlockDataID | boundaryHandlerID_ |
const StructuredBlockStorage & | structuredBlockStorage_ |
walberla::geometry::initializer::BoundaryFromVoxelFile< BoundaryHandlerT >::BoundaryFromVoxelFile | ( | const StructuredBlockStorage & | structuredBlockStorage, |
BlockDataID & | boundaryHandlerID | ||
) |
|
protected |
|
overridevirtual |
Implements walberla::geometry::initializer::Initializer.
|
protected |
|
protected |