RegimeSinterForceUnitTest.cpp File Reference
#include "DPMBase.h"
#include <iostream>
#include <vector>
#include <Species/SinterSpecies.h>
#include <Logger.h>

Classes

class  regimeForceUnitTest
 [T11:contactModel] More...
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
134 {
135  regimeForceUnitTest sp0(2.584e-5);
136  sp0.solve();
137 
138  //This helper is to see the Fn vs Overlap, rate of overlap.
139  logger(INFO, "Execute 'gnuplot RegimeSinterForceUnitTest.gnu' to view output");
140  helpers::writeToFile("RegimeSinterForceUnitTest.gnu",
141  "set xlabel 'time [s]'\n"
142  "set ylabel 'a(t)/R'\n"
143  "plot 'RegimeSinterForceUnitTest.fstat' u ($1):(sqrt($7/1e-5)) w lp\n"
144  "replot 0.9*x**0.5"
145  );
146 
147  return 0;
148 }
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
[T11:contactModel]
Definition: RegimeSinterForceUnitTest.cpp:35
bool writeToFile(std::string filename, std::string filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:58

References INFO, logger, DPMBase::solve(), and helpers::writeToFile().