From bbc0517bde326349f6f1907e30a914eb8ab3f07c Mon Sep 17 00:00:00 2001 From: Nicolas Marsic <marsic@temf.tu-darmstadt.de> Date: Wed, 27 Jan 2021 12:14:05 +0100 Subject: [PATCH] default to constant PML in har3d --- simulation/HarocheHelper.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/simulation/HarocheHelper.cpp b/simulation/HarocheHelper.cpp index 28c8faa5..6b80d83a 100644 --- a/simulation/HarocheHelper.cpp +++ b/simulation/HarocheHelper.cpp @@ -41,24 +41,24 @@ Complex PML::dampingX(fullVector<double>& xyz){ double f = Xmax + SizeX - fabs(xyz(0)); double overF = 1 / (f) - 1 / (SizeX); - return Complex(1, -overF / kHaroche); - //return a; + //return Complex(1, -overF / kHaroche); + return a; } Complex PML::dampingY(fullVector<double>& xyz){ double f = Ymax + SizeY - fabs(xyz(1)); double overF = 1 / (f) - 1 / (SizeY); - return Complex(1, -overF / kHaroche); - //return a; + //return Complex(1, -overF / kHaroche); + return a; } Complex PML::dampingZ(fullVector<double>& xyz){ double f = Zmax + SizeZ - fabs(xyz(2)); double overF = 1 / (f) - 1 / (SizeZ); - return Complex(1, -overF / kHaroche); - //return a; + //return Complex(1, -overF / kHaroche); + return a; } // Air -- GitLab