Chaste  Build::
ViscosityCalculator< DIM > Class Template Reference

#include <ViscosityCalculator.hpp>

+ Inheritance diagram for ViscosityCalculator< DIM >:
+ Collaboration diagram for ViscosityCalculator< DIM >:

Public Member Functions

 ViscosityCalculator ()
 
 ~ViscosityCalculator ()
 
void Calculate ()
 
void SetPlasmaViscosity (units::quantity< unit::dynamic_viscosity > viscosity)
 
- Public Member Functions inherited from AbstractVesselNetworkCalculator< DIM >
 AbstractVesselNetworkCalculator ()
 
virtual ~AbstractVesselNetworkCalculator ()
 
void SetVesselNetwork (boost::shared_ptr< VesselNetwork< DIM > > pNetwork)
 

Static Public Member Functions

static boost::shared_ptr< ViscosityCalculator< DIM > > Create ()
 

Private Attributes

units::quantity< unit::dynamic_viscosity > mPlasmaViscosity
 

Additional Inherited Members

- Protected Attributes inherited from AbstractVesselNetworkCalculator< DIM >
boost::shared_ptr< VesselNetwork< DIM > > mpNetwork
 

Detailed Description

template<unsigned DIM>
class ViscosityCalculator< DIM >

This solver calculates the dynamic viscosity in a vessel as a function of radius and haematocrit according to: Alarcon et al. (2003), JTB, 225, pp257-274.

Definition at line 47 of file ViscosityCalculator.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
ViscosityCalculator< DIM >::ViscosityCalculator ( )

Constructor.

Definition at line 41 of file ViscosityCalculator.cpp.

template<unsigned DIM>
ViscosityCalculator< DIM >::~ViscosityCalculator ( )

Destructor.

Definition at line 48 of file ViscosityCalculator.cpp.

Member Function Documentation

template<unsigned DIM>
void ViscosityCalculator< DIM >::Calculate ( )
virtual
template<unsigned DIM>
boost::shared_ptr< ViscosityCalculator< DIM > > ViscosityCalculator< DIM >::Create ( )
static

Construct a new instance of the class and return a shared pointer to it.

Returns
a pointer to a new class instance

Definition at line 54 of file ViscosityCalculator.cpp.

template<unsigned DIM>
void ViscosityCalculator< DIM >::SetPlasmaViscosity ( units::quantity< unit::dynamic_viscosity >  viscosity)

Set the plasma viscosity

Parameters
viscositythe plasma viscosity

Definition at line 61 of file ViscosityCalculator.cpp.

References ViscosityCalculator< DIM >::mPlasmaViscosity.

Member Data Documentation

template<unsigned DIM>
units::quantity<unit::dynamic_viscosity> ViscosityCalculator< DIM >::mPlasmaViscosity
private

The plasma viscosity.

Definition at line 53 of file ViscosityCalculator.hpp.

Referenced by ViscosityCalculator< DIM >::Calculate(), and ViscosityCalculator< DIM >::SetPlasmaViscosity().


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