#include "Mercury3D.h"
#include "Particles/BaseParticle.h"
#include <iostream>
#include <cmath>
#include <Species/LinearViscoelasticSpecies.h>
Go to the source code of this file.
int main |
( |
int argc |
UNUSED, |
|
|
char *argv[] |
UNUSED |
|
) |
| |
Definition at line 126 of file SpeciesUnitTest.cpp.
References Files::setName(), and DPMBase::solve().
128 std::cout <<
"Species test problem " << std::endl;
129 std::cout <<
"---------------------" << std::endl;
130 std::cout << std::endl;
131 std::cout <<
"This problem set k and gamma for different for different size particles such that the coefficent of restitution is the same" << std::endl;
132 std::cout <<
"Note for each collision this value should be 0.4" << std::endl;
133 std::cout <<
"Also this code demostrates how to use different species in the code" << std::endl;
135 problem.
setName(
"SpeciesUnitTest");
void solve()
The work horse of the code.
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)