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

#include <ApproximationModel.hpp>

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

Public Member Functions

 ApproximationModel (StuntDouble *sd, SimInfo *info)
virtual bool calcHydroProps (Shape *shape, RealType viscosity, RealType temperature)
virtual void init ()
virtual void writeBeads (std::ostream &os)
- Public Member Functions inherited from OpenMD::HydrodynamicsModel
 HydrodynamicsModel (StuntDouble *sd, SimInfo *info)
virtual ~HydrodynamicsModel ()
void writeHydroProps (std::ostream &os)
HydroPropgetHydroPropsAtCR ()
HydroPropgetHydroPropsAtCD ()
void setCR (HydroProp *cr)
void setCD (HydroProp *cd)
std::string getStuntDoubleName ()

Private Member Functions

virtual bool createBeads (std::vector< BeadParam > &beads)=0
bool calcHydroPropsAtCR (std::vector< BeadParam > &beads, RealType viscosity, RealType temperature, HydroProp *cr)
bool calcHydroPropsAtCD (std::vector< BeadParam > &beads, RealType viscosity, RealType temperature, HydroProp *cd)

Private Attributes

std::vector< BeadParambeads_

Additional Inherited Members

- Protected Attributes inherited from OpenMD::HydrodynamicsModel

Detailed Description

Definition at line 55 of file ApproximationModel.hpp.

Constructor & Destructor Documentation

◆ ApproximationModel()

OpenMD::ApproximationModel::ApproximationModel ( StuntDouble sd,
SimInfo info 

Reference: Beatriz Carrasco and Jose Gracia de la Torre, Hydrodynamic Properties of Rigid Particles: Comparison of Different Modeling and Computational Procedures. Biophysical Journal, 75(6), 3044, 1999

Definition at line 62 of file ApproximationModel.cpp.

Member Function Documentation

◆ calcHydroProps()

bool OpenMD::ApproximationModel::calcHydroProps ( Shape shape,
RealType  viscosity,
RealType  temperature 

◆ calcHydroPropsAtCD()

◆ calcHydroPropsAtCR()

◆ createBeads()

virtual bool OpenMD::ApproximationModel::createBeads ( std::vector< BeadParam > &  beads)
privatepure virtual

Implemented in OpenMD::RoughShell, and OpenMD::BeadModel.

Referenced by init().

◆ init()

void OpenMD::ApproximationModel::init ( )

◆ writeBeads()

void OpenMD::ApproximationModel::writeBeads ( std::ostream &  os)

Implements OpenMD::HydrodynamicsModel.

Definition at line 458 of file ApproximationModel.cpp.

References beads_.

Member Data Documentation

◆ beads_

std::vector<BeadParam> OpenMD::ApproximationModel::beads_

Definition at line 67 of file ApproximationModel.hpp.

Referenced by calcHydroProps(), init(), and writeBeads().

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