DataLazy.cpp File Reference

#include "DataLazy.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()) || (m_children>escript::escriptParams.getTOO_MANY_NODES())) {resolveToIdentity();}
#define PROC_OP(TYPE, X)

Enumerations

enum  ES_opgroup

Functions

ES_opgroup escript::getOpgroup (ES_optype op)
FunctionSpace escript::resultFS (DataAbstract_ptr left, DataAbstract_ptr right, ES_optype op)
DataTypes::ShapeType escript::resultShape (DataAbstract_ptr left, DataAbstract_ptr right, ES_optype op)
DataTypes::ShapeType escript::resultShape (DataAbstract_ptr left, ES_optype op, int axis_offset)
DataTypes::ShapeType escript::SwapShape (DataAbstract_ptr left, const int axis0, const int axis1)
DataTypes::ShapeType escript::GTPShape (DataAbstract_ptr left, DataAbstract_ptr right, int axis_offset, int transpose, int &SL, int &SM, int &SR)
int escript::calcBuffs (const DataLazy_ptr &left, const DataLazy_ptr &right, ES_optype op)
const std::string & escript::opToString (ES_optype op)

Variables

bool privdebug = false
string escript::ES_opstrings []
int escript::ES_opcount = 41
ES_opgroup escript::opgroups []

Define Documentation

#define DISABLEDEBUG   privdebug=false;

#define ENABLEDEBUG   privdebug=true;

#define LAZYDEBUG (  ) 

#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::resolveBinary(), and escript::DataLazy::resolveNodeBinary().

#define SIZELIMIT   if ((m_height>escript::escriptParams.getTOO_MANY_LEVELS()) || (m_children>escript::escriptParams.getTOO_MANY_NODES())) {resolveToIdentity();}


Variable Documentation

bool privdebug = false [static]


Generated on Mon Aug 10 10:04:43 2009 for ESYS13 by  doxygen 1.5.6