Skip to content
Snippets Groups Projects
Commit af000cc8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile

parent a270ee8a
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,8 @@ PView* thermicSolver::buildErrorEstimateView(const std::string errorFileName,
SolverField<double> solField(pAssembler, LagSpace);
for (unsigned int i = 0; i < thermicFields.size(); ++i){
for (groupOfElements::elementContainer::const_iterator it = thermicFields[i].g->begin(); it != thermicFields[i].g->end(); ++it){
for (groupOfElements::elementContainer::const_iterator it =
thermicFields[i].g->begin(); it != thermicFields[i].g->end(); ++it){
MElement *e = *it;
int npts;
IntPt *GP;
......@@ -369,14 +370,10 @@ PView* thermicSolver::buildLagrangeMultiplierView (const std::string postFileNam
return 0;
}
PView* thermicSolver::buildErrorEstimateView(const std::string errorFileName)
PView* thermicSolver::buildErrorEstimateView(const std::string errorFileName,
simpleFunction<double> *sol)
{
Msg::Error("Post-pro module not available");
return 0;
}
#endif
......@@ -76,7 +76,7 @@ namespace gmm {
}
# define GMM_THROW_(type, errormsg) { \
std::stringstream msg; \
msg << "Error in "__FILE__ << ", line " \
msg << "Error in " << __FILE__ << ", line " \
<< __LINE__ << " " << GMM_PRETTY_FUNCTION << ": \n" \
<< errormsg << ends; \
throw (type)(msg.str()); \
......@@ -91,7 +91,7 @@ namespace gmm {
}
# define GMM_THROW_(type, errormsg) { \
std::stringstream msg; \
msg << "Error in "__FILE__ << ", line " \
msg << "Error in " << __FILE__ << ", line " \
<< __LINE__ << " " << GMM_PRETTY_FUNCTION << ": \n" \
<< errormsg << ends; \
::abort(); \
......@@ -148,7 +148,7 @@ namespace gmm {
#define GMM_WARNING_MSG(level_, thestr) { \
std::stringstream msg; \
msg << "Level " << level_ << " Warning in "__FILE__ << ", line " \
msg << "Level " << level_ << " Warning in " << __FILE__ << ", line " \
<< __LINE__ << ": " << thestr << ends; \
std::cerr << msg.str() << std::endl; \
}
......@@ -210,7 +210,7 @@ namespace gmm {
#define GMM_TRACE_MSG(level_, thestr) { \
GMM_TRACE_MSG_MPI { \
std::stringstream msg; \
msg << "Trace " << level_ << " in "__FILE__ << ", line " \
msg << "Trace " << level_ << " in " << __FILE__ << ", line " \
<< __LINE__ << ": " << thestr \
<< ends; \
std::cout << msg.str() << std::endl; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment