_minSize (0),
_maxSize (1e22),
_secondOrder (false),
- _useIncomplElem (true)
+ _useIncomplElem (true),
+ _verbLvl(status)
{
_name = "GMSH_Parameters";
_param_algo_dim = 3;
_is2d = theIs2d;
}
+void GMSHPlugin_Hypothesis::SetVerbosityLevel(Verbosity theLevel)
+{
+ _verbLvl = theLevel;
+}
+
void GMSHPlugin_Hypothesis::SetCompoundOnEntry(const std::string& entry)
{
" " << _maxSize <<
" " << _minSize <<
" " << (int)_secondOrder <<
- " " << (int)_useIncomplElem ;
+ " " << (int)_useIncomplElem <<
+ " " << (int)_verbLvl ;
save << " " << "__COMPOUNDS_BEGIN__";
for (TCompound::const_iterator it = _compounds.begin(); it != _compounds.end(); ++it )
else
load.clear(ios::badbit | load.rdstate());
+ isOK = static_cast<bool>(load >> is);
+ if (isOK)
+ _verbLvl = (Verbosity)is;
+ else
+ load.clear(ios::badbit | load.rdstate());
+
std::string entry;
isOK = static_cast<bool>(load >> entry);