OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::ConvexHull Class Reference

#include <ConvexHull.hpp>

Inheritance diagram for OpenMD::ConvexHull:
OpenMD::Hull

Public Member Functions

 ConvexHull ()
 
virtual ~ConvexHull ()
 
void computeHull (std::vector< StuntDouble *> bodydoubles)
 
RealType getArea ()
 
RealType getVolume ()
 
std::vector< TrianglegetMesh ()
 
- Public Member Functions inherited from OpenMD::Hull
virtual ~Hull ()
 

Protected Attributes

const std::string options_
 
int dim_
 

Private Attributes

RealType volume_
 
RealType area_
 
std::vector< TriangleTriangles_
 

Detailed Description

Definition at line 64 of file ConvexHull.hpp.

Constructor & Destructor Documentation

◆ ConvexHull()

ConvexHull::ConvexHull ( )

Definition at line 66 of file ConvexHull.cpp.

◆ ~ConvexHull()

virtual OpenMD::ConvexHull::~ConvexHull ( )
inlinevirtual

Definition at line 68 of file ConvexHull.hpp.

References computeHull().

Member Function Documentation

◆ computeHull()

◆ getArea()

RealType OpenMD::ConvexHull::getArea ( )
inlinevirtual

Implements OpenMD::Hull.

Definition at line 73 of file ConvexHull.hpp.

References area_.

Referenced by OpenMD::RNEMD::getDividingArea(), and OpenMD::NanoVolume::process().

◆ getMesh()

std::vector<Triangle> OpenMD::ConvexHull::getMesh ( )
inlinevirtual

Implements OpenMD::Hull.

Definition at line 78 of file ConvexHull.hpp.

References Triangles_.

◆ getVolume()

RealType OpenMD::ConvexHull::getVolume ( )
inlinevirtual

Implements OpenMD::Hull.

Definition at line 76 of file ConvexHull.hpp.

References volume_.

Referenced by OpenMD::NanoVolume::process().

Member Data Documentation

◆ area_

RealType OpenMD::ConvexHull::area_
private

Definition at line 88 of file ConvexHull.hpp.

Referenced by computeHull(), and getArea().

◆ dim_

int OpenMD::ConvexHull::dim_
protected

Definition at line 82 of file ConvexHull.hpp.

Referenced by computeHull().

◆ options_

const std::string OpenMD::ConvexHull::options_
protected

Definition at line 81 of file ConvexHull.hpp.

Referenced by computeHull().

◆ Triangles_

std::vector<Triangle> OpenMD::ConvexHull::Triangles_
private

Definition at line 89 of file ConvexHull.hpp.

Referenced by computeHull(), and getMesh().

◆ volume_

RealType OpenMD::ConvexHull::volume_
private

Definition at line 87 of file ConvexHull.hpp.

Referenced by computeHull(), and getVolume().


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