escript  Revision_
Namespaces | Defines | Enumerations | Functions
DataLazy.cpp File Reference
#include "DataLazy.h"
#include "esysUtils/Esys_MPI.h"
#include "FunctionSpace.h"
#include "DataTypes.h"
#include "Data.h"
#include "UnaryFuncs.h"
#include "Utils.h"
#include "EscriptParams.h"
#include <iomanip>

Namespaces

namespace  escript

Defines

#define LAZYDEBUG(X)
#define ENABLEDEBUG   privdebug=true;
#define DISABLEDEBUG   privdebug=false;
#define SIZELIMIT   if (m_height>escript::escriptParams.getTOO_MANY_LEVELS()) {if (escript::escriptParams.getLAZY_VERBOSE()){cerr << "SIZE LIMIT EXCEEDED height=" << m_height << endl;}resolveToIdentity();}
#define PROC_OP(TYPE, X)

Enumerations

enum  ES_opgroup

Functions

const std::string & escript::opToString (ES_optype op)

Define Documentation

#define DISABLEDEBUG   privdebug=false;
#define ENABLEDEBUG   privdebug=true;
#define LAZYDEBUG (   X)
#define PROC_OP (   TYPE,
 
)
Value:
for (int j=0;j<onumsteps;++j)\
    {\
      for (int i=0;i<numsteps;++i,resultp+=resultStep) \
      { \
LAZYDEBUG(cout << "[left,right]=[" << lroffset << "," << rroffset << "]" << endl;)\
LAZYDEBUG(cout << "{left,right}={" << (*left)[lroffset] << "," << (*right)[rroffset] << "}\n";)\
         tensor_binary_operation< TYPE >(chunksize, &((*left)[lroffset]), &((*right)[rroffset]), resultp, X); \
LAZYDEBUG(cout << " result=      " << resultp[0] << endl;) \
         lroffset+=leftstep; \
         rroffset+=rightstep; \
      }\
      lroffset+=oleftstep;\
      rroffset+=orightstep;\
    }

Referenced by escript::DataLazy::resolveNodeBinary().

#define SIZELIMIT   if (m_height>escript::escriptParams.getTOO_MANY_LEVELS()) {if (escript::escriptParams.getLAZY_VERBOSE()){cerr << "SIZE LIMIT EXCEEDED height=" << m_height << endl;}resolveToIdentity();}