MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
JunctionStruct Struct Reference

#include <HinesMatrix.h>

+ Collaboration diagram for JunctionStruct:

Public Member Functions

 JunctionStruct (unsigned int i, unsigned int r)
 
bool operator< (const JunctionStruct &other) const
 

Public Attributes

unsigned int index
 Hines index of the compartment. More...
 
unsigned int rank
 

Detailed Description

Definition at line 25 of file HinesMatrix.h.

Constructor & Destructor Documentation

JunctionStruct::JunctionStruct ( unsigned int  i,
unsigned int  r 
)
inline

Definition at line 27 of file HinesMatrix.h.

27  :
28  index( i ),
29  rank( r )
30  {
31  ;
32  }
unsigned int index
Hines index of the compartment.
Definition: HinesMatrix.h:39
unsigned int rank
Definition: HinesMatrix.h:40

Member Function Documentation

bool JunctionStruct::operator< ( const JunctionStruct other) const
inline

Definition at line 34 of file HinesMatrix.h.

References index.

35  {
36  return ( index < other.index );
37  }
unsigned int index
Hines index of the compartment.
Definition: HinesMatrix.h:39

Member Data Documentation

unsigned int JunctionStruct::index

Hines index of the compartment.

Definition at line 39 of file HinesMatrix.h.

Referenced by operator<().

unsigned int JunctionStruct::rank

Number of elements "remaining" in this compartment's group: i.e., number of children with a larger Hines index, +1 for the parent.

Definition at line 40 of file HinesMatrix.h.


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