waLBerla 7.2
Loading...
Searching...
No Matches
walberla::geometry::BinaryRawFileInterpolator Class Reference

#include <BinaryRawFile.h>

Public Types

enum  Interpolator { NEAREST_NEIGHBOR }
 

Public Member Functions

 BinaryRawFileInterpolator (const AABB &aabb, const BinaryRawFile &binaryRawFile, Interpolator interpolator)
 
bool get (const Vector3< real_t > &pos) const
 
bool get (const real_t x, const real_t y, const real_t z) const
 
const AABB & aabb () const
 
Interpolator interpolator () const
 

Private Member Functions

bool getNearestNeighbor (const real_t x, const real_t y, const real_t z) const
 

Private Attributes

AABB aabb_
 
Interpolator interpolator_
 
const BinaryRawFilebinaryRawFile_
 

Member Enumeration Documentation

◆ Interpolator

Constructor & Destructor Documentation

◆ BinaryRawFileInterpolator()

walberla::geometry::BinaryRawFileInterpolator::BinaryRawFileInterpolator ( const AABB & aabb,
const BinaryRawFile & binaryRawFile,
Interpolator interpolator )
inline

Member Function Documentation

◆ aabb()

const AABB & walberla::geometry::BinaryRawFileInterpolator::aabb ( ) const
inline

◆ get() [1/2]

bool walberla::geometry::BinaryRawFileInterpolator::get ( const real_t x,
const real_t y,
const real_t z ) const
inline

◆ get() [2/2]

bool walberla::geometry::BinaryRawFileInterpolator::get ( const Vector3< real_t > & pos) const
inline

◆ getNearestNeighbor()

bool walberla::geometry::BinaryRawFileInterpolator::getNearestNeighbor ( const real_t x,
const real_t y,
const real_t z ) const
inlineprivate

◆ interpolator()

Interpolator walberla::geometry::BinaryRawFileInterpolator::interpolator ( ) const
inline

Member Data Documentation

◆ aabb_

AABB walberla::geometry::BinaryRawFileInterpolator::aabb_
private

◆ binaryRawFile_

const BinaryRawFile& walberla::geometry::BinaryRawFileInterpolator::binaryRawFile_
private

◆ interpolator_

Interpolator walberla::geometry::BinaryRawFileInterpolator::interpolator_
private

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