pml warning only if using the pml

This commit is contained in:
Thorsten Liebig 2010-07-17 15:22:51 +02:00
parent d3434906a3
commit efe64fca4d

View File

@ -22,11 +22,11 @@
bool Build_Split_Field_PML(Operator* op, int BC[6])
{
cerr << "Build_Split_Field_PML:: Warning, currently only pml planes are implemented... edges and corner coming soon..." << endl;
for (int n=0;n<6;++n)
{
if (BC[n]==3) //split field PML
{
cerr << "Build_Split_Field_PML:: Warning, currently only pml planes are implemented... edges and corner coming soon..." << endl;
Operator_Ext_PML_SF_Plane* op_pml_sf = new Operator_Ext_PML_SF_Plane(op);
op_pml_sf->SetDirection(n/2,n%2);
op_pml_sf->SetPMLLength(8);