Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ if test "x$have_gdsii" = xmaybe; then
AC_MSG_RESULT($have_gdsii_getlayers)
fi
fi
AM_CONDITIONAL(WITH_LIBGDSII, test "x$ac_cv_lib_GDSII_libGDSIIExists" = "xyes")

##############################################################################
# The following function is used only for debugging. Note that
Expand Down
9 changes: 5 additions & 4 deletions python/tests/test_prism.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,11 @@ def bigtest_prism(self):
self.assertAlmostEqual(d_nosym[1], d_sym[1], places=3)
self.assertAlmostEqual(d_nosym[2], d_sym[2], places=3)

print("Testing Non-Convex Prism from GDSII file...")
d = self.spiral_gds()
d_ref = 455.01744881372224
self.assertAlmostEqual(d, d_ref, places=5)
if mp.with_libGDSII():
print("Testing Non-Convex Prism from GDSII file...")
d = self.spiral_gds()
d_ref = 455.01744881372224
self.assertAlmostEqual(d, d_ref, places=5)

def test_prism(self):
print("Testing Non-Convex Prism #3 using marching squares algorithm...")
Expand Down
6 changes: 5 additions & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ AM_CPPFLAGS = -I$(top_srcdir)/src -DDATADIR=\"$(srcdir)/\"

.SUFFIXES = .dac .done

check_PROGRAMS = aniso_disp bench bragg_transmission convergence_cyl_waveguide cylindrical dump_load flux harmonics integrate known_results near2far one_dimensional physical stress_tensor symmetry three_d two_dimensional 2D_convergence h5test pml pw-source-ll ring-ll cyl-ellipsoid-ll absorber-1d-ll array-slice-ll user-defined-material dft-fields gdsII-3d bend-flux-ll array-metadata
check_PROGRAMS = aniso_disp bench bragg_transmission convergence_cyl_waveguide cylindrical dump_load flux harmonics integrate known_results near2far one_dimensional physical stress_tensor symmetry three_d two_dimensional 2D_convergence h5test pml pw-source-ll ring-ll cyl-ellipsoid-ll absorber-1d-ll array-slice-ll user-defined-material dft-fields bend-flux-ll array-metadata

if WITH_LIBGDSII
check_PROGRAMS += gdsII-3d
endif

array_metadata_SOURCES = array-metadata.cpp
array_metadata_LDADD = $(MEEPLIBS)
Expand Down
Loading