MercuryDPM  0.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParticleCreationSelfTest.cpp File Reference

Go to the source code of this file.

Classes

class  ParticleCreation
 This self test was written to test the speed of particle creation in MercuryDPM. More...
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int argc  ,
char *  argv[] 
)
Todo:
we should force people to set a name

Definition at line 151 of file ParticleCreationSelfTest.cpp.

References Files::setName(), and DPMBase::solve().

152 {
153  Mdouble width = 20; //in particle diameters
154  Mdouble length = 20; //in particle diameters
155  Mdouble height = 20; //in particle diameters
156  Mdouble sizeDistribution = 4;
157  ParticleCreation SC(width, length, height, sizeDistribution);
159  SC.setName("ParticleCreationSelfTest");
160  SC.solve(argc, argv);
161  //SC.hGridInfo();
162  return 0;
163 }
double Mdouble
This self test was written to test the speed of particle creation in MercuryDPM.