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

plb::CoarseToFineConverter3D< T, Descriptor > Class Template Reference

A helper class for grid refinement processors, used to convert location between grids. More...

#include <fineGridProcessors3D.h>

Collaboration diagram for plb::CoarseToFineConverter3D< T, Descriptor >:

List of all members.

Public Member Functions

 CoarseToFineConverter3D (BlockLattice3D< T, Descriptor > const &coarseLattice, BlockLattice3D< T, Descriptor > &fineLattice_)
plint fineX (plint coarseX) const
 Convert the x-component of a location from coarse lattice to fine lattice.
plint fineY (plint coarseY) const
 Convert the y-component of a location from coarse lattice to fine lattice.
plint fineZ (plint coarseZ) const
 Convert the z-component of a location from coarse lattice to fine lattice.
FineGridBoundaryDynamics< T,
Descriptor > & 
fineDynamics (Dot3D coarsePos, Dot3D delta)
 Convert location from coarse to fine, add the value delta, and return the dynamic.
FineGridBoundaryDynamics< T,
Descriptor > & 
fineDynamics (plint x, plint y, plint z, plint deltaX, plint deltaY, plint deltaZ)
FineGridBoundaryDynamics< T,
Descriptor > & 
fineDynamicsFromFineCoordinates (Dot3D pos)
 CoarseToFineConverter3D (BlockLattice3D< T, Descriptor > const &coarseLattice, BlockLattice3D< T, Descriptor > &fineLattice_)
plint fineX (plint coarseX) const
 Convert the x-component of a location from coarse lattice to fine lattice.
plint fineY (plint coarseY) const
 Convert the y-component of a location from coarse lattice to fine lattice.
plint fineZ (plint coarseZ) const
 Convert the z-component of a location from coarse lattice to fine lattice.
FineGridBoundaryDynamics< T,
Descriptor > & 
fineDynamics (Dot3D coarsePos, Dot3D delta)
FineGridBoundaryDynamics< T,
Descriptor > & 
fineDynamics (plint x, plint y, plint z, plint deltaX, plint deltaY, plint deltaZ)

Detailed Description

template<typename T, template< typename U > class Descriptor>
class plb::CoarseToFineConverter3D< T, Descriptor >

A helper class for grid refinement processors, used to convert location between grids.

A helper class for grid refinement processors, used to convert a location in the coarse lattice to a location in the fine lattice.


Constructor & Destructor Documentation

template<typename T, template< typename U > class Descriptor>
plb::CoarseToFineConverter3D< T, Descriptor >::CoarseToFineConverter3D ( BlockLattice3D< T, Descriptor > const &  coarseLattice,
BlockLattice3D< T, Descriptor > &  fineLattice_ 
) [inline]
template<typename T, template< typename U > class Descriptor>
plb::CoarseToFineConverter3D< T, Descriptor >::CoarseToFineConverter3D ( BlockLattice3D< T, Descriptor > const &  coarseLattice,
BlockLattice3D< T, Descriptor > &  fineLattice_ 
) [inline]

Member Function Documentation

template<typename T, template< typename U > class Descriptor>
FineGridBoundaryDynamics<T,Descriptor>& plb::CoarseToFineConverter3D< T, Descriptor >::fineDynamics ( plint  x,
plint  y,
plint  z,
plint  deltaX,
plint  deltaY,
plint  deltaZ 
) [inline]
template<typename T, template< typename U > class Descriptor>
FineGridBoundaryDynamics<T,Descriptor>& plb::CoarseToFineConverter3D< T, Descriptor >::fineDynamics ( Dot3D  coarsePos,
Dot3D  delta 
) [inline]

Convert location from coarse to fine, add the value delta, and return a reference to the boundary dynamics on the fine grid.

References plb::CoarseToFineConverter3D< T, Descriptor >::fineX(), plb::CoarseToFineConverter3D< T, Descriptor >::fineY(), plb::CoarseToFineConverter3D< T, Descriptor >::fineZ(), plb::Dot3D::x, plb::Dot3D::y, and plb::Dot3D::z.

template<typename T, template< typename U > class Descriptor>
FineGridBoundaryDynamics<T,Descriptor>& plb::CoarseToFineConverter3D< T, Descriptor >::fineDynamics ( plint  x,
plint  y,
plint  z,
plint  deltaX,
plint  deltaY,
plint  deltaZ 
) [inline]
template<typename T, template< typename U > class Descriptor>
FineGridBoundaryDynamics<T,Descriptor>& plb::CoarseToFineConverter3D< T, Descriptor >::fineDynamicsFromFineCoordinates ( Dot3D  pos  )  [inline]
template<typename T, template< typename U > class Descriptor>
plint plb::CoarseToFineConverter3D< T, Descriptor >::fineX ( plint  coarseX  )  const [inline]

Convert the x-component of a location from coarse lattice to fine lattice.

References plb::Dot3D::x.

template<typename T, template< typename U > class Descriptor>
plint plb::CoarseToFineConverter3D< T, Descriptor >::fineY ( plint  coarseY  )  const [inline]

Convert the y-component of a location from coarse lattice to fine lattice.

References plb::Dot3D::y.

template<typename T, template< typename U > class Descriptor>
plint plb::CoarseToFineConverter3D< T, Descriptor >::fineZ ( plint  coarseZ  )  const [inline]

Convert the z-component of a location from coarse lattice to fine lattice.

References plb::Dot3D::z.


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