Assert.h File Reference

Go to the source code of this file.

## Macros

#define | ESYS_ASSERT(a, b)
| EsysAssert is a MACRO that will throw an exception if the boolean condition specified is false. More...

## Macro Definition Documentation

## ESYS_ASSERT

#define ESYS_ASSERT | ( |  | a,
|  |  | b
| ) |  |

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::AbstractTransportProblem::AbstractTransportProblem(), escript::binaryOpVectorLazyArithmeticHelper(), escript::binaryOpVectorLazyRelationalHelper(), escript::Data::borrowReadyPtr(), escript::DataExpanded::copy(), escript::DataTypes::copySlice(), escript::DataTypes::copySliceFrom(), dudley::ElementFile::createColoring(), finley::ElementFile::createColoring(), dudley::NodeFile::createDOFMappingAndCoupling(), finley::NodeFile::createDOFMappingAndCoupling(), escript::DataExpanded::DataExpanded(), dudley::DudleyDomain::distributeByRankOfDOF(), finley::FinleyDomain::distributeByRankOfDOF(), escript::Data::dp_algorithm(), paso::dropTree(), ripley::Brick::getLocalCoordinate(), ripley::Rectangle::getLocalCoordinate(), speckley::Brick::getLocalCoordinate(), speckley::Rectangle::getLocalCoordinate(), ripley::MultiRectangle::getNumDOFInAxis(), ripley::Brick::getNumDOFInAxis(), ripley::Rectangle::getNumDOFInAxis(), escript::DataExpanded::getPointOffset(), escript::Data::getReady(), escript::Data::getReadyPtr(), escript::DataTypes::getRelIndex(), escript::Data::lazyAlgWorker(), escript::DataTypes::DataVectorAlt< cplx_t >::operator[](), escript::DataTypes::DataVectorTaipan::operator[](), ripley::MultiRectangle::populateDofMap(), ripley::MultiBrick::populateSampleIds(), paso::Pattern::reduceBandwidth(), escript::Data::reduction(), escript::reductionOpVector(), dudley::DudleyDomain::resolveNodeIds(), finley::FinleyDomain::resolveNodeIds(), and escript::Data::TensorSelfUpdateBinaryOperation().