PPL Logo

cg3d::Volume3dDest Class Reference

Compute the volume of the shape bounded by these faces. More...

#include <cg3d.h>

Inheritance diagram for cg3d::Volume3dDest:

Inheritance graph
[legend]
Collaboration diagram for cg3d::Volume3dDest:

Collaboration graph
[legend]

Public Member Functions

 Volume3dDest ()
 Volume3dDest (const CkVector3d &origin_)
 Debugging-only constructor: specify sweep origin.
 ~Volume3dDest ()
virtual void addFace (const Planar3d &f, int src)
double getVolume (void) const

Private Attributes

bool hasOrigin
CkVector3d origin
double volume
Volume3dDest * subVolume

Detailed Description

Compute the volume of the shape bounded by these faces.

Definition at line 233 of file cg3d.h.


Constructor & Destructor Documentation

Volume3dDest::Volume3dDest (  ) 

Definition at line 279 of file cg3d.C.

References hasOrigin, subVolume, and volume.

Volume3dDest::Volume3dDest ( const CkVector3d &  origin_  ) 

Debugging-only constructor: specify sweep origin.

Definition at line 287 of file cg3d.C.

References hasOrigin, origin, subVolume, and volume.

Volume3dDest::~Volume3dDest (  ) 

Definition at line 296 of file cg3d.C.

References getVolume(), subVolume, and volume.

Here is the call graph for this function:


Member Function Documentation

void Volume3dDest::addFace ( const Planar3d &  f,
int  src 
) [virtual]

Implements cg3d::Planar3dDest.

Definition at line 313 of file cg3d.C.

References addFace(), cg3d::Planar3d::getPoint(), cg3d::Planar3d::getPoints(), hasOrigin, origin, subVolume, cg3d::tetVolume(), and volume.

Referenced by addFace().

Here is the call graph for this function:

Here is the caller graph for this function:

double cg3d::Volume3dDest::getVolume ( void   )  const [inline]

Definition at line 248 of file cg3d.h.

References volume.

Referenced by ~Volume3dDest().

Here is the caller graph for this function:


Field Documentation

Definition at line 234 of file cg3d.h.

Referenced by addFace(), and Volume3dDest().

Definition at line 235 of file cg3d.h.

Referenced by addFace(), and Volume3dDest().

double cg3d::Volume3dDest::volume [private]

Definition at line 236 of file cg3d.h.

Referenced by addFace(), getVolume(), Volume3dDest(), and ~Volume3dDest().

Definition at line 238 of file cg3d.h.

Referenced by addFace(), Volume3dDest(), and ~Volume3dDest().


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

Generated on Mon Sep 21 08:33:32 2020 for Charm++ by  doxygen 1.5.5