KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
main.cc File Reference
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <iomanip>
#include <iostream>
#include "Handler.h"
#include "ghc/filesystem.hpp"
#include "kids/Param.h"
#include "version.h"
Include dependency graph for main.cc:

Go to the source code of this file.

Functions

 DEFINE_bool (w, false, "Enables rewritting the output")
 
 DEFINE_string (p, "param.json", "paramemter inputs")
 
 DEFINE_string (handler, "parallel", "Specifies the handler type" "\n[parallel | single | single_mpi | sampling | help | help_param | help_dataset ]")
 
 DEFINE_string (d, "default", "Specifies the output directory")
 
 DEFINE_string (load, "", "Specifies the dataset file to load")
 
 DEFINE_string (dump, "", "Specifies the dataset file to dump")
 
 DEFINE_double (backup_time, -1.0, "Specifies the timestep for backup (/1h)")
 
 DEFINE_bool (timing, false, "Enables profiling for time costs")
 
int main (int argc, char *argv[])
 

Function Documentation

◆ DEFINE_bool() [1/2]

DEFINE_bool ( timing ,
false ,
"Enables profiling for time costs"  )

◆ DEFINE_bool() [2/2]

DEFINE_bool ( w ,
false ,
"Enables rewritting the output"  )

◆ DEFINE_double()

DEFINE_double ( backup_time ,
-1. 0,
"Specifies the timestep for backup (/1h)"  )

◆ DEFINE_string() [1/5]

DEFINE_string ( d ,
"default" ,
"Specifies the output directory"  )

◆ DEFINE_string() [2/5]

DEFINE_string ( dump ,
"" ,
"Specifies the dataset file to dump"  )

◆ DEFINE_string() [3/5]

DEFINE_string ( handler ,
"parallel" ,
"Specifies the handler type" "\n" [parallel|single|single_mpi|sampling|help|help_param|help_dataset] )

◆ DEFINE_string() [4/5]

DEFINE_string ( load ,
"" ,
"Specifies the dataset file to load"  )

◆ DEFINE_string() [5/5]

DEFINE_string ( p ,
"param.json" ,
"paramemter inputs"  )

◆ main()

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

Definition at line 29 of file main.cc.

References utils::concat(), PROJECT_NS::Param::fromFile, LOC, PROJECT_NS::Param::pjson(), repo_version, and PROJECT_NS::Handler::run().

Here is the call graph for this function: