Overture  Version 25
DataBaseAccessFunctions.h
Go to the documentation of this file.
1 #ifndef DATA_BASE_ACCESS_FUNCTIONS_H
2 #define DATA_BASE_ACCESS_FUNCTIONS_H
3 
4 // Define some functions that get Grids from a database
5 
6 extern const aString nullString;
7 
8 class LoadBalancer;
9 
10 
13 
14 // read a grid from a file
16  aString & fileName,
17  const aString & gridName=nullString,
18  const bool & checkTheGrid=false,
19  int printInfo =1 );
20 
21 // read a grid from a file and load-balance using the provided LoadBalancer
22 int
24  aString & fileName,
26  const aString & gridName =nullString,
27  const bool & checkTheGrid =false,
28  int printInfo =1 );
29 
30 // read a grid from a file and load-balance using the default LoadBalancer
31 int
33  aString & fileName,
34  bool loadBalance,
35  const aString & gridName=nullString,
36  const bool & checkTheGrid=false,
37  int printInfo =1 );
38 
39 int findDataBaseFile( aString & fileName,
40  const bool & searchCommonLocations=true,
41  int printInfo =1 );
42 
43 #endif