#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 DISABLEDEBUG privdebug=false; |
#define ENABLEDEBUG privdebug=true; |
#define LAZYDEBUG | ( | X | ) |
Referenced by escript::DataLazy::DataLazy(), escript::DataLazy::resolveBinary(), escript::DataLazy::resolveNodeBinary(), escript::DataLazy::resolveNodeSample(), escript::DataLazy::resolveNodeTProd(), escript::DataLazy::resolveNodeWorker(), escript::DataLazy::resolveNP1OUT(), escript::DataLazy::resolveNP1OUT_2P(), escript::DataLazy::resolveNP1OUT_P(), escript::DataLazy::resolveTProd(), escript::DataLazy::resolveVectorSample(), and escript::DataLazy::resolveVectorWorker().
#define PROC_OP | ( | TYPE, | |||
X | ) |
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();} |
Referenced by escript::DataLazy::DataLazy().
bool privdebug = false [static] |
Referenced by escript::DataLazy::setToZero().