OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::HydrodynamicsModel Class Referenceabstract

#include <HydrodynamicsModel.hpp>

Inheritance diagram for OpenMD::HydrodynamicsModel:
OpenMD::AnalyticalModel OpenMD::ApproximationModel OpenMD::BeadModel OpenMD::RoughShell

Public Member Functions

 HydrodynamicsModel (StuntDouble *sd, SimInfo *info)
 
virtual ~HydrodynamicsModel ()
 
virtual bool calcHydroProps (Shape *shape, RealType viscosity, RealType temperature)
 
virtual void init ()
 
virtual void writeBeads (std::ostream &os)=0
 
void writeHydroProps (std::ostream &os)
 
HydroPropgetHydroPropsAtCR ()
 
HydroPropgetHydroPropsAtCD ()
 
void setCR (HydroProp *cr)
 
void setCD (HydroProp *cd)
 
std::string getStuntDoubleName ()
 

Protected Attributes

StuntDoublesd_
 
SimInfoinfo_
 

Private Attributes

HydroPropcr_
 
HydroPropcd_
 
std::vector< BeadParambeads_
 

Detailed Description

Todo:
document

Definition at line 65 of file HydrodynamicsModel.hpp.

Constructor & Destructor Documentation

◆ HydrodynamicsModel()

OpenMD::HydrodynamicsModel::HydrodynamicsModel ( StuntDouble sd,
SimInfo info 
)
inline

Definition at line 67 of file HydrodynamicsModel.hpp.

◆ ~HydrodynamicsModel()

virtual OpenMD::HydrodynamicsModel::~HydrodynamicsModel ( )
inlinevirtual

Definition at line 68 of file HydrodynamicsModel.hpp.

Member Function Documentation

◆ calcHydroProps()

bool OpenMD::HydrodynamicsModel::calcHydroProps ( Shape shape,
RealType  viscosity,
RealType  temperature 
)
virtual

Reimplemented in OpenMD::ApproximationModel, and OpenMD::AnalyticalModel.

Definition at line 50 of file HydrodynamicsModel.cpp.

Referenced by main().

◆ getHydroPropsAtCD()

HydroProp* OpenMD::HydrodynamicsModel::getHydroPropsAtCD ( )
inline

Definition at line 76 of file HydrodynamicsModel.hpp.

◆ getHydroPropsAtCR()

HydroProp* OpenMD::HydrodynamicsModel::getHydroPropsAtCR ( )
inline

Definition at line 75 of file HydrodynamicsModel.hpp.

◆ getStuntDoubleName()

std::string OpenMD::HydrodynamicsModel::getStuntDoubleName ( )
inline

Definition at line 80 of file HydrodynamicsModel.hpp.

Referenced by main().

◆ init()

virtual void OpenMD::HydrodynamicsModel::init ( )
inlinevirtual

Reimplemented in OpenMD::ApproximationModel.

Definition at line 72 of file HydrodynamicsModel.hpp.

References writeHydroProps().

Referenced by main().

◆ setCD()

void OpenMD::HydrodynamicsModel::setCD ( HydroProp cd)
inline

◆ setCR()

void OpenMD::HydrodynamicsModel::setCR ( HydroProp cr)
inline

◆ writeBeads()

virtual void OpenMD::HydrodynamicsModel::writeBeads ( std::ostream &  os)
pure virtual

Implemented in OpenMD::ApproximationModel, and OpenMD::AnalyticalModel.

Referenced by main().

◆ writeHydroProps()

void OpenMD::HydrodynamicsModel::writeHydroProps ( std::ostream &  os)

Member Data Documentation

◆ beads_

std::vector<BeadParam> OpenMD::HydrodynamicsModel::beads_
private

Definition at line 87 of file HydrodynamicsModel.hpp.

◆ cd_

HydroProp* OpenMD::HydrodynamicsModel::cd_
private

Definition at line 86 of file HydrodynamicsModel.hpp.

Referenced by writeHydroProps().

◆ cr_

HydroProp* OpenMD::HydrodynamicsModel::cr_
private

Definition at line 85 of file HydrodynamicsModel.hpp.

Referenced by writeHydroProps().

◆ info_

SimInfo* OpenMD::HydrodynamicsModel::info_
protected

Definition at line 83 of file HydrodynamicsModel.hpp.

◆ sd_

StuntDouble* OpenMD::HydrodynamicsModel::sd_
protected

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