Two methods allow setting the verbosity level of several operations. The level of verbosity is a parameter global for FeResPost and may be used to write several information messages during operations in which the risk of inconsistent data has been deemed high. These information messages may be used to debug FeResPost or the programs using FeResPost. In practice, the majority of programming errors will be related to the user’s own program, but the printing of FeResPost messages may help find them. The two methods defined in the “Post” Module are:
“setVerbosityLevel” has one “level” integer argument and is used to set the level of verbosity.
“getVerbosityLevel” returns an integer corresponding to the verbosity level.
The verbosity level may presently range from 0 to 2. 0 corresponds to no information messages. The amount of information messages increases with verbosity level.
Presently, the operations influenced by the verbosity level are the operations related to reading finite element models, accessing Results in disk files, Gmsh output...