*retPtr=bbt.getNbOfIntersectingElems(thisBBPtr);
break;
}
- defaut:
+ default:
throw INTERP_KERNEL::Exception("DataArrayDouble::computeNbOfInteractionsWith : space dimension supported are [1,2,3] !");
}
int *tmp=ret->getPointer();
for(int i=0;i<sz;i++,tmp+=nbCompo,w++)
{
- std::fill(tmp,tmp+nbCompo,0.);
+ std::fill(tmp,tmp+nbCompo,0);
if(w[1]>=w[0])
{
for(int j=w[0];j<w[1];j++,srcPt+=nbCompo)
MEDCOUPLING_EXPORT void finishUnserialization2(const std::vector<int>& tinyInfoI, const std::vector<double>& tinyInfoD) throw(INTERP_KERNEL::Exception);
public:
static const TypeOfTimeDiscretization DISCRETIZATION=NO_TIME;
- static const char REPR[];
+ MEDCOUPLING_EXPORT static const char REPR[];
private:
static const char EXCEPTION_MSG[];
};
MEDCOUPLING_EXPORT void getValueOnDiscTime(int eltId, int iteration, int order, double *value) const throw(INTERP_KERNEL::Exception);
public:
static const TypeOfTimeDiscretization DISCRETIZATION=ONE_TIME;
- static const char REPR[];
+ MEDCOUPLING_EXPORT static const char REPR[];
private:
static const char EXCEPTION_MSG[];
protected:
MEDCOUPLING_EXPORT void checkTimePresence(double time) const throw(INTERP_KERNEL::Exception);
public:
static const TypeOfTimeDiscretization DISCRETIZATION=CONST_ON_TIME_INTERVAL;
- static const char REPR[];
+ MEDCOUPLING_EXPORT static const char REPR[];
private:
static const char EXCEPTION_MSG[];
protected:
MEDCOUPLING_EXPORT void powEqual(const MEDCouplingTimeDiscretization *other) throw(INTERP_KERNEL::Exception);
public:
static const TypeOfTimeDiscretization DISCRETIZATION=LINEAR_TIME;
- static const char REPR[];
+ MEDCOUPLING_EXPORT static const char REPR[];
};
}
int *work=arrIo->getPointer();
*work++=0;
int lgth=0;
- for(std::size_t i=0;i<sz;i++,work++,idsIt+=idsOfSelectStep)
+ for(int i=0;i<sz;i++,work++,idsIt+=idsOfSelectStep)
{
if(idsIt>=0 && idsIt<nbOfGrps)
lgth+=arrIndxPtr[idsIt+1]-arrIndxPtr[idsIt];
arro->alloc(lgth,1);
work=arro->getPointer();
idsIt=idsOfSelectStart;
- for(std::size_t i=0;i<sz;i++,idsIt+=idsOfSelectStep)
+ for(int i=0;i<sz;i++,idsIt+=idsOfSelectStep)
{
if(arrIndxPtr[idsIt]>=0 && arrIndxPtr[idsIt+1]<=maxSizeOfArr)
work=std::copy(arrInPtr+arrIndxPtr[idsIt],arrInPtr+arrIndxPtr[idsIt+1],work);