MercuryDPM  0.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DrivenParticleUnitTest.cpp File Reference
#include <math.h>
#include "DPMBase.h"
#include "Particles/BaseParticle.h"
#include "Species/LinearViscoelasticSpecies.h"
#include "Math/ExtendedMath.h"

Go to the source code of this file.

Classes

class  DrivenParticleClass
 

Functions

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

Function Documentation

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

Definition at line 83 of file DrivenParticleUnitTest.cpp.

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

84 {
85  // Problem setup
86  DrivenParticleClass problem;
87  problem.setName("DrivenParticleUnitTest");
89  problem.solve();
90 
91  return 0;
92 }
void solve()
The work horse of the code.
Definition: DPMBase.cc:1895
void setFileType(FileType fileType)
Sets File::fileType_ for all files (ene, data, fstat, restart, stat)
Definition: Files.cc:169
file will not be created/read
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: Files.cc:149