18#ifndef __ESCRIPT_PARAMS_H__
19#define __ESCRIPT_PARAMS_H__
23#include <boost/python/list.hpp>
26#include <unordered_set>
38 int getInt(
const std::string& name,
int sentinel = 0)
const;
39 void setInt(
const std::string& name,
int value);
49 bool hasFeature(
const std::string& name)
const;
Definition EscriptParams.h:32
int getLazyVerbose() const
Definition EscriptParams.h:44
int getInt(const std::string &name, int sentinel=0) const
Definition EscriptParams.cpp:129
int getLazyStrFmt() const
Definition EscriptParams.h:43
int resolveCollective
Definition EscriptParams.h:59
int autoLazy
Definition EscriptParams.h:56
int tooManyLevels
Definition EscriptParams.h:60
bool hasFeature(const std::string &name) const
Definition EscriptParams.cpp:178
int getAutoLazy() const
Definition EscriptParams.h:42
void setInt(const std::string &name, int value)
Definition EscriptParams.cpp:148
int tooManyLines
Definition EscriptParams.h:61
int getTooManyLines() const
Definition EscriptParams.h:47
std::unordered_set< std::string > FeatureSet
Definition EscriptParams.h:33
boost::python::list listFeatures() const
Definition EscriptParams.cpp:194
boost::python::list listEscriptParams() const
Definition EscriptParams.cpp:166
int getTooManyLevels() const
Definition EscriptParams.h:46
int getResolveCollective() const
Definition EscriptParams.h:45
FeatureSet features
Definition EscriptParams.h:53
int lazyVerbose
Definition EscriptParams.h:58
int lazyStrFmt
Definition EscriptParams.h:57
#define ESCRIPT_DLL_API
Definition escriptcore/src/system_dep.h:30
Definition AbstractContinuousDomain.cpp:23
bool hasFeature(const std::string &name)
returns true if escript was compiled with the feature name, false otherwise.
Definition EscriptParams.h:99
boost::python::list listFeatures()
returns a list of features escript was compiled with.
Definition EscriptParams.h:108
int getEscriptParamInt(const std::string &name, int sentinel=0)
get the value of a named parameter. See listEscriptParams() for available parameters.
Definition EscriptParams.h:80
void setEscriptParamInt(const std::string &name, int value)
Set the value of a named parameter. See listEscriptParams() for available parameters.
Definition EscriptParams.h:71
boost::python::list listEscriptParams()
describe available parameters.
Definition EscriptParams.h:89
EscriptParams escriptParams
Definition EscriptParams.cpp:29