PPL Logo

Mgc::TetrahedronVolumeConsumer Class Reference

Sums up volume of tetrahedra passed to it. More...

#include <MgcIntr3DTetrTetr.h>

Inheritance diagram for Mgc::TetrahedronVolumeConsumer:

Inheritance graph
[legend]
Collaboration diagram for Mgc::TetrahedronVolumeConsumer:

Collaboration graph
[legend]

Public Member Functions

 TetrahedronVolumeConsumer ()
void Add (const Tetrahedron &kT2)
 Take this tet.
 operator double ()

Private Member Functions

double tetVolume (const Vector3 &A, const Vector3 &B, const Vector3 &C, const Vector3 &D)
 Return the volume of the tetrahedron with these vertices.

Private Attributes

double volume

Detailed Description

Sums up volume of tetrahedra passed to it.

Definition at line 36 of file MgcIntr3DTetrTetr.h.


Constructor & Destructor Documentation

Mgc::TetrahedronVolumeConsumer::TetrahedronVolumeConsumer (  )  [inline]

Definition at line 48 of file MgcIntr3DTetrTetr.h.


Member Function Documentation

double Mgc::TetrahedronVolumeConsumer::tetVolume ( const Vector3 A,
const Vector3 B,
const Vector3 C,
const Vector3 D 
) [inline, private]

Return the volume of the tetrahedron with these vertices.

Definition at line 41 of file MgcIntr3DTetrTetr.h.

Referenced by Add().

Here is the caller graph for this function:

void Mgc::TetrahedronVolumeConsumer::Add ( const Tetrahedron tet  )  [inline, virtual]

Take this tet.

Implements Mgc::TetrahedronConsumer.

Definition at line 49 of file MgcIntr3DTetrTetr.h.

References tetVolume(), and volume.

Here is the call graph for this function:

Mgc::TetrahedronVolumeConsumer::operator double (  )  [inline]

Definition at line 52 of file MgcIntr3DTetrTetr.h.

References volume.


Field Documentation

Definition at line 37 of file MgcIntr3DTetrTetr.h.

Referenced by Add(), and operator double().


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

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