escript  Revision_
Macros
EsysAssert.h File Reference
#include "system_dep.h"

Go to the source code of this file.

Macros

#define EsysAssert(AssertTest, AssertMessage)   ((void)0)
 EsysAssert is a MACRO that will throw an exception if the boolean condition specified is false. More...
 

Macro Definition Documentation

#define EsysAssert (   AssertTest,
  AssertMessage 
)    ((void)0)

EsysAssert is a MACRO that will throw an exception if the boolean condition specified is false.

Description: EsysAssert is conditionally compiled into code only when DOASSERT is defined. When DOASSERT is not defined, the EsysAssert statement is entirely removed from code.

Referenced by escript::Data::algorithm(), escript::DataMaths::binaryOp(), escript::Data::binaryOp(), escript::Data::borrowReadyPtr(), escript::DataExpanded::copy(), escript::DataTypes::copyPoint(), escript::DataTypes::copySlice(), escript::DataTypes::copySliceFrom(), escript::DataExpanded::DataExpanded(), escript::Data::dp_algorithm(), escript::DataBlocks2D::getBlockSize(), escript::DataBlocks2D::getData(), ripley::Brick::getLocalCoordinate(), speckley::Brick::getLocalCoordinate(), ripley::Rectangle::getLocalCoordinate(), speckley::Rectangle::getLocalCoordinate(), escript::DataBlocks2D::getNumCols(), ripley::MultiRectangle::getNumDOFInAxis(), ripley::Rectangle::getNumDOFInAxis(), escript::DataBlocks2D::getNumRows(), escript::Data::getReady(), escript::Data::getReadyPtr(), escript::DataTypes::getRelIndex(), escript::DataBlocks2D::index(), escript::Data::lazyAlgWorker(), escript::DataBlocks2D::operator()(), escript::DataBlocks2D::operator=(), escript::DataVector::operator[](), escript::DataBlocks2D::operator[](), escript::DataTypes::pointToStream(), escript::DataTypes::pointToString(), escript::DataMaths::reductionOp(), escript::DataBlocks2D::size(), escript::DataBlocks2D::Swap(), and escript::DataMaths::unaryOp().