|
DPsim
|
#include <Utils.h>
Classes | |
| struct | Argument |
Public Member Functions | |
| 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) |
Public Attributes | ||
| double | timeStep | |
| double | duration | |
| double | sysFreq | |
| int | scenario | |
| CPS::Logger::Level | logLevel | |
| CPS::Logger::Level | cliLogLevel | |
| String | name | |
| String | params | |
| bool | startSynch | |
| bool | blocking | |
| bool | steadyInit | |
| struct { | ||
| CPS::Domain domain | ||
| Solver::Type type | ||
| } | solver | |
| DPsim::DirectLinearSolverImpl | directImpl | |
| String | solverPluginName | |
| DPsim::Timer::StartClock::time_point | startTime | |
| std::list< String > | positional | |
| std::map< String, String > | options | |
Protected Attributes | |
| String | mProgramName |
| std::vector< Argument > | mArguments |
| 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::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 CommandLineArgs::parseArguments | ( | int | argc, |
| char * | argv[] ) |
| std::list< fs::path > CommandLineArgs::positionalPaths | ( | ) | const |
| CPS::Logger::Level DPsim::CommandLineArgs::cliLogLevel |
| DPsim::DirectLinearSolverImpl DPsim::CommandLineArgs::directImpl |
| CPS::Domain DPsim::CommandLineArgs::domain |
| CPS::Logger::Level DPsim::CommandLineArgs::logLevel |
|
protected |
| struct { ... } DPsim::CommandLineArgs::solver |
| DPsim::Timer::StartClock::time_point DPsim::CommandLineArgs::startTime |
| Solver::Type DPsim::CommandLineArgs::type |