Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Geometry.h

Go to the documentation of this file.
00001 // Geometry.h: interface for the CGeometry class.
00002 //
00004 
00005 #if !defined(AFX_GEOMETRY_H__B03B7766_4F0E_11D3_8AFC_00105AC65E34__INCLUDED_)
00006 #define AFX_GEOMETRY_H__B03B7766_4F0E_11D3_8AFC_00105AC65E34__INCLUDED_
00007 
00008 #if _MSC_VER >= 1000
00009 #pragma once
00010 #endif // _MSC_VER >= 1000
00011 
00012 class CCell;
00013 
00014 class CGeometry  
00015 {
00016 public:
00017         void Divide();
00018         double GetSepf();
00019         double GetSurface();
00020         double GetWidth();
00021         void AddSepta();
00022         void UpdateShape();
00023         void ComputeVolume();
00024         void CheckVolume();
00025         double GetVolume();
00026         CGeometry(const CGeometry& rGeom, CCell* pCell);
00027         CGeometry(CCell* pCell);        //Constructor
00028         virtual ~CGeometry();
00029         double CL;      //Cell Length
00030         double SL[3];           //Septum length
00031         double E23;
00032 
00033 private:
00034         double CalcWidth();
00035         CGeometry();    //Default not to be used
00036         CCell* m_pCell; //pointer to parent Cell
00037         double CW;      //Cell Width
00038         double DEN;             //Density
00039         double S;                       //Cellular Surface Area
00040         double V;                       //Volume
00041         double SEPF[3]; //Area of each septum
00042         int NSEPF;              //number of septa
00043         double CSL[3];  //unit change 10000*(septum length)
00044         double E3[3];
00045         double E2;
00046 };
00047 
00048 #endif // !defined(AFX_GEOMETRY_H__B03B7766_4F0E_11D3_8AFC_00105AC65E34__INCLUDED_)

Generated on Mon Nov 3 09:37:51 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002