#include "SAMRAI_config.h"
#include "tbox/Complex.h"
#include <string>
#include "tbox/IOStream.h"
#include <sys/types.h>
#include <sys/stat.h>
#include "tbox/Utilities.I"
Namespaces | |
namespace | SAMRAI |
namespace | SAMRAI::tbox |
Defines | |
#define | NULL_STATEMENT |
#define | NULL_USE(variable) |
#define | TBOX_ERROR(X) |
#define | TBOX_WARNING(X) |
#define | TBOX_ASSERT(EXP) |
#define | PETSC_SAMRAI_ERROR(ierr) |
|
A statement that does nothing, for insure++ make it something more complex than a simple C null statement to avoid a warning. |
|
Value: do { \ if(0) {char *temp = (char *)&variable; temp++;} \ } while (0) |
|
Value: do { \ ostringstream tboxos; \ tboxos << X << ends; \ SAMRAI::tbox::Utilities::abort(tboxos.str().c_str(), __FILE__, __LINE__);\ } while (0) |
|
Value: do { \ ostringstream tboxos; \ tboxos << X << ends; \ SAMRAI::tbox::Utilities::printWarning(tboxos.str(), __FILE__, __LINE__);\ } while (0) |
|
Value: do { \ if ( !(EXP) ) { \ ostringstream tboxos; \ tboxos << "Failed assertion: " << ends;\ SAMRAI::tbox::Utilities::abort(tboxos.str().c_str(), __FILE__, __LINE__);\ } \ } while (0) |
|
Value: do { \ if (ierr) { \ ostringstream tboxos; \ SAMRAI::tbox::Utilities::abort(tboxos.str().c_str(), __FILE__, __LINE__); \ } \ } while (0) |