Biomechanical Joint Model
 Author: Anderson Maciel

COME_SubSpaceElement Class Reference

#include <comesubspaceelement.h>

Inherits COME.

Inherited by COME_Molecule.

Inheritance diagram for COME_SubSpaceElement:

Inheritance graph
[legend]
Collaboration diagram for COME_SubSpaceElement:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setMass (double massN)
void setVolume (double volumeN)
void setPosition (COME_Point3D &positionN)
void setPositionMinusOne (COME_Point3D positionN)
void setVelocity (COME_Vector3D &velocityN)
void setAcceleration (COME_Vector3D &accelerationN)
void setMaterial (COME_Material *materialN)
void setIndex (int indexN)
void setStress (double stressN)
void setStrain (double strainN)
void setFixed (bool flag)
double getMass () const
double getVolume () const
COME_Point3D getPosition () const
COME_Point3D getPositionMinusOne () const
COME_Point3D getLastDisp () const
COME_Point3D getGlobalPosition () const
COME_Vector3D getVelocity () const
COME_Vector3D getAcceleration () const
COME_MaterialgetMaterial () const
int getIndex () const
double getStress () const
double getStrain () const
bool isFixed () const

Protected Attributes

double mass
double volume
COME_Point3D position
COME_Point3D position_minus_one
COME_Vector3D velocity
COME_Vector3D acceleration
COME_Materialmaterial
int index
double stress
double strain
bool fixed

Detailed Description

This abstract class defines a generic volumetric portion of an object. It should be implemented according to any deformation method based in space subdivision, like FEM, molecular systems, mass spring systems, etc.

Definition at line 55 of file comesubspaceelement.h.


Member Function Documentation

COME_Vector3D COME_SubSpaceElement::getAcceleration  )  const
 

Definition at line 169 of file comesubspaceelement.cpp.

References acceleration.

COME_Point3D COME_SubSpaceElement::getGlobalPosition  )  const
 

Definition at line 151 of file comesubspaceelement.cpp.

References COME::description, isFixed(), COME::parent, and position.

Referenced by COME_Molecule::makeLocalFrame(), and COME_Molecule::makeOriginalFrame().

Here is the call graph for this function:

int COME_SubSpaceElement::getIndex  )  const
 

Definition at line 181 of file comesubspaceelement.cpp.

References index.

COME_Point3D COME_SubSpaceElement::getLastDisp  )  const
 

Definition at line 145 of file comesubspaceelement.cpp.

References position, and position_minus_one.

double COME_SubSpaceElement::getMass  )  const
 

Definition at line 121 of file comesubspaceelement.cpp.

References mass.

COME_Material * COME_SubSpaceElement::getMaterial  )  const
 

Definition at line 175 of file comesubspaceelement.cpp.

References material.

Referenced by COME_Collision::COME_Collision(), COME_Molecule::createLink(), and COME_Face::getElasticity().

COME_Point3D COME_SubSpaceElement::getPosition  )  const
 

Definition at line 133 of file comesubspaceelement.cpp.

References position.

Referenced by COME_MoleculesTissue::addMolecule(), COME_Mesh::changeAnchorIfNear(), COME_MoleculeLink::COME_MoleculeLink(), COME_Molecule::createLink(), COME_MoleculeLink::getLength(), and COME_Mechatester::updateEquation().

COME_Point3D COME_SubSpaceElement::getPositionMinusOne  )  const
 

Definition at line 139 of file comesubspaceelement.cpp.

References position_minus_one.

double COME_SubSpaceElement::getStrain  )  const
 

Definition at line 193 of file comesubspaceelement.cpp.

References strain.

double COME_SubSpaceElement::getStress  )  const
 

Definition at line 187 of file comesubspaceelement.cpp.

References stress.

COME_Vector3D COME_SubSpaceElement::getVelocity  )  const
 

Definition at line 163 of file comesubspaceelement.cpp.

References velocity.

double COME_SubSpaceElement::getVolume  )  const
 

Reimplemented in COME_Molecule.

Definition at line 127 of file comesubspaceelement.cpp.

References volume.

bool COME_SubSpaceElement::isFixed  )  const
 

Getting

Definition at line 115 of file comesubspaceelement.cpp.

References fixed.

Referenced by COME_Molecule::derivs(), getGlobalPosition(), and COME_Molecule::getINITPositionGlobal().

void COME_SubSpaceElement::setAcceleration COME_Vector3D accelerationN  ) 
 

Definition at line 74 of file comesubspaceelement.cpp.

References acceleration.

void COME_SubSpaceElement::setFixed bool  flag  ) 
 

Definition at line 104 of file comesubspaceelement.cpp.

References fixed.

void COME_SubSpaceElement::setIndex int  indexN  ) 
 

Definition at line 86 of file comesubspaceelement.cpp.

References index.

void COME_SubSpaceElement::setMass double  massN  ) 
 

Setting

Definition at line 43 of file comesubspaceelement.cpp.

References mass.

Referenced by COME_Molecule::COME_Molecule().

void COME_SubSpaceElement::setMaterial COME_Material materialN  ) 
 

Definition at line 80 of file comesubspaceelement.cpp.

References material.

Referenced by COME_Molecule::COME_Molecule().

void COME_SubSpaceElement::setPosition COME_Point3D positionN  ) 
 

Reimplemented in COME_Molecule.

Definition at line 55 of file comesubspaceelement.cpp.

References position, and position_minus_one.

void COME_SubSpaceElement::setPositionMinusOne COME_Point3D  positionN  ) 
 

Definition at line 62 of file comesubspaceelement.cpp.

References position_minus_one.

void COME_SubSpaceElement::setStrain double  strainN  ) 
 

Definition at line 98 of file comesubspaceelement.cpp.

References strain.

void COME_SubSpaceElement::setStress double  stressN  ) 
 

Definition at line 92 of file comesubspaceelement.cpp.

References stress.

void COME_SubSpaceElement::setVelocity COME_Vector3D velocityN  ) 
 

Definition at line 68 of file comesubspaceelement.cpp.

References velocity.

Referenced by COME_Molecule::COME_Molecule().

void COME_SubSpaceElement::setVolume double  volumeN  ) 
 

Definition at line 49 of file comesubspaceelement.cpp.

References volume.


Member Data Documentation

COME_Vector3D COME_SubSpaceElement::acceleration [protected]
 

Definition at line 64 of file comesubspaceelement.h.

Referenced by COME_Molecule::derivs(), getAcceleration(), and setAcceleration().

bool COME_SubSpaceElement::fixed [protected]
 

Definition at line 69 of file comesubspaceelement.h.

Referenced by COME_Molecule::COME_Molecule(), isFixed(), and setFixed().

int COME_SubSpaceElement::index [protected]
 

Definition at line 66 of file comesubspaceelement.h.

Referenced by getIndex(), and setIndex().

double COME_SubSpaceElement::mass [protected]
 

Definition at line 59 of file comesubspaceelement.h.

Referenced by getMass(), and setMass().

COME_Material* COME_SubSpaceElement::material [protected]
 

Definition at line 65 of file comesubspaceelement.h.

Referenced by COME_Molecule::createLink(), getMaterial(), and setMaterial().

COME_Point3D COME_SubSpaceElement::position [protected]
 

Definition at line 61 of file comesubspaceelement.h.

Referenced by COME_Molecule::checkPosition(), COME_Molecule::createLink(), getGlobalPosition(), getLastDisp(), getPosition(), COME_Molecule::resetPosition(), setPosition(), and COME_Molecule::setPosition().

COME_Point3D COME_SubSpaceElement::position_minus_one [protected]
 

Definition at line 62 of file comesubspaceelement.h.

Referenced by getLastDisp(), getPositionMinusOne(), setPosition(), and setPositionMinusOne().

double COME_SubSpaceElement::strain [protected]
 

Definition at line 68 of file comesubspaceelement.h.

Referenced by getStrain(), and setStrain().

double COME_SubSpaceElement::stress [protected]
 

Definition at line 67 of file comesubspaceelement.h.

Referenced by COME_Molecule::COME_Molecule(), getStress(), and setStress().

COME_Vector3D COME_SubSpaceElement::velocity [protected]
 

Definition at line 63 of file comesubspaceelement.h.

Referenced by getVelocity(), and setVelocity().

double COME_SubSpaceElement::volume [protected]
 

Definition at line 60 of file comesubspaceelement.h.

Referenced by getVolume(), and setVolume().


The documentation for this class was generated from the following files:
Generated on Thu Dec 1 10:14:28 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5