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

plb::DotList3D Struct Reference

List of 3D points, used to describe a subdomain. More...

#include <geometry3D.h>

List of all members.

Public Member Functions

 DotList3D ()
 DotList3D (std::vector< Dot3D > const &dots_)
void addDot (Dot3D dot)
 Add one more point to the list.
void addDots (std::vector< Dot3D > const &dots_)
 Add more points to the list.
Dot3D const & getDot (plint whichDot) const
 Get const reference to one of the dots.
Dot3DgetDot (plint whichDot)
 Get non-const reference to one of the dots.
DotList3D shift (plint deltaX, plint deltaY, plint deltaZ) const
 Return same point list, shifted by (deltaX,deltaY,deltaZ).
DotList3D multiply (plint scaling) const
 Return same box, rescaled by a factor scaling.
DotList3D divide (plint scaling) const
 Return same box, rescaled by a factor 1/scaling.
plint getN () const
 Get total number of points.

Public Attributes

std::vector< Dot3Ddots

Detailed Description

List of 3D points, used to describe a subdomain.


Constructor & Destructor Documentation

plb::DotList3D::DotList3D (  )  [inline]

Referenced by divide(), multiply(), and shift().

plb::DotList3D::DotList3D ( std::vector< Dot3D > const &  dots_  )  [inline]

Member Function Documentation

void plb::DotList3D::addDot ( Dot3D  dot  )  [inline]

Add one more point to the list.

References dots.

Referenced by plb::defineDynamics(), and plb::intersect().

void plb::DotList3D::addDots ( std::vector< Dot3D > const &  dots_  )  [inline]

Add more points to the list.

References dots.

DotList3D plb::DotList3D::divide ( plint  scaling  )  const [inline]

Return same box, rescaled by a factor 1/scaling.

References DotList3D(), and dots.

Referenced by plb::DottedReductiveDataProcessorGenerator3D::divide(), and plb::DottedDataProcessorGenerator3D::divide().

Dot3D& plb::DotList3D::getDot ( plint  whichDot  )  [inline]

Get non-const reference to one of the dots.

References dots, getN(), and PLB_PRECONDITION.

Dot3D const& plb::DotList3D::getDot ( plint  whichDot  )  const [inline]
plint plb::DotList3D::getN (  )  const [inline]
DotList3D plb::DotList3D::multiply ( plint  scaling  )  const [inline]

Return same box, rescaled by a factor scaling.

References DotList3D(), and dots.

Referenced by plb::DottedReductiveDataProcessorGenerator3D::multiply(), and plb::DottedDataProcessorGenerator3D::multiply().

DotList3D plb::DotList3D::shift ( plint  deltaX,
plint  deltaY,
plint  deltaZ 
) const [inline]

Return same point list, shifted by (deltaX,deltaY,deltaZ).

References DotList3D(), and dots.

Referenced by plb::DottedReductiveDataProcessorGenerator3D::shift(), and plb::DottedDataProcessorGenerator3D::shift().


Member Data Documentation


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