OSMindlinSelfTest.cpp File Reference
#include "MercuryOS.h"
#include <Walls/InfiniteWall.h>

Classes

class  MindlinSelfTest
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)
56 {
57  // create an instance of the class
58  MindlinSelfTest dpm;
59  // call the solve routine
60  dpm.solve();
61  // create analysis script
62  helpers::writeToFile("OSMindlinSelfTest.gnu",
63  "set xlabel 'time [s]'\n"
64  "set ylabel 'force [N]'\n"
65  "p 'OSMindlinSelfTest.fstat' u 1:9 t 'normal', '' u 1:10 t 'tangential'\n");
66  logger(INFO,"Run 'gnuplot OSMindlinSelfTest.gnu --persist' to show resulting forces");
67  return 0;
68 }
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
Definition: OSMindlinSelfTest.cpp:11
#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().