Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bRec Class Reference

Public Member Functions

 bRec ()
 
 bRec (int b_, int vol_)
 

Static Public Member Functions

static bool less (const bRec &a, const bRec &b)
 

Public Attributes

int b
 
int vol
 
int n
 

Detailed Description

Definition at line 186 of file split.cpp.

Constructor & Destructor Documentation

bRec ( )
inline

Definition at line 191 of file split.cpp.

191 {}
bRec ( int  b_,
int  vol_ 
)
inline

Definition at line 192 of file split.cpp.

References b, n, and vol.

192  {
193  b=b_;
194  vol=vol_;
195  n=1;
196  }
int b
Definition: split.cpp:188
int vol
Definition: split.cpp:189
int n
Definition: split.cpp:190

Member Function Documentation

static bool less ( const bRec a,
const bRec b 
)
inlinestatic

Definition at line 198 of file split.cpp.

References n, and vol.

Referenced by splitBlocks().

198  {
199  return (a.vol*b.n)<(b.vol*a.n);
200  }
int vol
Definition: split.cpp:189
int n
Definition: split.cpp:190

Here is the caller graph for this function:

Member Data Documentation

int b

Definition at line 188 of file split.cpp.

Referenced by bRec().

int n

Definition at line 190 of file split.cpp.

Referenced by bRec(), and less().

int vol

Definition at line 189 of file split.cpp.

Referenced by bRec(), and less().


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