1if ENABLE_imesh 2 IMESH_TEST = imesh 3else 4 IMESH_TEST = 5endif 6 7if HAVE_CGM 8 IGEOM_TEST = igeom 9else 10 IGEOM_TEST = 11endif 12 13if HAVE_NETCDF 14 EXO_TEST = convert 15else 16 EXO_TEST = 17endif 18 19if HAVE_CPPUNIT 20 UNIT_TEST = unit 21else 22 UNIT_TEST = 23endif 24 25if HAVE_MPI 26 PARALLEL_UNTANGLE_SHAPE = parallel_untangle_shape 27 PARALLEL_SMOOTH_LAPLACE = parallel_smooth_laplace 28else 29 PARALLEL_UNTANGLE_SHAPE = 30 PARALLEL_SMOOTH_LAPLACE = 31endif 32 33MESHDIR = $(abs_top_srcdir)/MeshFiles/mesquite 34 35AM_CPPFLAGS = -DSRCDIR=$(srcdir) \ 36 -DMESHDIR=$(MESHDIR) \ 37 $(MSQ_INCLUDES) \ 38 -I$(top_srcdir)/src \ 39 -I$(top_builddir)/src \ 40 -I$(top_srcdir)/test 41 42LDADD = $(top_builddir)/src/mesquite/libmbmesquite.la 43check_PROGRAMS = algorithm_test activeset analytical_grad3D paraboloid_domain high_aspect_ratio idft_time jacobi 44check_PROGRAMS += laplacian laplacian_polygon nongradient pyramid wedge simple_hybrid synchronous transform untangle 45check_PROGRAMS += headers_basic_test feasible_newton 2d_target 2d_metrics 2d_formulation 46TESTS = $(check_PROGRAMS) 47check_PROGRAMS += benchmark_tests 48 49headers_basic_test_SOURCES = headers_basic_test.cpp 502d_target_SOURCES = 2d_target_test.cpp 512d_metrics_SOURCES = 2d_metrics_test.cpp 522d_formulation_SOURCES = 2d_formulation_test.cpp 53algorithm_test_SOURCES = algorithm_test.cpp 54activeset_SOURCES = activeset_test.cpp 55analytical_grad3D_SOURCES = analytical_grad3D_test.cpp 56benchmark_tests_SOURCES = benchmark_tests.cpp 57feasible_newton_SOURCES = feasible_newton_test.cpp 58high_aspect_ratio_SOURCES = high_aspect_ratio_test.cpp 59idft_time_SOURCES = idft_time_test.cpp 60jacobi_SOURCES = jacobi_test.cpp 61laplacian_SOURCES = laplacian_test.cpp 62laplacian_polygon_SOURCES = laplacian_polygon_test.cpp 63nongradient_SOURCES = nongradient_test.cpp 64paraboloid_domain_SOURCES = paraboloid_domain_test.cpp 65pyramid_SOURCES = pyramid_test.cpp 66simple_hybrid_SOURCES = simple_hybrid_test.cpp 67synchronous_SOURCES = synchronous_test.cpp 68transform_SOURCES = transform_test.cpp 69untangle_SOURCES = untangle_test.cpp 70wedge_SOURCES = wedge_test.cpp 71 72SUBDIRS = . \ 73 $(EXO_TEST) \ 74 higher_order \ 75 $(IGEOM_TEST) \ 76 $(IMESH_TEST) \ 77 $(PARALLEL_SMOOTH_LAPLACE) \ 78 $(PARALLEL_UNTANGLE_SHAPE) \ 79 slaved \ 80 wrapper_tests\ 81 $(UNIT_TEST) 82 83EXTRA_DIST = 2d_formulation_initial.vtk 2d_metrics_reference.vtk 84MOSTLYCLEANFILES = original_mesh.vtk smoothed_mesh.vtk smooth_ho.vtk *results.vtk transformed_mesh.vtk *.gpt Exp*.vtk out.vtk \ 85 *.gnuplot synchronous.vtk high_aspect.vtk 86 87include $(top_srcdir)/src/mesquite/make.inc 88 89