mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +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)
|
||||
|
||||
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)
|
||||
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)
|
||||
plt.title('difference '+d+' (in %)')
|
||||
# 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')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user