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 
)
109 {
110  viscoElasticUnitTest sp0(0.01);
111  sp0.solve();
112 
113  //This helper is to see the Fn vs Overlap, rate of overlap.
114  logger(INFO, "Execute 'load LinearViscoElasticUnitTest.gnu' to view output");
115  helpers::writeToFile("LinearViscoElasticUnitTest.gnu",
116  "set xlabel 'displacement [{/Symbol d}]'\n"
117  "set ylabel 'force [f^n]'\n"
118  "set grid\n"
119  "plot 'LinearViscoElasticUnitTest.fstat' u 7:9 w lp"
120  );
121 
122  return 0;
123 
124 }
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: LinearViscoelasticUnitTest.cpp:33
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().