ShowStat method added to upml extension
parent
06bbec106f
commit
cc50b5bbef
|
@ -319,3 +319,12 @@ Engine_Extension* Operator_Ext_UPML::CreateEngineExtention()
|
||||||
Engine_Ext_UPML* eng_ext = new Engine_Ext_UPML(this);
|
Engine_Ext_UPML* eng_ext = new Engine_Ext_UPML(this);
|
||||||
return eng_ext;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -60,6 +60,8 @@ public:
|
||||||
|
|
||||||
virtual string GetExtensionName() const {return string("Uniaxial PML Extension");}
|
virtual string GetExtensionName() const {return string("Uniaxial PML Extension");}
|
||||||
|
|
||||||
|
virtual void ShowStat(ostream &ostr) const;
|
||||||
|
|
||||||
//! Create the UPML
|
//! Create the UPML
|
||||||
static bool Create_UPML(Operator* op, int BC[6], unsigned int size[6], string gradFunc);
|
static bool Create_UPML(Operator* op, int BC[6], unsigned int size[6], string gradFunc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue