cell_system::CellSystemJunction Class Reference

Content of a vertex for the 2D cell system. More...

#include <algorithms/cellsystem.h>

List of all members.

Public Member Functions

bool serialize (storage::VVEStorage &)
 Serialization method.

Public Attributes

Point3d force
 Force of the junction.
Point3d pos
 Position of the vertex.
Point3d velocity
 Velocity of the junction.

Detailed Description

Content of a vertex for the 2D cell system.

Definition at line 337 of file cellsystem.h.


Member Function Documentation

bool cell_system::CellSystemJunction::serialize ( storage::VVEStorage store  ) 

Serialization method.

Definition at line 25 of file cellsystem.cpp.

References storage::VVEStorage::field(), force, pos, and velocity.

00026   {
00027     if(!store.field("Position", pos))
00028       return false;
00029     if(!store.field("Force", force))
00030     {
00031       cerr << "Warning, cell system junction without any force. Starting with zero force." << endl;
00032       force = Point3d();
00033     }
00034     if(!store.field("Velocity", velocity))
00035     {
00036       cerr << "Warning, cell system junction without any velocity. Starting with zero velocity." << endl;
00037       velocity = Point3d();
00038     }
00039     return true;
00040   }


Member Data Documentation

Force of the junction.

Definition at line 346 of file cellsystem.h.

Referenced by serialize().

Position of the vertex.

Definition at line 342 of file cellsystem.h.

Referenced by serialize().

Velocity of the junction.

Definition at line 350 of file cellsystem.h.

Referenced by serialize().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:38:07 2013 for VVE by  doxygen 1.6.3