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

Detailed Description

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

Sets boundary conditions using information obtained from a voxel file.

{
    file    pathToVoxelFile.dat;
    offset  <5,5,5>;

    Flag
    {
       value 2;
       <NameOfBoundary> {}

    }
}

#include <BoundaryFromVoxelFile.h>

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

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 StructuredBlockStoragestructuredBlockStorage_
 

Constructor & Destructor Documentation

◆ BoundaryFromVoxelFile()

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

Member Function Documentation

◆ getIntersectedCellIntervals()

template<typename BoundaryHandlerT >
CellIntervalMap walberla::geometry::initializer::BoundaryFromVoxelFile< BoundaryHandlerT >::getIntersectedCellIntervals ( const std::string &  geometryFile,
const Cell offset 
) const
protected

◆ init()

template<typename BoundaryHandlerT >
void walberla::geometry::initializer::BoundaryFromVoxelFile< BoundaryHandlerT >::init ( BlockStorage blockStorage,
const Config::BlockHandle blockHandle 
)
overridevirtual

Member Data Documentation

◆ boundaryHandlerID_

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

◆ structuredBlockStorage_

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

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