pml warning only if using the pml
This commit is contained in:
parent
d3434906a3
commit
efe64fca4d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user