OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::Sphere Class Reference
+ Inheritance diagram for OpenMD::Sphere:

Public Member Functions

 Sphere (Vector3d origin, RealType radius)
 
virtual bool isInterior (Vector3d pos)
 
virtual std::pair< Vector3d, Vector3dgetBoundingBox ()
 
virtual bool hasAnalyticalSolution ()
 
virtual bool isComposite ()
 
virtual bool isSpherical ()
 
virtual bool isMesh ()
 
virtual HydroPropgetHydroProp (RealType viscosity)
 
virtual Vector3d getOrigin ()
 
RealType getRadius ()
 
- Public Member Functions inherited from OpenMD::Shape
std::string getName ()
 
void setName (const std::string name)
 

Detailed Description

Definition at line 53 of file Sphere.hpp.

Constructor & Destructor Documentation

◆ Sphere()

OpenMD::Sphere::Sphere ( Vector3d origin,
RealType radius )

Definition at line 52 of file Sphere.cpp.

Member Function Documentation

◆ getBoundingBox()

std::pair< Vector3d, Vector3d > OpenMD::Sphere::getBoundingBox ( )
virtual

Implements OpenMD::Shape.

Definition at line 67 of file Sphere.cpp.

◆ getHydroProp()

HydroProp * OpenMD::Sphere::getHydroProp ( RealType viscosity)
virtual

Implements OpenMD::Shape.

Definition at line 75 of file Sphere.cpp.

◆ getOrigin()

virtual Vector3d OpenMD::Sphere::getOrigin ( )
inlinevirtual

Implements OpenMD::Shape.

Definition at line 66 of file Sphere.hpp.

◆ getRadius()

RealType OpenMD::Sphere::getRadius ( )
inline

Definition at line 67 of file Sphere.hpp.

◆ hasAnalyticalSolution()

virtual bool OpenMD::Sphere::hasAnalyticalSolution ( )
inlinevirtual

Implements OpenMD::Shape.

Definition at line 59 of file Sphere.hpp.

◆ isComposite()

virtual bool OpenMD::Sphere::isComposite ( )
inlinevirtual

Implements OpenMD::Shape.

Definition at line 60 of file Sphere.hpp.

◆ isInterior()

bool OpenMD::Sphere::isInterior ( Vector3d pos)
virtual

Implements OpenMD::Shape.

Definition at line 55 of file Sphere.cpp.

◆ isMesh()

virtual bool OpenMD::Sphere::isMesh ( )
inlinevirtual

Implements OpenMD::Shape.

Definition at line 62 of file Sphere.hpp.

◆ isSpherical()

virtual bool OpenMD::Sphere::isSpherical ( )
inlinevirtual

Implements OpenMD::Shape.

Definition at line 61 of file Sphere.hpp.


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