mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
[cmake] Set interface include dir for ngcore
This commit is contained in:
parent
17b6c83499
commit
94d0a5a585
@ -32,6 +32,7 @@ if(WIN32)
|
|||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
target_compile_definitions(ngcore PUBLIC $<$<CONFIG:DEBUG>:NETGEN_ENABLE_CHECK_RANGE>)
|
target_compile_definitions(ngcore PUBLIC $<$<CONFIG:DEBUG>:NETGEN_ENABLE_CHECK_RANGE>)
|
||||||
|
target_include_directories(ngcore INTERFACE $<INSTALL_INTERFACE:${NG_INSTALL_DIR_INCLUDE}> $<INSTALL_INTERFACE:${NG_INSTALL_DIR_INCLUDE}/include>)
|
||||||
|
|
||||||
if(CHECK_RANGE)
|
if(CHECK_RANGE)
|
||||||
target_compile_definitions(ngcore PUBLIC NETGEN_ENABLE_CHECK_RANGE)
|
target_compile_definitions(ngcore PUBLIC NETGEN_ENABLE_CHECK_RANGE)
|
||||||
|
@ -82,7 +82,7 @@ for i,d in enumerate(['badness','#edges','#trigs','#tets']):
|
|||||||
ax = plt.subplot(2,5,6+i)
|
ax = plt.subplot(2,5,6+i)
|
||||||
plt.title('difference '+d+' (in %)')
|
plt.title('difference '+d+' (in %)')
|
||||||
# plt.violinplot([(y-x)/x for x,y in zip(data[d],data2[d])], showmedians=True)
|
# plt.violinplot([(y-x)/x for x,y in zip(data[d],data2[d])], showmedians=True)
|
||||||
plt.boxplot([(y-x)/x for x,y in zip(data[d],data2[d])])
|
plt.boxplot([100.0*(y-x)/x for x,y in zip(data[d],data2[d])])
|
||||||
plt.hlines(0.0, 0.5,1.5, linestyle='dotted')
|
plt.hlines(0.0, 0.5,1.5, linestyle='dotted')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user