#include "FiniteElementTools.h"
#include "moab/Remapping/TempestOnlineMap.hpp"
#include "moab/TupleList.hpp"
#include "netcdfcpp.h"
Go to the source code of this file.
|
void | print_progress (const int barWidth, const float progress, const char *message) |
|
◆ CHECK_EXCEPTION
#define CHECK_EXCEPTION |
( |
|
obj, |
|
|
|
type, |
|
|
|
varstr |
|
) |
| |
Value: { \
if( obj == NULL ) \
{ \
_EXCEPTION3( "Map file \"%s\" does not contain %s \"%s\"", strSource, type, varstr ); \
} \
}
◆ print_progress()
void print_progress |
( |
const int |
barWidth, |
|
|
const float |
progress, |
|
|
const char * |
message |
|
) |
| |
Definition at line 1147 of file TempestOnlineMapIO.cpp.
1149 std::cout << message <<
" [";
1150 int pos = barWidth * progress;
1151 for(
int i = 0; i < barWidth; ++i )
1160 std::cout <<
"] " << int( progress * 100.0 ) <<
" %\r";