List of all members | Static Public Member Functions
casadi::GlobalOptions Class Reference

Collects global CasADi options. More...

#include <global_options.hpp>

Detailed Description

Note to developers:

Definition at line 48 of file global_options.hpp.

Static Public Member Functions

static void setSimplificationOnTheFly (bool flag)
 
static bool getSimplificationOnTheFly ()
 
static void setHierarchicalSparsity (bool flag)
 
static bool getHierarchicalSparsity ()
 
static void setCasadiPath (const std::string &path)
 
static std::string getCasadiPath ()
 
static void setCasadiIncludePath (const std::string &path)
 
static std::string getCasadiIncludePath ()
 
static void setMaxNumDir (casadi_int ndir)
 
static casadi_int getMaxNumDir ()
 
static void setCopyElisionMinSize (casadi_int sz)
 
static casadi_int getCopyElisionMinSize ()
 
static void setTempWorkDir (const std::string &dir)
 
static std::string getTempWorkDir ()
 
static void setNumpyMode (int mode)
 Set the numpy interop mode (issue #2959): 1 = casadi-aware. More...
 
static int getNumpyMode ()
 Get the current numpy interop mode. See setNumpyMode. More...
 
static void setDefaultBlas (const std::string &name)
 
static std::string getDefaultBlas ()
 

Member Function Documentation

◆ getCasadiIncludePath()

static std::string casadi::GlobalOptions::getCasadiIncludePath ( )
inlinestatic

Definition at line 117 of file global_options.hpp.

◆ getCasadiPath()

static std::string casadi::GlobalOptions::getCasadiPath ( )
inlinestatic

Definition at line 114 of file global_options.hpp.

◆ getCopyElisionMinSize()

static casadi_int casadi::GlobalOptions::getCopyElisionMinSize ( )
inlinestatic

Definition at line 128 of file global_options.hpp.

◆ getDefaultBlas()

static std::string casadi::GlobalOptions::getDefaultBlas ( )
static

◆ getHierarchicalSparsity()

static bool casadi::GlobalOptions::getHierarchicalSparsity ( )
inlinestatic

Definition at line 111 of file global_options.hpp.

◆ getMaxNumDir()

static casadi_int casadi::GlobalOptions::getMaxNumDir ( )
inlinestatic

Definition at line 120 of file global_options.hpp.

◆ getNumpyMode()

static int casadi::GlobalOptions::getNumpyMode ( )
inlinestatic

Extra doc: https://github.com/casadi/casadi/wiki/L_2i2

Definition at line 146 of file global_options.hpp.

◆ getSimplificationOnTheFly()

static bool casadi::GlobalOptions::getSimplificationOnTheFly ( )
inlinestatic

Definition at line 107 of file global_options.hpp.

◆ getTempWorkDir()

static std::string casadi::GlobalOptions::getTempWorkDir ( )
inlinestatic

Definition at line 131 of file global_options.hpp.

◆ setCasadiIncludePath()

static void casadi::GlobalOptions::setCasadiIncludePath ( const std::string &  path)
inlinestatic

Definition at line 116 of file global_options.hpp.

◆ setCasadiPath()

static void casadi::GlobalOptions::setCasadiPath ( const std::string &  path)
inlinestatic

Definition at line 113 of file global_options.hpp.

◆ setCopyElisionMinSize()

static void casadi::GlobalOptions::setCopyElisionMinSize ( casadi_int  sz)
inlinestatic

Definition at line 122 of file global_options.hpp.

◆ setDefaultBlas()

static void casadi::GlobalOptions::setDefaultBlas ( const std::string &  name)
static

◆ setHierarchicalSparsity()

static void casadi::GlobalOptions::setHierarchicalSparsity ( bool  flag)
inlinestatic

Definition at line 110 of file global_options.hpp.

◆ setMaxNumDir()

static void casadi::GlobalOptions::setMaxNumDir ( casadi_int  ndir)
inlinestatic

Definition at line 119 of file global_options.hpp.

◆ setNumpyMode()

static void casadi::GlobalOptions::setNumpyMode ( int  mode)
inlinestatic

numpy support, 0 (default) = legacy + FutureWarning, -1 = legacy but silent. See the numpy_mode field. Affects only Python bindings; ignored elsewhere. Probe with hasattr(casadi.GlobalOptions, "setNumpyMode").

Extra doc: https://github.com/casadi/casadi/wiki/L_2i1

Definition at line 141 of file global_options.hpp.

◆ setSimplificationOnTheFly()

static void casadi::GlobalOptions::setSimplificationOnTheFly ( bool  flag)
inlinestatic

Definition at line 106 of file global_options.hpp.

◆ setTempWorkDir()

static void casadi::GlobalOptions::setTempWorkDir ( const std::string &  dir)
static

The documentation for this class was generated from the following file: