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

#include <makeflo.h>

Public Member Functions

 makefloParam ()
 
void setLevel (int n)
 
void multigridError (void)
 

Public Attributes

int skipAxis
 
int topologyOnly
 
int splitAxis
 
int splitRCB
 
int splithalf
 
int nLevels
 
unsigned int levelBad
 
unsigned int levelGood
 

Detailed Description

Definition at line 90 of file makeflo.h.

Constructor & Destructor Documentation

makefloParam ( )
inline

Definition at line 103 of file makeflo.h.

References setLevel(), skipAxis, splitAxis, splithalf, splitRCB, and topologyOnly.

103  {
104  skipAxis=-1;
105  topologyOnly=0;
106  splitAxis=-1;
107  splitRCB=0;
108  splithalf=0;
109  setLevel(1);
110  }
int splithalf
Definition: makeflo.h:97
void setLevel(int n)
Definition: makeflo.h:111
int skipAxis
Definition: makeflo.h:92
int splitAxis
Definition: makeflo.h:95
int topologyOnly
Definition: makeflo.h:93
int splitRCB
Definition: makeflo.h:96

Here is the call graph for this function:

Member Function Documentation

void multigridError ( void  )

Definition at line 69 of file split.cpp.

References levelBad, and nLevels.

Referenced by checkSpan(), and blockReader::consume().

69  {
70  fprintf(stderr,"To be compatible with multigrid level %d, this\n"
71  "must be a multiple of %d.\n",
72  nLevels, levelBad+1);
73  exit(1);
74 }
int nLevels
Definition: makeflo.h:99
unsigned int levelBad
Definition: makeflo.h:100

Here is the caller graph for this function:

void setLevel ( int  n)
inline

Definition at line 111 of file makeflo.h.

References levelBad, levelGood, n, and nLevels.

Referenced by main(), and makefloParam().

111  { //Use n multigrid levels
112  nLevels=n;
113  levelBad=(1<<(n-1))-1;
115  }
int nLevels
Definition: makeflo.h:99
const NT & n
unsigned int levelBad
Definition: makeflo.h:100
unsigned int levelGood
Definition: makeflo.h:101

Here is the caller graph for this function:

Member Data Documentation

unsigned int levelBad

Definition at line 100 of file makeflo.h.

Referenced by checkSpan(), blockReader::consume(), multigridError(), setLevel(), and block::split().

unsigned int levelGood

Definition at line 101 of file makeflo.h.

Referenced by setLevel(), and block::split().

int nLevels

Definition at line 99 of file makeflo.h.

Referenced by multigridError(), setLevel(), and writeBlock().

int skipAxis

Definition at line 92 of file makeflo.h.

Referenced by face::face(), main(), and makefloParam().

int splitAxis

Definition at line 95 of file makeflo.h.

Referenced by main(), makefloParam(), and block::split().

int splithalf

Definition at line 97 of file makeflo.h.

Referenced by main(), makefloParam(), and splitBlocks().

int splitRCB

Definition at line 96 of file makeflo.h.

Referenced by main(), makefloParam(), and block::split().

int topologyOnly

Definition at line 93 of file makeflo.h.

Referenced by main(), makefloParam(), and writeMblock().


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