revision: v0.14
HourGlassSelfTest.cpp File Reference
#include <iostream>
#include <cstdlib>
#include "Logger.h"

Functions

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

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
32 {
33  logger(INFO, "2D Running Hourglass Simulation until t=0.01");
34  system("./HourGlass2DDemo -tmax 0.01 -name HourGlass2DSelfTest");
35 
36  logger(INFO, "3D Running Hourglass Simulation until t=0.01");
37  system("./HourGlass3DDemo -tmax 0.01 -name HourGlass3DSelfTest");
38  return 0;
39 }

References INFO, and logger.

logger
Logger< MERCURY_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
INFO
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55