LinearViscoelasticUnitTest.cpp File Reference

Classes

class  viscoElasticUnitTest
 [T11:contactModel] More...
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
88 {
89  viscoElasticUnitTest sp0(0.01);
90  sp0.solve();
91 
92  //This helper is to see the Fn vs Overlap, rate of overlap.
93  logger(INFO, "Execute 'load LinearViscoElasticUnitTest.gnu' to view output");
94  helpers::writeToFile("LinearViscoElasticUnitTest.gnu",
95  "set xlabel 'displacement [{/Symbol d}]'\n"
96  "set ylabel 'force [f^n]'\n"
97  "set grid\n"
98  "plot 'LinearViscoElasticUnitTest.fstat' u 7:9 w lp"
99  );
100 
101  return 0;
102 
103 }
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
[T11:contactModel]
Definition: LinearViscoelasticUnitTest.cpp:12
#define INFO(i)
Definition: mumps_solver.h:54
bool writeToFile(const std::string &filename, const std::string &filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:29

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