Go to the documentation of this file.
18 #ifndef __ESCRIPT_PARAMS_H__
19 #define __ESCRIPT_PARAMS_H__
21 #include <boost/python/list.hpp>
24 #include <unordered_set>
31 typedef std::unordered_set<std::string>
FeatureSet;
36 int getInt(
const std::string& name,
int sentinel = 0)
const;
37 void setInt(
const std::string& name,
int value);
47 bool hasFeature(
const std::string& name)
const;
96 inline bool hasFeature(
const std::string& name)
112 #endif // __ESCRIPT_PARAMS_H__
int resolveCollective
Definition: EscriptParams.h:82
boost::python::list listEscriptParams() const
Definition: EscriptParams.cpp:171
int getResolveCollective() const
Definition: EscriptParams.h:68
int getTooManyLevels() const
Definition: EscriptParams.h:69
int tooManyLines
Definition: EscriptParams.h:84
int getEscriptParamInt(const std::string &name, int sentinel=0)
get the value of a named parameter. See listEscriptParams() for available parameters.
Definition: EscriptParams.h:90
boost::python::list listFeatures() const
Definition: EscriptParams.cpp:199
boost::python::list listFeatures()
returns a list of features escript was compiled with.
Definition: EscriptParams.h:117
boost::python::list listEscriptParams()
describe available parameters.
Definition: EscriptParams.h:99
EscriptParams()
Definition: EscriptParams.cpp:44
#define MPI_COMM_WORLD
Definition: EsysMPI.h:47
Definition: EscriptParams.h:41
int autoLazy
Definition: EscriptParams.h:79
bool hasFeature(const std::string &name) const
Definition: EscriptParams.cpp:183
int getLazyVerbose() const
Definition: EscriptParams.h:67
int tooManyLevels
Definition: EscriptParams.h:83
void setInt(const std::string &name, int value)
Definition: EscriptParams.cpp:153
EscriptParams escriptParams
Definition: EscriptParams.cpp:41
int getLazyStrFmt() const
Definition: EscriptParams.h:66
int lazyVerbose
Definition: EscriptParams.h:81
void setEscriptParamInt(const std::string &name, int value)
Set the value of a named parameter. See listEscriptParams() for available parameters.
Definition: EscriptParams.h:81
std::unordered_set< std::string > FeatureSet
Definition: EscriptParams.h:56
Definition: AbstractContinuousDomain.cpp:23
FeatureSet features
Definition: EscriptParams.h:76
int getAutoLazy() const
Definition: EscriptParams.h:65
int getTooManyLines() const
Definition: EscriptParams.h:70
bool hasFeature(const std::string &name)
returns true if escript was compiled with the feature name, false otherwise.
Definition: EscriptParams.h:108
int lazyStrFmt
Definition: EscriptParams.h:80
int getInt(const std::string &name, int sentinel=0) const
Definition: EscriptParams.cpp:134
An exception class that signals an invalid argument value.
Definition: EsysException.h:101