escript
Revision_
|
Classes | |
class | EsysAssertException |
EsysAssertException exception class. More... | |
class | EsysException |
A base class for exception classes used within Esys system. More... | |
class | FileWriter |
struct | IndexList |
Typedefs | |
typedef std::vector< IndexList > | IndexListArray |
Functions | |
bool | getSplitWorld () |
void | splitWorld () |
std::string | appendRankToFileName (const std::string &fileName, int mpiSize, int mpiRank) |
Appends MPI rank to a file name if MPI size > 1. | |
std::ostream & | operator<< (std::ostream &output, EsysException &inException) |
Stream insertion (print) operator for EsysExceptions. | |
void | RuntimeErrorTranslator (EsysException const &e) |
Function which translates an EsysException into a python RuntimeError. | |
void | ValueErrorTranslator (EsysException const &e) |
Function which translates an EsysException into a python ValueError. | |
void | randomFillArray (long seed, double *array, size_t n) |
void | patternFillArray2D (size_t x, size_t y, double *array, size_t spacing, size_t basex, size_t basey, size_t numpoints) |
void | patternFillArray (int pattern, size_t x, size_t y, size_t z, double *array, size_t spacing, size_t basex, size_t basey, size_t basez, size_t numpoints) |
typedef std::vector<IndexList> esysUtils::IndexListArray |
std::string esysUtils::appendRankToFileName | ( | const std::string & | fileName, |
int | mpiSize, | ||
int | mpiRank | ||
) | [inline] |
Appends MPI rank to a file name if MPI size > 1.
Referenced by escript::DataConstant::dump(), escript::DataExpanded::dump(), dudley::MeshAdapter::dump(), finley::MeshAdapter::dump(), escript::DataTagged::dump(), escript::load(), finley::loadMesh(), and dudley::loadMesh().
bool esysUtils::getSplitWorld | ( | ) | [static] |
Referenced by escript::MPIBarrierWorld().
std::ostream& esysUtils::operator<< | ( | std::ostream & | output, |
EsysException & | inException | ||
) |
Stream insertion (print) operator for EsysExceptions.
output | Input - Output stream. |
inException | Input - The exception to be inserted into the output stream. |
References esysUtils::EsysException::toString().
void esysUtils::patternFillArray | ( | int | pattern, |
size_t | x, | ||
size_t | y, | ||
size_t | z, | ||
double * | array, | ||
size_t | spacing, | ||
size_t | basex, | ||
size_t | basey, | ||
size_t | basez, | ||
size_t | numpoints | ||
) |
void esysUtils::patternFillArray2D | ( | size_t | x, |
size_t | y, | ||
double * | array, | ||
size_t | spacing, | ||
size_t | basex, | ||
size_t | basey, | ||
size_t | numpoints | ||
) |
void esysUtils::randomFillArray | ( | long | seed, |
double * | array, | ||
size_t | n | ||
) | [static] |
void esysUtils::RuntimeErrorTranslator | ( | EsysException const & | e | ) |
Function which translates an EsysException into a python RuntimeError.
References esysUtils::EsysException::what().
Referenced by BOOST_PYTHON_MODULE().
void esysUtils::splitWorld | ( | ) |
void esysUtils::ValueErrorTranslator | ( | EsysException const & | e | ) |
Function which translates an EsysException into a python ValueError.
References esysUtils::EsysException::what().
Referenced by BOOST_PYTHON_MODULE().