COPASI API  4.16.103
Public Member Functions | Public Attributes | List of all members
CompartmentInfo Class Reference

Public Member Functions

void add (double area)
 
 CompartmentInfo ()
 

Public Attributes

double mAreaSum
 
unsigned int mNumItems
 

Detailed Description

Definition at line 973 of file CCopasiSpringLayout.cpp.

Constructor & Destructor Documentation

CompartmentInfo::CompartmentInfo ( )
inline

Definition at line 979 of file CCopasiSpringLayout.cpp.

980  : mNumItems(0),
981  mAreaSum(0.0)
982  {}

Member Function Documentation

void CompartmentInfo::add ( double  area)
inline

Definition at line 984 of file CCopasiSpringLayout.cpp.

References mAreaSum, and mNumItems.

985  {
986  ++mNumItems;
987  mAreaSum += area;
988  }

Member Data Documentation

double CompartmentInfo::mAreaSum

Definition at line 977 of file CCopasiSpringLayout.cpp.

Referenced by add().

unsigned int CompartmentInfo::mNumItems

Definition at line 976 of file CCopasiSpringLayout.cpp.

Referenced by add().


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