OpenMD 3.2
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, Vector3d > getBoundingBox ()
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 56 of file Sphere.hpp.

Constructor & Destructor Documentation

◆ Sphere()

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

Definition at line 55 of file Sphere.cpp.

Member Function Documentation

◆ getBoundingBox()

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

Implements OpenMD::Shape.

Definition at line 70 of file Sphere.cpp.

◆ getHydroProp()

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

Implements OpenMD::Shape.

Definition at line 78 of file Sphere.cpp.

◆ getOrigin()

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

Implements OpenMD::Shape.

Definition at line 69 of file Sphere.hpp.

◆ getRadius()

RealType OpenMD::Sphere::getRadius ( )
inline

Definition at line 70 of file Sphere.hpp.

◆ hasAnalyticalSolution()

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

Implements OpenMD::Shape.

Definition at line 62 of file Sphere.hpp.

◆ isComposite()

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

Implements OpenMD::Shape.

Definition at line 63 of file Sphere.hpp.

◆ isInterior()

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

Implements OpenMD::Shape.

Definition at line 58 of file Sphere.cpp.

◆ isMesh()

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

Implements OpenMD::Shape.

Definition at line 65 of file Sphere.hpp.

◆ isSpherical()

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

Implements OpenMD::Shape.

Definition at line 64 of file Sphere.hpp.


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