CG  Version 25
Functions
readOrBuildTheGrid.C File Reference
#include "CgSolverUtil.h"
#include "GenericGraphicsInterface.h"
#include "CompositeGrid.h"
#include "MappedGrid.h"
#include "GenericMappedGridOperators.h"
#include "MappingInformation.h"
Include dependency graph for readOrBuildTheGrid.C:

Functions

int ogen (MappingInformation &mappingInfo, GenericGraphicsInterface &ps, const aString &commandFileName, CompositeGrid *cgp=0)
 
aString readOrBuildTheGrid (GenericGraphicsInterface &ps, CompositeGrid &cg, bool loadBalance, int numberOfParallelGhost, int maxWidthExtrapInterpNeighbours)
 : Read a CompositeGrid from a data base file or create a CompositeGrid with ogen
 

Function Documentation

int ogen ( MappingInformation &  mappingInfo,
GenericGraphicsInterface &  ps,
const aString &  commandFileName,
CompositeGrid *  cgp = 0 
)
aString readOrBuildTheGrid ( GenericGraphicsInterface &  ps,
CompositeGrid &  cg,
bool  loadBalance,
int  numberOfParallelGhost,
int  maxWidthExtrapInterpNeighbours 
)

: Read a CompositeGrid from a data base file or create a CompositeGrid with ogen

Parameters
ps: graphics object to use
cg: create this grid.
loadBalance: set to true to load balance (default)
Returns
value: the name of the grid file (or an empty string if the grid was built interatively)

References ogen(), OV_ABORT(), and printF().

Referenced by main().