diff --git a/tests/haroche/cavity.dat b/tests/haroche/cavity.dat index 15638e130a1ba3eaddf982a578d9eeb2ba7f7717..f226ce7cae9314609b49ccb857de155cf2a167b5 100644 --- a/tests/haroche/cavity.dat +++ b/tests/haroche/cavity.dat @@ -45,10 +45,11 @@ pml_z = thick * Lambda0; // Mesh DefineConstant[ - mAir = { 8, Name "Input/03Mesh/00Air density", Units "elem./wavelength" }, - mPML = { 8, Name "Input/03Mesh/01PML density", Units "elem./wavelength" }, - mMir = { 8, Name "Input/03Mesh/02Mirror density", Units "elem./wavelength" }, - mO = { 2, Name "Input/03Mesh/03Order", Units "-" } + mAir = { 5, Name "Input/03Mesh/00Air density", Units "elem./wavelength" }, + mPML = { 5, Name "Input/03Mesh/01PML density", Units "elem./wavelength" }, + mMir = { 5, Name "Input/03Mesh/02Mirror density", Units "elem./wavelength" }, + mO = { 2, Name "Input/03Mesh/03Order", Units "-" }, + nPart = { 2, Name "Input/03Mesh/04#partitions", Units "-" } ]; clPML = Lambda0 / mPML; diff --git a/tests/haroche/partition.geo b/tests/haroche/partition.geo new file mode 100644 index 0000000000000000000000000000000000000000..020045024fa50790f64dd6f3cadc6e46f945decd --- /dev/null +++ b/tests/haroche/partition.geo @@ -0,0 +1,15 @@ +// Data // +////////// +Include "cavity.dat"; +Merge "cavity.msh"; + +// Partitioning // +////////////////// +Mesh.PartitionCreateTopology = 0; +Mesh.PartitionCreatePhysicals = 0; +Mesh.PartitionCreateGhostCells = 0; + +If(nPart > 1) + PartitionMesh nPart; + Save Sprintf("cavity_part%g.msh", nPart); +EndIf