ShowStat method added to upml extension

pull/1/head
Thorsten Liebig 2010-10-04 15:07:50 +02:00
parent 06bbec106f
commit cc50b5bbef
2 changed files with 11 additions and 0 deletions

View File

@ -319,3 +319,12 @@ Engine_Extension* Operator_Ext_UPML::CreateEngineExtention()
Engine_Ext_UPML* eng_ext = new Engine_Ext_UPML(this);
return eng_ext;
}
void Operator_Ext_UPML::ShowStat(ostream &ostr) const
{
Operator_Extension::ShowStat(ostr);
ostr << " PML range\t\t: " << "[" << m_StartPos[0]<< "," << m_StartPos[1]<< "," << m_StartPos[2]<< "] to ["
<< m_StartPos[0]+m_numLines[0]-1 << "," << m_StartPos[1]+m_numLines[1]-1 << "," << m_StartPos[2]+m_numLines[2]-1 << "]" << endl;
ostr << " Grading function\t: \"" << m_GradFunc << "\"" << endl;
}

View File

@ -60,6 +60,8 @@ public:
virtual string GetExtensionName() const {return string("Uniaxial PML Extension");}
virtual void ShowStat(ostream &ostr) const;
//! Create the UPML
static bool Create_UPML(Operator* op, int BC[6], unsigned int size[6], string gradFunc);