Commit 1126e22f authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

rollback to unsigned int for the number of attributes of particles in the file

parent f466419f
......@@ -60,7 +60,7 @@ int main(int argc, char ** argv){
FFmaGenericLoader<FReal> loader(filename);
const FSize NbPoints = loader.getNumberOfParticles();
const FSize nbData = loader.getNbRecordPerline() ;
const unsigned int nbData = loader.getNbRecordPerline() ;
const FSize arraySize =nbData*NbPoints;
FReal * particles = new FReal[arraySize] ;
......
......@@ -44,7 +44,7 @@
* \tparam READ number of items to read (UNUSED, see WRITE)
* \tparam WRITE number of items to write (must be >= 4)
*/
template<class FReal, FSize READ, FSize WRITE>
template<class FReal, unsigned int READ, unsigned int WRITE>
class FmaRWParticle {
/// Data stored
FReal data[WRITE];
......@@ -135,22 +135,22 @@ public:
}
/// Get READ
FSize getReadDataNumber() const{
return FSize(READ);
unsigned int getReadDataNumber() const{
return (READ);
}
/// Get WRITE
FSize getWriteDataNumber() const{
unsigned int getWriteDataNumber() const{
return WRITE;
}
/// Get size of Class Particle
FSize getWriteDataSize() const {
unsigned int getWriteDataSize() const {
return sizeof(FmaRWParticle<FReal, READ,WRITE>);
}
/// Get Size of array (should be same as above...)
FSize getClassSize() const {
unsigned int getClassSize() const {
return WRITE*sizeof(FReal);
}
};
......@@ -209,10 +209,10 @@ protected:
FPoint<FReal> centerOfBox; ///< The center of box (read from file)
FReal boxWidth; ///< the box width (read from file)
FSize nbParticles; ///< the number of particles (read from file)
FSize typeData[2]; ///< Size of the data to read, number of data on 1 line
unsigned int typeData[2]; ///< Size of the data to read, number of data on 1 line
private:
FReal *tmpVal ; ///< Temporary array to read data
FSize otherDataToRead ; ///< number of other data (>4) to read in a particle record
unsigned int otherDataToRead ; ///< number of other data (>4) to read in a particle record
public:
/**
* This constructor opens a file using the given mode and reads its
......@@ -283,8 +283,8 @@ public:
*/
virtual ~FFmaGenericLoader(){
file->close();
delete file ;
delete tmpVal;
delete file;
delete[] tmpVal;
}
/**
......@@ -321,13 +321,13 @@ public:
* The box width from the simulation file opened by the loader
* @return the number of data per record (Particle)
*/
FSize getNbRecordPerline(){
unsigned int getNbRecordPerline(){
return typeData[1]; }
/**
* To know if the data are in float or in double type
* @return the type of the values float (4) or double (8)
*/
FSize getDataType(){
unsigned int getDataType(){
return typeData[0]; }
/**
......@@ -364,7 +364,7 @@ public:
*
* @param nbDataToRead number of value to read (I.e. size of the array)
*/
void fillParticle(FReal* dataToRead, const FSize nbDataToRead){
void fillParticle(FReal* dataToRead, const unsigned int nbDataToRead){
if(binaryFile){
file->read((char*)(dataToRead), sizeof(FReal)*nbDataToRead);
if(nbDataToRead< typeData[1]){
......@@ -373,12 +373,12 @@ public:
}
else{
for (FSize i = 0 ; i <nbDataToRead; ++i){
for (unsigned int i = 0 ; i <nbDataToRead; ++i){
(*this->file) >>dataToRead[i];
}
if(nbDataToRead< typeData[1]){
FReal x;
for (FSize i = 0 ; i <typeData[1]-nbDataToRead; ++i){
for (unsigned int i = 0 ; i <typeData[1]-nbDataToRead; ++i){
(*this->file) >> x ;
}
}
......@@ -473,12 +473,12 @@ private:
(*this->file) >> this->nbParticles >> this->boxWidth >> x >> y >> z;
this->centerOfBox.setPosition(x,y,z);
this->boxWidth *= 2;
otherDataToRead = typeData[1] -4;
otherDataToRead = typeData[1] - (unsigned int)(4);
};
void readBinaryHeader(){
std::cout << " File open in binary mode "<< std::endl;
file->seekg (std::ios::beg);
file->read((char*)&typeData,2*sizeof(FSize));
file->read((char*)&typeData,2*sizeof(unsigned int));
std::cout << " Datatype "<< typeData[0] << " "<< typeData[1] << std::endl;
if(typeData[0] != sizeof(FReal)){
std::cerr << "Size of elements in part file " << typeData[0] << " is different from size of FReal " << sizeof(FReal)<<std::endl;
......@@ -493,7 +493,7 @@ private:
file->read( (char*)x,sizeof(FReal)*3);
this->centerOfBox.setPosition(x[0],x[1],x[2]);
}
otherDataToRead = typeData[1] -4;
otherDataToRead = typeData[1] - (unsigned int)(4);
if(otherDataToRead>0){
tmpVal = new FReal[otherDataToRead];
}
......@@ -625,8 +625,8 @@ public:
*/
template <class typePart>
void writeHeader(const FPoint<FReal> &centerOfBox,const FReal &boxWidth, const FSize &nbParticles, const typePart data) {
FSize typeFReal[2] = {sizeof(FReal) , sizeof(typePart) / sizeof(FReal) };
const FSize ndata = data.getWriteDataNumber();
unsigned int typeFReal[2] = {sizeof(FReal) , sizeof(typePart) / sizeof(FReal) };
const unsigned int ndata = data.getWriteDataNumber();
std::cout <<" WriteHeader: typeFReal: " << typeFReal[0] << " nb Elts: " << typeFReal[1] <<" NData to write "<< ndata<< "\n";
if (ndata != typeFReal[1]){
typeFReal[1] = ndata;
......@@ -652,8 +652,8 @@ public:
* @param nbDataPerRecord Number of record/value per particle
*/
void writeHeader(const FPoint<FReal> &centerOfBox,const FReal &boxWidth, const FSize &nbParticles,
const FSize dataType, const FSize nbDataPerRecord) {
FSize typeFReal[2] = {dataType , nbDataPerRecord };
const unsigned int dataType, const unsigned int nbDataPerRecord) {
unsigned int typeFReal[2] = {dataType , nbDataPerRecord };
FReal x = boxWidth *0.5;
if(this->binaryFile) {
this->writerBinaryHeader(centerOfBox,x,nbParticles,typeFReal);
......@@ -698,8 +698,8 @@ public:
void writeArrayOfParticles(const dataPart *dataToWrite, const FSize N){
// std::cout << "NB points to write: "<< N <<std::endl;
if(binaryFile){
FSize recordSize= dataToWrite[0].getWriteDataSize() ;
FSize typeFReal[2] = {sizeof(FReal) , sizeof(dataPart) / sizeof(FReal) };
unsigned int recordSize= dataToWrite[0].getWriteDataSize() ;
unsigned int typeFReal[2] = {sizeof(FReal) , sizeof(dataPart) / sizeof(FReal) };
// std::cout << "typeData "<< typeFReal[0] << " "<< typeFReal[1] <<" "<< std::endl;
if (sizeof(dataPart) == recordSize){
......@@ -720,13 +720,13 @@ public:
}
}
else{ // ASCII part
const FSize ndata = dataToWrite[0].getWriteDataNumber();
const unsigned int ndata = dataToWrite[0].getWriteDataNumber();
// std::cout << "typeData "<< sizeof(FReal) << " "<<ndata << std::endl;
this->file->precision(10);
for (FSize i = 0 ; i <N ; ++i){
const FReal * val = dataToWrite[i].getPtrFirstData() ;
for (FSize j= 0 ; j <ndata ; ++j){
for (unsigned int j= 0 ; j <ndata ; ++j){
(*this->file) << *val << " "; ++val;
}
(*this->file) <<std::endl;
......@@ -764,7 +764,7 @@ public:
FSize k = 0;
for (FSize i = 0 ; i <N ; ++i){
// std::cout << "i "<< i << " ";
for (FSize jj= 0 ; jj<nbData ; ++jj, ++k){
for (unsigned int jj= 0 ; jj<nbData ; ++jj, ++k){
(*this->file) << dataToWrite[k] << " ";
// std::cout << dataToWrite[k]<< " ";
}
......@@ -777,7 +777,7 @@ public:
private:
void writerAscciHeader( const FPoint<FReal> &centerOfBox,const FReal &boxWidth,
const FSize &nbParticles, const FSize *typeFReal) {
const FSize &nbParticles, const unsigned int *typeFReal) {
this->file->precision(10);
(*this->file) << typeFReal[0] <<" "<<typeFReal[1]<<std::endl;
(*this->file) << nbParticles << " "<< boxWidth << " "
......@@ -785,7 +785,7 @@ private:
<< std::endl;
}
void writerBinaryHeader(const FPoint<FReal> &centerOfBox,const FReal &boxWidth,
const FSize &nbParticles, const FSize *typeFReal) {
const FSize &nbParticles, const unsigned int *typeFReal) {
file->seekg (std::ios::beg);
file->write((const char*)typeFReal,2*sizeof(FSize));
if(typeFReal[0] != sizeof(FReal)){
......
......@@ -46,11 +46,11 @@ FReal getRandom() {
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//! \example generateDistributions.cpp
template <class FReal>
void unifRandonPointsOnUnitCube(const int N , FReal * points) {
void unifRandonPointsOnUnitCube(const FSize N , FReal * points) {
//
initRandom() ;
int j = 0;
for (int i = 0 ; i< N ; ++i, j+=4) {
for (FSize i = 0 ; i< N ; ++i, j+=4) {
//
points[j] = getRandom<FReal>() ;
points[j+1] = getRandom<FReal>() ;
......@@ -70,11 +70,11 @@ void unifRandonPointsOnUnitCube(const int N , FReal * points) {
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//! \example generateDistributions.cpp
template <class FReal>
void unifRandonPointsOnCube(const int& N , const FReal& Lx, const FReal &Ly, const FReal& Lz, FReal * points) {
void unifRandonPointsOnCube(const FSize N , const FReal& Lx, const FReal &Ly, const FReal& Lz, FReal * points) {
//
unifRandonPointsOnUnitCube(N , points) ;
int j =0 ;
for (int i = 0 ; i< N ; ++i, j+=4) {
FSize j =0 ;
for (FSize i = 0 ; i< N ; ++i, j+=4) {
points[j] *= Lx ;
points[j+1] *= Ly ;
points[j+2] *= Lz ;
......@@ -89,12 +89,12 @@ void unifRandonPointsOnCube(const int& N , const FReal& Lx, const FReal &Ly, c
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//! \example generateDistributions.cpp
template <class FReal>
void unifRandonPointsOnUnitSphere(const int N , FReal * points) {
void unifRandonPointsOnUnitSphere(const FSize N , FReal * points) {
FReal u, v, theta, phi, sinPhi ;
//
initRandom() ;
int j = 0 ;
for (int i = 0 ; i< N ; ++i, j+=4) {
FSize j = 0 ;
for (FSize i = 0 ; i< N ; ++i, j+=4) {
//
u = getRandom<FReal>() ; v = getRandom<FReal>() ;
theta = FMath::FTwoPi<FReal>()*u ;
......@@ -119,11 +119,11 @@ void unifRandonPointsOnUnitSphere(const int N , FReal * points) {
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//!
template <class FReal>
void nonunifRandonPointsOnElipsoid(const int N , const FReal &a, const FReal &b, const FReal &c, FReal * points) {
void nonunifRandonPointsOnElipsoid(const FSize N , const FReal &a, const FReal &b, const FReal &c, FReal * points) {
//
FReal u, v , cosu ;
int j =0 ;
for (int i = 0 ; i< N ; ++i, j+=4) {
FSize j =0 ;
for (FSize i = 0 ; i< N ; ++i, j+=4) {
u = getRandom<FReal>() ; v = getRandom<FReal>() ;
u = FMath::FPi<FReal>()*u - FMath::FPiDiv2<FReal>(); v = FMath::FTwoPi<FReal>()*v - FMath::FPi<FReal>();
cosu = FMath::Cos(u) ;
......@@ -143,14 +143,14 @@ void nonunifRandonPointsOnElipsoid(const int N , const FReal &a, const FReal &b,
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//!
template <class FReal>
void unifRandonPointsOnProlate(const int N , const FReal &a, const FReal &c, FReal * points){
void unifRandonPointsOnProlate(const FSize N , const FReal &a, const FReal &c, FReal * points){
//
FReal u, w,v ,ksi ;
FReal e = (a*a*a*a)/(c*c*c*c) ;
bool isgood = false;
int j =0 , cpt =0 ;
FSize j =0 , cpt =0 ;
//
for (int i = 0 ; i< N ; ++i, j+=4) {
for (FSize i = 0 ; i< N ; ++i, j+=4) {
// Select a random point on the prolate
do {
cpt++ ;
......@@ -167,7 +167,7 @@ void unifRandonPointsOnProlate(const int N , const FReal &a, const FReal &c, FRe
} while (isgood);
}
std::cout.precision(4);
std::cout << "Total tested points: "<< cpt << " % of rejected points: "<<100*static_cast<FReal>(cpt-N)/cpt << " %" <<std::endl;
std::cout << "Total tested points: "<< cpt << " % of rejected points: "<<100*static_cast<FReal>(cpt-N)/static_cast<FReal>(cpt) << " %" <<std::endl;
} ;
......@@ -181,11 +181,11 @@ void unifRandonPointsOnProlate(const int N , const FReal &a, const FReal &c, FRe
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//!
template <class FReal>
void unifRandonPointsOnSphere(const int N , const FReal R, FReal * points) {
void unifRandonPointsOnSphere(const FSize N , const FReal R, FReal * points) {
//
unifRandonPointsOnUnitSphere(N , points) ;
int j =0 ;
for (int i = 0 ; i< N ; ++i, j+=4) {
FSize j =0 ;
for (FSize i = 0 ; i< N ; ++i, j+=4) {
points[j] *= R ;
points[j+1] *= R ;
points[j+2] *= R ;
......@@ -201,7 +201,7 @@ void unifRandonPointsOnSphere(const int N , const FReal R, FReal * points) {
//! @return Return the radius according to the Plummer distribution either double type or float type
//!
template <class FReal>
FReal plummerDist(int & cpt, const FReal &R) {
FReal plummerDist(FSize cpt, const FReal &R) {
//
FReal radius ,u ;
do {
......@@ -226,15 +226,15 @@ FReal plummerDist(int & cpt, const FReal &R) {
//! \param M the total mass of all the particles inside the Sphere or radius R
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
template <class FReal>
void unifRandonPlummer(const int N , const FReal R, const FReal M, FReal * points) {
void unifRandonPlummer(const FSize N , const FReal R, const FReal M, FReal * points) {
//
unifRandonPointsOnUnitSphere(N , points) ;
//
FReal r , rm= 0.0;
// FReal Coeff = 3.0*M/(4.0*FMath::FPi<FReal>()*R*R*R) ;
//am1 = 0 ;//1/FMath::pow(1+R*R,2.5);
int cpt = 0 ;
for (int i = 0,j=0 ; i< N ; ++i, j+=4) {
FSize cpt = 0 ;
for (FSize i = 0,j=0 ; i< N ; ++i, j+=4) {
// u \in []
r = plummerDist(cpt,R) ;
rm = std::max(rm, r);
......@@ -244,7 +244,7 @@ void unifRandonPlummer(const int N , const FReal R, const FReal M, FReal * point
}
std::cout << "Total tested points: "<< cpt << " % of rejected points: "
<<100*static_cast<FReal>(cpt-N)/cpt << " %" <<std::endl;
<<100*static_cast<FReal>(cpt-N)/static_cast<FReal>(cpt) << " %" <<std::endl;
} ;
......@@ -263,7 +263,7 @@ void unifRandonPlummer(const int N , const FReal R, const FReal M, FReal * point
//! @param nbDataPerParticle number of values per particles (default value 4)
//!
template <class FReal>
void exportCVS(std::ofstream& file, const FReal * particles , const int N, const int nbDataPerParticle=4){
void exportCVS(std::ofstream& file, const FReal * particles , const FSize N, const int nbDataPerParticle=4){
int j = 0;
if (nbDataPerParticle==4){
file << " x , y , z, q " <<std::endl;
......@@ -291,10 +291,10 @@ void exportCVS(std::ofstream& file, const FReal * particles , const int N, const
//! @param particles array of particles of type FReal (float or double) Its size is 4*N (X,Y,Z,M)
//! @param N number of particles
template <class FReal>
void exportCOSMOS(std::ofstream& file, const FReal * particles , const int N){
int j = 0;
void exportCOSMOS(std::ofstream& file, const FReal * particles , const FSize N){
FSize j = 0;
file << " x , y , z, q " <<std::endl;
for(int i = 0 ; i< N; ++i, j+=4){
for(FSize i = 0 ; i< N; ++i, j+=4){
file << particles[j] << " " << particles[j+1] << " " << particles[j+2] << " 0.0 0.0 0.0 " << particles[j+3] <<" " << i << std::endl;
}
}
......@@ -312,7 +312,7 @@ void exportCOSMOS(std::ofstream& file, const FReal * particles , const int N){
//! @param particles array of particles of type FReal (float or double) Its size is 4*N (X,Y,Z,M)
//! @param N number of particles
template <class FReal>
void exportVTK(std::ofstream& VTKfile, const FReal * particles, const int N, const int nbDataPerParticle=4 ){
void exportVTK(std::ofstream& VTKfile, const FReal * particles, const FSize N, const int nbDataPerParticle=4 ){
int j = 0;
//---------------------------
// print generic information
......@@ -328,20 +328,20 @@ void exportVTK(std::ofstream& VTKfile, const FReal * particles, const int N, con
//---------------------------------
VTKfile << "POINTS " << N << " float" << "\n";
//
for(int i = 0 ; i< N; ++i, j+=nbDataPerParticle){
for(FSize i = 0 ; i< N; ++i, j+=nbDataPerParticle){
VTKfile << particles[j] << " " << particles[j+1] << " " << particles[j+2] <<std::endl;
}
// ------------------------------------------
VTKfile << "\n";
VTKfile << "VERTICES " << N << " " << 2*N << "\n";
for(int i = 0 ; i< N; ++i){
for(FSize i = 0 ; i< N; ++i){
VTKfile << " 1 " << " " <<i<<std::endl;
}
VTKfile << "POINT_DATA " << N << "\n";
VTKfile << "SCALARS PhysicalValue float 1" << "\n"
<< "LOOKUP_TABLE default" << "\n" ;
j = 0 ;
for(int i = 0 ; i< N; ++i, j+=nbDataPerParticle){
for(FSize i = 0 ; i< N; ++i, j+=nbDataPerParticle){
VTKfile << particles[j+3] << " " <<std::endl;
}
VTKfile << "\n";
......@@ -360,8 +360,8 @@ void exportVTK(std::ofstream& VTKfile, const FReal * particles, const int N, con
//! @param particles array of particles of type FReal (float or double) Its size is 4*N (X,Y,Z,M)
//! @param N number of particles
template <class FReal>
void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N ){
int j = 0;
void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const FSize N ){
FSize j = 0;
VTKfile << "<?xml version=\"1.0\"?>" <<std::endl
<< "<VTKFile type=\"PolyData\" version=\"0.1\" byte_order=\"LittleEndian\"> "<<std::endl
......@@ -370,7 +370,7 @@ void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N )
<< "<Points>"<<std::endl
<< "<DataArray type=\"Float64\" NumberOfComponents=\"3\" format=\"ascii\"> "<<std::endl ;
j = 0 ;
for(int i = 0 ; i< N; ++i, j+=4){
for(FSize i = 0 ; i< N; ++i, j+=4){
VTKfile << particles[j] << " " << particles[j+1] << " " << particles[j+2] << " " ;
}
VTKfile <<std::endl<< "</DataArray> "<<std::endl
......@@ -378,7 +378,7 @@ void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N )
<< "<PointData Scalars=\"PhysicalValue\" > "<<std::endl
<< "<DataArray type=\"Float64\" Name=\"PhysicalValue\" format=\"ascii\">"<<std::endl ;
j = 0 ;
for(int i = 0 ; i< N; ++i, j+=4){
for(FSize i = 0 ; i< N; ++i, j+=4){
VTKfile << particles[j+3] << " " ;
}
VTKfile <<std::endl << "</DataArray>"<<std::endl
......@@ -386,12 +386,12 @@ void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N )
<< " <CellData>"<<" </CellData>"<<std::endl
<< " <Verts>"<<std::endl
<< " <DataArray type=\"Int32\" Name=\"connectivity\" format=\"ascii\">"<<std::endl ;
for(int i = 0 ; i< N; ++i){
for(FSize i = 0 ; i< N; ++i){
VTKfile << i << " " ;
}
VTKfile<<std::endl << "</DataArray>" <<std::endl
<< "<DataArray type=\"Int32\" Name=\"offsets\" format=\"ascii\">"<<std::endl ;
for(int i = 1 ; i< N+1; ++i){
for(FSize i = 1 ; i< N+1; ++i){
VTKfile << i << " " ;
}
VTKfile<<std::endl << "</DataArray>"<<std::endl
......@@ -419,8 +419,8 @@ void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N )
//! @param N number of particles
//! @param nbDataPerParticle number of values per particles (default value 4)
template <class FReal>
void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N, const int nbDataPerParticle ){
int j = 0;
void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const FSize N, const int nbDataPerParticle ){
FSize j = 0;
VTKfile << "<?xml version=\"1.0\"?>" <<std::endl
<< "<VTKFile type=\"PolyData\" version=\"0.1\" byte_order=\"LittleEndian\"> "<<std::endl
......@@ -429,7 +429,7 @@ void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N,
<< "<Points>"<<std::endl
<< "<DataArray type=\"Float64\" NumberOfComponents=\"3\" format=\"ascii\"> "<<std::endl ;
j = 0 ;
for(int i = 0 ; i< N; ++i, j+=nbDataPerParticle){
for(FSize i = 0 ; i< N; ++i, j+=nbDataPerParticle){
VTKfile << particles[j] << " " << particles[j+1] << " " << particles[j+2] << " " ;
}
VTKfile <<std::endl<< "</DataArray> "<<std::endl
......@@ -469,12 +469,12 @@ void exportVTKxml(std::ofstream& VTKfile, const FReal * particles, const int N,
<< " <CellData>"<<" </CellData>"<<std::endl
<< " <Verts>"<<std::endl
<< " <DataArray type=\"Int32\" Name=\"connectivity\" format=\"ascii\">"<<std::endl ;
for(int i = 0 ; i< N; ++i){
for(FSize i = 0 ; i< N; ++i){
VTKfile << i << " " ;
}
VTKfile<<std::endl << "</DataArray>" <<std::endl
<< "<DataArray type=\"Int32\" Name=\"offsets\" format=\"ascii\">"<<std::endl ;
for(int i = 1 ; i< N+1; ++i){
for(FSize i = 1 ; i< N+1; ++i){
VTKfile << i << " " ;
}
VTKfile<<std::endl << "</DataArray>"<<std::endl
......
......@@ -62,7 +62,7 @@ int main(int argc, char ** argv){
// Allocation
//
FSize nbParticles = loader1.getNumberOfParticles();
const FSize nbData = loader1.getNbRecordPerline() ;
const unsigned int nbData = loader1.getNbRecordPerline() ;
if(nbParticles != loader2.getNumberOfParticles()){
std::cerr << "Number of points is different in the two files."<<std::endl ;
return -1 ;
......
......@@ -74,7 +74,7 @@ int main(int argc, char ** argv){
typedef double FReal;
FReal * particles = nullptr ;
FFmaGenericLoader<FReal> * loader;
FSize nbData;
unsigned int nbData;
bool stampFile = false ;
if (FParameters::existParameter(argc, argv, "-fstamp")) {
stampFile = true ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment