|
| CommandLineArgs (int argc, char *argv[], String name="dpsim", Real dt=0.001, Real d=1, Real sf=50, Int s=-1, CPS::Logger::Level ll=CPS::Logger::Level::info, CPS::Logger::Level clill=CPS::Logger::Level::off, Bool ss=false, Bool b=false, Bool si=false, CPS::Domain sd=CPS::Domain::DP, Solver::Type st=Solver::Type::MNA, DirectLinearSolverImpl mi=DirectLinearSolverImpl::KLU, String spn="plugin.so", String params="default.json") |
|
| CommandLineArgs (String name="dpsim", Real dt=0.001, Real d=1, Real sf=50, Int s=-1, CPS::Logger::Level ll=CPS::Logger::Level::info, CPS::Logger::Level clill=CPS::Logger::Level::off, Bool ss=false, Bool b=false, Bool si=false, CPS::Domain sd=CPS::Domain::DP, Solver::Type st=Solver::Type::MNA, DirectLinearSolverImpl mi=DirectLinearSolverImpl::KLU, String spn="plugin.so") |
|
void | parseArguments (int argc, char *argv[]) |
|
void | showUsage () |
|
std::list< fs::path > | positionalPaths () const |
|
Int | getOptionInt (String optionName) |
|
Real | getOptionReal (String optionName) |
|
Bool | getOptionBool (String optionName) |
|
String | getOptionString (String optionName) |
|
Definition at line 37 of file Utils.h.
◆ CommandLineArgs() [1/2]
CommandLineArgs::CommandLineArgs |
( |
int | argc, |
|
|
char * | argv[], |
|
|
String | name = "dpsim", |
|
|
Real | dt = 0.001, |
|
|
Real | d = 1, |
|
|
Real | sf = 50, |
|
|
Int | s = -1, |
|
|
CPS::Logger::Level | ll = CPS::Logger::Level::info, |
|
|
CPS::Logger::Level | clill = CPS::Logger::Level::off, |
|
|
Bool | ss = false, |
|
|
Bool | b = false, |
|
|
Bool | si = false, |
|
|
CPS::Domain | sd = CPS::Domain::DP, |
|
|
Solver::Type | st = Solver::Type::MNA, |
|
|
DirectLinearSolverImpl | mi = DirectLinearSolverImpl::KLU, |
|
|
String | spn = "plugin.so", |
|
|
String | params = "default.json" ) |
◆ CommandLineArgs() [2/2]
CommandLineArgs::CommandLineArgs |
( |
String | name = "dpsim", |
|
|
Real | dt = 0.001, |
|
|
Real | d = 1, |
|
|
Real | sf = 50, |
|
|
Int | s = -1, |
|
|
CPS::Logger::Level | ll = CPS::Logger::Level::info, |
|
|
CPS::Logger::Level | clill = CPS::Logger::Level::off, |
|
|
Bool | ss = false, |
|
|
Bool | b = false, |
|
|
Bool | si = false, |
|
|
CPS::Domain | sd = CPS::Domain::DP, |
|
|
Solver::Type | st = Solver::Type::MNA, |
|
|
DirectLinearSolverImpl | mi = DirectLinearSolverImpl::KLU, |
|
|
String | spn = "plugin.so" ) |
◆ getOptionBool()
Bool DPsim::CommandLineArgs::getOptionBool |
( |
String | optionName | ) |
|
|
inline |
◆ getOptionInt()
Int DPsim::CommandLineArgs::getOptionInt |
( |
String | optionName | ) |
|
|
inline |
◆ getOptionReal()
Real DPsim::CommandLineArgs::getOptionReal |
( |
String | optionName | ) |
|
|
inline |
◆ getOptionString()
String DPsim::CommandLineArgs::getOptionString |
( |
String | optionName | ) |
|
|
inline |
◆ parseArguments()
void CommandLineArgs::parseArguments |
( |
int | argc, |
|
|
char * | argv[] ) |
◆ positionalPaths()
std::list< fs::path > CommandLineArgs::positionalPaths |
( |
| ) |
const |
◆ showUsage()
void CommandLineArgs::showUsage |
( |
| ) |
|
◆ blocking
bool DPsim::CommandLineArgs::blocking |
◆ cliLogLevel
CPS::Logger::Level DPsim::CommandLineArgs::cliLogLevel |
◆ directImpl
DPsim::DirectLinearSolverImpl DPsim::CommandLineArgs::directImpl |
◆ domain
CPS::Domain DPsim::CommandLineArgs::domain |
◆ duration
double DPsim::CommandLineArgs::duration |
◆ logLevel
CPS::Logger::Level DPsim::CommandLineArgs::logLevel |
◆ mArguments
std::vector<Argument> DPsim::CommandLineArgs::mArguments |
|
protected |
◆ mProgramName
String DPsim::CommandLineArgs::mProgramName |
|
protected |
◆ name
String DPsim::CommandLineArgs::name |
◆ options
std::map<String, String> DPsim::CommandLineArgs::options |
◆ params
String DPsim::CommandLineArgs::params |
◆ positional
std::list<String> DPsim::CommandLineArgs::positional |
◆ scenario
int DPsim::CommandLineArgs::scenario |
◆ solverPluginName
String DPsim::CommandLineArgs::solverPluginName |
◆ startSynch
bool DPsim::CommandLineArgs::startSynch |
◆ startTime
DPsim::Timer::StartClock::time_point DPsim::CommandLineArgs::startTime |
◆ steadyInit
bool DPsim::CommandLineArgs::steadyInit |
◆ sysFreq
double DPsim::CommandLineArgs::sysFreq |
◆ timeStep
double DPsim::CommandLineArgs::timeStep |
◆ type
The documentation for this class was generated from the following files:
- /__w/dpsim/dpsim/dpsim/include/dpsim/Utils.h
- /__w/dpsim/dpsim/dpsim/src/Utils.cpp