diff --git a/Common/processing.cpp b/Common/processing.cpp index 92637b6..f7f9772 100644 --- a/Common/processing.cpp +++ b/Common/processing.cpp @@ -157,9 +157,9 @@ void Processing::AddFrequency(vector *freqs) void Processing::DefineStartStopCoord(double* dstart, double* dstop) { if (Op->SnapToMesh(dstart,start,m_dualMesh,m_start_inside)==false) - cerr << "Processing::DefineStartStopCoord: Warning: Snapped line outside field domain!!" << endl; + cerr << "Processing::DefineStartStopCoord: Warning in " << m_Name << " (" << GetProcessingName() << ") : Snapped start line outside field domain!!" << endl; if (Op->SnapToMesh(dstop,stop,m_dualMesh,m_stop_inside)==false) - cerr << "Processing::DefineStartStopCoord: Warning: Snapped line outside field domain!!" << endl; + cerr << "Processing::DefineStartStopCoord: Warning in " << m_Name << " (" << GetProcessingName() << ") : Snapped stop line outside field domain!!" << endl; if (g_settings.showProbeDiscretization()) { diff --git a/openems.cpp b/openems.cpp index 41d12d8..2a6ee40 100644 --- a/openems.cpp +++ b/openems.cpp @@ -408,6 +408,7 @@ bool openEMS::SetupProcessing(ContinuousStructure& CSX) if (db->GetOptResolution()) for (int n=0; n<3; ++n) ProcField->SetOptResolution(db->GetOptResolution(n),n); + ProcField->SetName(db->GetName()); ProcField->SetFilePattern(db->GetName()); ProcField->SetFileName(db->GetName()); ProcField->DefineStartStopCoord(start,stop);