$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
#include <atomicBlock3D.h>


Public Member Functions | |
| AtomicBlock3D (plint nx_, plint ny_, plint nz_) | |
| AtomicBlock3D (AtomicBlock3D const &rhs) | |
| virtual | ~AtomicBlock3D () |
| void | swap (AtomicBlock3D &rhs) |
| void | initialize () |
| Initialize block content by executing internal processors once. | |
| virtual Box3D | getBoundingBox () const |
| Get bounding box of the lattice. | |
| plint | getNx () const |
| Get number of cells in x-direction. | |
| plint | getNy () const |
| Get number of cells in y-direction. | |
| plint | getNz () const |
| Get number of cells in z-direction. | |
| void | executeInternalProcessors () |
| Execute all internal dataProcessors at positive or zero level. | |
| void | executeInternalProcessors (plint level) |
| Execute all internal dataProcessors at a given level. | |
| void | integrateDataProcessor (DataProcessor3D *processor, plint level) |
| Add a dataProcessor, which is executed after each iteration. | |
| void | clearDataProcessors () |
| Remove all data processors. | |
| void | removeDataProcessors (int staticId) |
| Remove all data processors with a given ID. | |
| virtual BlockDataTransfer3D & | getDataTransfer ()=0 |
| Get access to data transfer between blocks. | |
| virtual BlockDataTransfer3D const & | getDataTransfer () const =0 |
| Get access to data transfer between blocks (const version). | |
| virtual DataSerializer * | getBlockSerializer (Box3D const &domain, IndexOrdering::OrderingT ordering) const |
| Get an object through which the atomic block can be serialized. | |
| virtual DataUnSerializer * | getBlockUnSerializer (Box3D const &domain, IndexOrdering::OrderingT ordering) |
| Get an object through which the atomic block can be un-serialized. | |
| StatSubscriber & | internalStatSubscription () |
| Get object to subscribe new internal statistics. | |
| void | evaluateStatistics () |
| Copy running statistics to public statistics, and reset running stats. | |
| BlockStatistics & | getInternalStatistics () |
| BlockStatistics const & | getInternalStatistics () const |
| Get a constant handle to internal statistics. | |
| void | setLocation (Dot3D const &location_) |
| Dot3D | getLocation () const |
| void | setFlag (bool value) |
| Set the flag value (to be exploited internally by data processors). | |
| bool | getFlag () const |
| Get the flag value (to be exploited internally by data processors). | |
| plb::AtomicBlock3D::AtomicBlock3D | ( | AtomicBlock3D const & | rhs | ) |
| plb::AtomicBlock3D::~AtomicBlock3D | ( | ) | [virtual] |
References clearDataProcessors().
| void plb::AtomicBlock3D::clearDataProcessors | ( | ) |
Remove all data processors.
Referenced by ~AtomicBlock3D().
| void plb::AtomicBlock3D::evaluateStatistics | ( | ) |
Copy running statistics to public statistics, and reset running stats.
References plb::BlockStatistics::evaluate(), and getInternalStatistics().
Referenced by plb::BlockLattice3D< T, Descriptor >::collideAndStream(), plb::MultiBlock3D::evaluateStatistics(), and plb::BlockLattice3D< T, Descriptor >::stream().
| void plb::AtomicBlock3D::executeInternalProcessors | ( | plint | level | ) |
Execute all internal dataProcessors at a given level.
References executeInternalProcessors().
| void plb::AtomicBlock3D::executeInternalProcessors | ( | ) |
Execute all internal dataProcessors at positive or zero level.
Referenced by plb::BlockLattice3D< T, Descriptor >::collideAndStream(), plb::MultiBlock3D::executeInternalProcessors(), executeInternalProcessors(), initialize(), and plb::BlockLattice3D< T, Descriptor >::stream().
| DataSerializer * plb::AtomicBlock3D::getBlockSerializer | ( | Box3D const & | domain, | |
| IndexOrdering::OrderingT | ordering | |||
| ) | const [virtual] |
Get an object through which the atomic block can be serialized.
Implements plb::Block3D.
Referenced by plb::ImageWriter< T >::writePpm().
| DataUnSerializer * plb::AtomicBlock3D::getBlockUnSerializer | ( | Box3D const & | domain, | |
| IndexOrdering::OrderingT | ordering | |||
| ) | [virtual] |
Get an object through which the atomic block can be un-serialized.
Implements plb::Block3D.
| Box3D plb::AtomicBlock3D::getBoundingBox | ( | ) | const [virtual] |
Get bounding box of the lattice.
Implements plb::Block3D.
References getNx(), getNy(), and getNz().
Referenced by plb::add(), plb::addInPlace(), plb::apply(), plb::TriangleHash< T >::assignTriangles(), plb::BlockLattice3D< T, Descriptor >::boundaryStream(), plb::TriangleHash< T >::bruteReAssignTriangles(), plb::BlockLattice3D< T, Descriptor >::bulkCollideAndStream(), plb::BlockLattice3D< T, Descriptor >::bulkStream(), plb::BlockLattice3D< T, Descriptor >::collide(), plb::BlockLattice3D< T, Descriptor >::collideAndStream(), plb::computeAbsoluteValue(), plb::computeAverage(), plb::computeAverageDensity(), plb::computeAverageEnergy(), plb::computeAverageRhoBar(), plb::computeBoundedAverage(), plb::computeBoundedSum(), plb::computeBulkDivergence(), plb::computeBulkStrainRate(), plb::computeBulkVorticity(), plb::computeDensity(), plb::computeDeviatoricStress(), plb::computeKineticEnergy(), plb::computeMax(), plb::computeMin(), plb::computeNorm(), plb::computeNormSqr(), plb::computePopulation(), plb::computeRhoBar(), plb::computeSqrt(), plb::computeStrainRate(), plb::computeStrainRateFromStress(), plb::computeSum(), plb::computeSymmetricTensorNorm(), plb::computeSymmetricTensorNormSqr(), plb::computeSymmetricTensorTrace(), plb::computeVelocity(), plb::computeVelocityComponent(), plb::computeVelocityNorm(), plb::computeVorticity(), plb::copy(), plb::count(), plb::cubicInterpolationOverCoarseLineX(), plb::cubicInterpolationOverCoarseLineY(), plb::cubicInterpolationOverFineLineX(), plb::defineDynamics(), plb::divide(), plb::divideInPlace(), plb::evaluate(), plb::extractComponent(), plb::MarchingCubeSurfaces3D< T >::EdgeOrientedTriangleSetData::getBoundingBox(), plb::TriangleHash< T >::getTriangles(), plb::InterpolateOverLineAndExcess(), plb::multiply(), plb::multiplyInPlace(), plb::DetectBorderLineFunctional3D< T >::process(), plb::InterpolateCoarseToFineCornerDynamics3D< T, Descriptor1, Descriptor2 >::process(), plb::InterpolateCoarseToFineDynamics3D< T, Descriptor1, Descriptor2 >::process(), plb::LatticeInterpolateCoarseToFine3D< T, Descriptor >::process(), plb::TensorInterpolateCoarseToFine3D< T, nDim >::process(), plb::ScalarInterpolateCoarseToFine3D< T >::process(), plb::LatticeCopyFineToCoarseZerothOrder3D< T, Descriptor >::process(), plb::TensorCopyFineToCoarseZerothOrder3D< T, nDim >::process(), plb::ScalarCopyFineToCoarseZerothOrder3D< T >::process(), plb::TriangleHash< T >::reAssignTriangles(), plb::recomposeFromFlowVariables(), plb::OnLatticeBoundaryCondition3D< T, Descriptor >::setPressureConditionOnBlockBoundaries(), plb::OnLatticeBoundaryCondition3D< T, Descriptor >::setVelocityConditionOnBlockBoundaries(), plb::BlockLattice3D< T, Descriptor >::specifyStatisticsStatus(), plb::BlockLattice3D< T, Descriptor >::stream(), plb::subtract(), plb::subtractInPlace(), plb::transferFromCoProcessors(), plb::transferToCoProcessors(), and plb::ImageWriter< T >::writePpm().
| virtual BlockDataTransfer3D const& plb::AtomicBlock3D::getDataTransfer | ( | ) | const [pure virtual] |
Get access to data transfer between blocks (const version).
Implemented in plb::AtomicContainerBlock3D, plb::BlockLattice3D< T, Descriptor >, plb::ScalarField3D< T >, plb::TensorField3D< T, nDim >, plb::NTensorField3D< T >, plb::BlockLattice3D< T, FluidDescriptor >, plb::ScalarField3D< int >, plb::ScalarField3D< EdgeData >, plb::ScalarField3D< std::vector< plint > >, and plb::TensorField3D< T, 3 >.
| virtual BlockDataTransfer3D& plb::AtomicBlock3D::getDataTransfer | ( | ) | [pure virtual] |
Get access to data transfer between blocks.
Implemented in plb::AtomicContainerBlock3D, plb::BlockLattice3D< T, Descriptor >, plb::ScalarField3D< T >, plb::TensorField3D< T, nDim >, plb::NTensorField3D< T >, plb::BlockLattice3D< T, FluidDescriptor >, plb::ScalarField3D< int >, plb::ScalarField3D< EdgeData >, plb::ScalarField3D< std::vector< plint > >, and plb::TensorField3D< T, 3 >.
Referenced by plb::MultiBlockFastUnSerializer3D::commitData(), plb::AtomicBlockUnSerializer3D::commitData(), plb::AtomicBlockUnSerializer3D::getNextDataBuffer(), plb::AtomicBlockSerializer3D::getNextDataBuffer(), plb::AtomicBlockUnSerializer3D::getSize(), and plb::AtomicBlockSerializer3D::getSize().
| bool plb::AtomicBlock3D::getFlag | ( | ) | const |
Get the flag value (to be exploited internally by data processors).
| BlockStatistics const & plb::AtomicBlock3D::getInternalStatistics | ( | ) | const |
Get a constant handle to internal statistics.
| BlockStatistics & plb::AtomicBlock3D::getInternalStatistics | ( | ) |
Get a handle to internal statistics. Don't use this to subscribe new statistics. Use the method internalStatSubscription() instead.
Referenced by plb::BlockLattice3D< T, Descriptor >::BlockLattice3D(), plb::BlockLattice3D< T, Descriptor >::collide(), evaluateStatistics(), plb::getStoredAverageDensity(), plb::getStoredAverageEnergy(), plb::getStoredMaxVelocity(), plb::StatSubscriber3D::subscribeAverage(), plb::StatSubscriber3D::subscribeIntSum(), plb::StatSubscriber3D::subscribeMax(), and plb::StatSubscriber3D::subscribeSum().
| Dot3D plb::AtomicBlock3D::getLocation | ( | ) | const |
Get the relative location of the atomic-block in a global coordinate system.
Referenced by plb::TriangleHash< T >::assignTriangles(), plb::GuoOffLatticeModel3D< T, Descriptor >::boundaryCompletion(), plb::GuoAdvDiffOffLatticeModel3D< T, Descriptor >::boundaryCompletion(), plb::InterpolatedGeneralizedOffLatticeModel3D< T, Descriptor >::boundaryCompletion(), plb::ExtrapolatedGeneralizedOffLatticeModel3D< T, Descriptor >::boundaryCompletion(), plb::TriangleHash< T >::bruteReAssignTriangles(), plb::cubicInterpolationOverFineLineY(), plb::MarchingCubeSurfaces3D< T >::defaultImplementation(), plb::MarchingCubeSurfaces3D< T >::edgeOriented(), plb::IsoFreeSurfaceDefinition3D< T >::getSurfacePosition(), plb::TriangleHash< T >::getTriangles(), plb::TriangleFlowShape3D< T, SurfaceData >::isInside(), plb::IsoFreeSurfaceDefinition3D< T >::isInside(), plb::IsoFreeSurfaceDefinition3D< T >::isValid(), plb::linearInterpolationCoefficients(), plb::GuoOffLatticeModel3D< T, Descriptor >::prepareCell(), plb::GuoAdvDiffOffLatticeModel3D< T, Descriptor >::prepareCell(), plb::InterpolatedGeneralizedOffLatticeModel3D< T, Descriptor >::prepareCell(), plb::ExtrapolatedGeneralizedOffLatticeModel3D< T, Descriptor >::prepareCell(), plb::StaticSmagorinskyFunctional3D< T, Descriptor, SmagoFunction >::process(), plb::LatticeInterpolateCoarseToFine3D< T, Descriptor >::process(), plb::TensorInterpolateCoarseToFine3D< T, nDim >::process(), plb::ScalarInterpolateCoarseToFine3D< T >::process(), plb::LatticeCopyFineToCoarseZerothOrder3D< T, Descriptor >::process(), plb::TensorCopyFineToCoarseZerothOrder3D< T, nDim >::process(), plb::ScalarCopyFineToCoarseZerothOrder3D< T >::process(), plb::SetToTensorFunctionFunctional3D< T, nDim, Function >::process(), plb::SetToScalarFunctionFunctional3D< T, Function >::process(), plb::SetToCoordinatesFunctional3D< T >::process(), plb::SetToCoordinateFunctional3D< T >::process(), plb::InstantiateComplexDomainDynamicsFunctional3D< T, Descriptor >::process(), plb::GenericIndexedLatticeFunctional3D< T, Descriptor >::process(), plb::VorticitySingleProbe3D< T, Descriptor >::process(), plb::VelocitySingleProbe3D< T, Descriptor >::process(), plb::DensitySingleProbe3D< T, Descriptor >::process(), plb::CopyFineToCoarse3D< T, Descriptor1, Descriptor2 >::process(), plb::MomentumExchangeComplexDomainFunctional3D< T, Descriptor >::process(), and plb::TriangleHash< T >::reAssignTriangles().
| plint plb::AtomicBlock3D::getNx | ( | ) | const [inline] |
Get number of cells in x-direction.
Referenced by plb::add(), plb::BlockLattice3D< T, Descriptor >::BlockLattice3D(), plb::computeAbsoluteValue(), plb::computeBulkDivergence(), plb::computeBulkStrainRate(), plb::computeBulkVorticity(), plb::computeDensity(), plb::computeDeviatoricStress(), plb::computeKineticEnergy(), plb::computeNorm(), plb::computeNormSqr(), plb::computePopulation(), plb::computeRhoBar(), plb::computeSqrt(), plb::computeStrainRate(), plb::computeStrainRateFromStress(), plb::computeSymmetricTensorNorm(), plb::computeSymmetricTensorNormSqr(), plb::computeSymmetricTensorTrace(), plb::computeVelocity(), plb::computeVelocityComponent(), plb::computeVelocityNorm(), plb::computeVorticity(), plb::copyConvert(), plb::divide(), plb::evaluate(), plb::extractComponent(), plb::NTensorField3D< T >::get(), plb::TensorField3D< T, 3 >::get(), plb::ScalarField3D< std::vector< plint > >::get(), plb::BlockLattice3D< T, FluidDescriptor >::get(), getBoundingBox(), plb::MarchingCubeSurfaces3D< T >::EdgeOrientedTriangleSetData::getNx(), plb::ScalarField3D< std::vector< plint > >::getSize(), plb::multiply(), plb::NTensorField3D< T >::NTensorField3D(), plb::NTensorField3D< T >::operator[](), plb::TensorField3D< T, 3 >::operator[](), plb::ScalarField3D< std::vector< plint > >::operator[](), plb::NTensorField3D< T >::reset(), plb::TensorField3D< T, nDim >::reset(), plb::ScalarField3D< T >::reset(), plb::OnLatticeAdvectionDiffusionBoundaryCondition3D< T, Descriptor >::setTemperatureConditionOnBlockBoundaries(), plb::subtract(), plb::TensorField3D< T, nDim >::TensorField3D(), plb::VtkStructuredImageOutput3D< T >::writeData(), plb::VtkImageOutput3D< T >::writeData(), and plb::ImageWriter< T >::writePpm().
| plint plb::AtomicBlock3D::getNy | ( | ) | const [inline] |
Get number of cells in y-direction.
Referenced by plb::add(), plb::BlockLattice3D< T, Descriptor >::BlockLattice3D(), plb::computeAbsoluteValue(), plb::computeBulkDivergence(), plb::computeBulkStrainRate(), plb::computeBulkVorticity(), plb::computeDensity(), plb::computeDeviatoricStress(), plb::computeKineticEnergy(), plb::computeNorm(), plb::computeNormSqr(), plb::computePopulation(), plb::computeRhoBar(), plb::computeSqrt(), plb::computeStrainRate(), plb::computeStrainRateFromStress(), plb::computeSymmetricTensorNorm(), plb::computeSymmetricTensorNormSqr(), plb::computeSymmetricTensorTrace(), plb::computeVelocity(), plb::computeVelocityComponent(), plb::computeVelocityNorm(), plb::computeVorticity(), plb::copyConvert(), plb::divide(), plb::evaluate(), plb::extractComponent(), plb::NTensorField3D< T >::get(), plb::TensorField3D< T, 3 >::get(), plb::ScalarField3D< std::vector< plint > >::get(), plb::BlockLattice3D< T, FluidDescriptor >::get(), getBoundingBox(), plb::MarchingCubeSurfaces3D< T >::EdgeOrientedTriangleSetData::getNy(), plb::ScalarField3D< std::vector< plint > >::getSize(), plb::multiply(), plb::NTensorField3D< T >::NTensorField3D(), plb::NTensorField3D< T >::operator[](), plb::TensorField3D< T, 3 >::operator[](), plb::ScalarField3D< std::vector< plint > >::operator[](), plb::NTensorField3D< T >::reset(), plb::TensorField3D< T, nDim >::reset(), plb::ScalarField3D< T >::reset(), plb::OnLatticeAdvectionDiffusionBoundaryCondition3D< T, Descriptor >::setTemperatureConditionOnBlockBoundaries(), plb::subtract(), plb::TensorField3D< T, nDim >::TensorField3D(), plb::VtkStructuredImageOutput3D< T >::writeData(), plb::VtkImageOutput3D< T >::writeData(), and plb::ImageWriter< T >::writePpm().
| plint plb::AtomicBlock3D::getNz | ( | ) | const [inline] |
Get number of cells in z-direction.
Referenced by plb::add(), plb::BlockLattice3D< T, Descriptor >::BlockLattice3D(), plb::computeAbsoluteValue(), plb::computeBulkDivergence(), plb::computeBulkStrainRate(), plb::computeBulkVorticity(), plb::computeDensity(), plb::computeDeviatoricStress(), plb::computeKineticEnergy(), plb::computeNorm(), plb::computeNormSqr(), plb::computePopulation(), plb::computeRhoBar(), plb::computeSqrt(), plb::computeStrainRate(), plb::computeStrainRateFromStress(), plb::computeSymmetricTensorNorm(), plb::computeSymmetricTensorNormSqr(), plb::computeSymmetricTensorTrace(), plb::computeVelocity(), plb::computeVelocityComponent(), plb::computeVelocityNorm(), plb::computeVorticity(), plb::copyConvert(), plb::divide(), plb::extractComponent(), plb::NTensorField3D< T >::get(), plb::TensorField3D< T, 3 >::get(), plb::ScalarField3D< std::vector< plint > >::get(), plb::BlockLattice3D< T, FluidDescriptor >::get(), getBoundingBox(), plb::MarchingCubeSurfaces3D< T >::EdgeOrientedTriangleSetData::getNz(), plb::ScalarField3D< std::vector< plint > >::getSize(), plb::multiply(), plb::NTensorField3D< T >::NTensorField3D(), plb::NTensorField3D< T >::operator[](), plb::TensorField3D< T, 3 >::operator[](), plb::ScalarField3D< std::vector< plint > >::operator[](), plb::NTensorField3D< T >::reset(), plb::TensorField3D< T, nDim >::reset(), plb::ScalarField3D< T >::reset(), plb::OnLatticeAdvectionDiffusionBoundaryCondition3D< T, Descriptor >::setTemperatureConditionOnBlockBoundaries(), plb::subtract(), plb::TensorField3D< T, nDim >::TensorField3D(), plb::VtkStructuredImageOutput3D< T >::writeData(), plb::VtkImageOutput3D< T >::writeData(), and plb::ImageWriter< T >::writePpm().
| void plb::AtomicBlock3D::initialize | ( | ) |
Initialize block content by executing internal processors once.
References executeInternalProcessors().
| void plb::AtomicBlock3D::integrateDataProcessor | ( | DataProcessor3D * | processor, | |
| plint | level | |||
| ) |
Add a dataProcessor, which is executed after each iteration.
| StatSubscriber & plb::AtomicBlock3D::internalStatSubscription | ( | ) |
Get object to subscribe new internal statistics.
Referenced by plb::MultiStatSubscriber3D::subscribeAverage(), plb::MultiStatSubscriber3D::subscribeIntSum(), plb::MultiStatSubscriber3D::subscribeMax(), and plb::MultiStatSubscriber3D::subscribeSum().
| void plb::AtomicBlock3D::removeDataProcessors | ( | int | staticId | ) |
Remove all data processors with a given ID.
| void plb::AtomicBlock3D::setFlag | ( | bool | value | ) |
Set the flag value (to be exploited internally by data processors).
Referenced by plb::MultiBlock3D::resetFlags().
| void plb::AtomicBlock3D::setLocation | ( | Dot3D const & | location_ | ) |
Specify the relative location of the atomic-block in a global coordinate system.
Referenced by plb::TriangleHashData::TriangleHashData().
| void plb::AtomicBlock3D::swap | ( | AtomicBlock3D & | rhs | ) |
1.6.3
1.6.3