Skip to content
Snippets Groups Projects
Commit a32c77a0 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[cmake] More checking for the presence of consistent-edge-orientation

parent 763957da
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,9 @@ function(add_generated_executable)
set(ANALYZE_GRID_FILE)
set(ANALYZE_GRID_OPTION)
if(GEN_ANALYZE_GRID)
if(NOT consistent-edge-orientation_FOUND)
message(FATAL_ERROR "Asked for grid analysis, but the module consistent-edge-orientation was not found!"
endif()
set(ANALYZE_GRID_FILE "${GEN_INIFILE}.csv")
set(ANALYZE_GRID_OPTION "--grid-info=${ANALYZE_GRID_FILE}")
add_custom_command(OUTPUT ${ANALYZE_GRID_FILE}
......
......@@ -50,17 +50,18 @@ dune_add_formcompiler_system_test(UFLFILE poisson_3d.ufl
#==================================
# Poisson DG on 'unstructured grid'
#==================================
dune_add_formcompiler_system_test(UFLFILE poisson_dg_2d.ufl
BASENAME sumfact_poisson_dg_2d_unstructured
INIFILE poisson_dg_2d_unstructured.mini
ANALYZE_GRID
)
dune_add_formcompiler_system_test(UFLFILE poisson_dg_3d.ufl
BASENAME sumfact_poisson_dg_3d_unstructured
INIFILE poisson_dg_3d_unstructured.mini
ANALYZE_GRID
)
if(consistent-edge-orientation_FOUND)
dune_add_formcompiler_system_test(UFLFILE poisson_dg_2d.ufl
BASENAME sumfact_poisson_dg_2d_unstructured
INIFILE poisson_dg_2d_unstructured.mini
ANALYZE_GRID
)
dune_add_formcompiler_system_test(UFLFILE poisson_dg_3d.ufl
BASENAME sumfact_poisson_dg_3d_unstructured
INIFILE poisson_dg_3d_unstructured.mini
ANALYZE_GRID
)
endif()
#=============================================
# Poisson DG using FastDGGridOperator in 2D/3D
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment