MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FuncTerm.cpp File Reference
#include <vector>
#include <sstream>
#include "muParser.h"
#include "FuncTerm.h"
#include "../utility/numutil.h"
+ Include dependency graph for FuncTerm.cpp:

Go to the source code of this file.

Functions

void showError (mu::Parser::exception_type &e)
 

Function Documentation

void showError ( mu::Parser::exception_type &  e)

Definition at line 73 of file FuncTerm.cpp.

Referenced by FuncTerm::evalPool(), and FuncTerm::setExpr().

74 {
75  cout << "Error occurred in parser.\n"
76  << "Message: " << e.GetMsg() << "\n"
77  << "Formula: " << e.GetExpr() << "\n"
78  << "Token: " << e.GetToken() << "\n"
79  << "Position: " << e.GetPos() << "\n"
80  << "Error code: " << e.GetCode() << endl;
81 }

+ Here is the caller graph for this function: