$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

plb::SmartBulk3D Class Reference

Compute envelope and things alike. More...

#include <multiBlockManagement3D.h>

Collaboration diagram for plb::SmartBulk3D:

List of all members.

Public Member Functions

 SmartBulk3D (MultiBlockManagement3D const &management, plint blockId)
 SmartBulk3D (SparseBlockStructure3D const &sparseBlock_, plint envelopeWidth_, plint blockId)
 SmartBulk3D (SparseBlockStructure3D const &sparseBlock_, plint envelopeWidth_, Box3D const &bulk_)
Box3D getBulk () const
 Access the bulk.
Box3D computeEnvelope () const
 Compute envelope of a given block.
Box3D computeNonPeriodicEnvelope () const
 Compute envelope of a given block, exluding margins of the outer domain.
Box3D toLocal (Box3D const &coord) const
 Convert to local coordinates of a given block.
plint toLocalX (plint iX) const
 Convert to local x-coordinate of a given block.
plint toLocalY (plint iY) const
 Convert to local y-coordinate of a given block.
plint toLocalZ (plint iZ) const
 Convert to local z-coordinate of a given block.

Detailed Description

Compute envelope and things alike.


Constructor & Destructor Documentation

plb::SmartBulk3D::SmartBulk3D ( MultiBlockManagement3D const &  management,
plint  blockId 
)

The bulk has zero coordinates in case the block id does not exist.

References plb::SparseBlockStructure3D::getBulk().

plb::SmartBulk3D::SmartBulk3D ( SparseBlockStructure3D const &  sparseBlock_,
plint  envelopeWidth_,
plint  blockId 
)

The bulk has zero coordinates in case the block id does not exist.

References plb::SparseBlockStructure3D::getBulk().

plb::SmartBulk3D::SmartBulk3D ( SparseBlockStructure3D const &  sparseBlock_,
plint  envelopeWidth_,
Box3D const &  bulk_ 
)

Member Function Documentation

Box3D plb::SmartBulk3D::computeNonPeriodicEnvelope (  )  const
plint plb::SmartBulk3D::toLocalX ( plint  iX  )  const

Convert to local x-coordinate of a given block.

References plb::Box3D::x0.

Referenced by plb::MultiBlockManagement3D::findAllLocalRepresentations(), and plb::MultiBlockManagement3D::findInLocalBulk().

plint plb::SmartBulk3D::toLocalY ( plint  iY  )  const

Convert to local y-coordinate of a given block.

References plb::Box3D::y0.

Referenced by plb::MultiBlockManagement3D::findAllLocalRepresentations(), and plb::MultiBlockManagement3D::findInLocalBulk().

plint plb::SmartBulk3D::toLocalZ ( plint  iZ  )  const

Convert to local z-coordinate of a given block.

References plb::Box3D::z0.

Referenced by plb::MultiBlockManagement3D::findAllLocalRepresentations(), and plb::MultiBlockManagement3D::findInLocalBulk().


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