CMakeLists.txt 1010 Bytes
Newer Older
1
waLBerla_link_files_to_builddir( "*.prm" )
2
waLBerla_link_files_to_builddir( "*.py" )
3
4


5
foreach(config trt smagorinsky mrt3 mrt entropic_kbc_n4 cumulant )
6
7
8
9
10
11
12
13
14
    waLBerla_generate_target_from_python(NAME UniformGridGenerated_${config}
          CODEGEN_CFG ${config}
          FILE UniformGridGenerated.py
          OUT_FILES GenMacroGetter.cpp GenMacroGetter.h GenMacroSetter.cpp GenMacroSetter.h
          GenPackInfo.cpp GenPackInfo.h GenPackInfoAAPush.cpp GenPackInfoAAPush.h GenPackInfoAAPull.cpp GenPackInfoAAPull.h
          GenLbKernel.cpp GenLbKernel.h GenLbKernelAAEven.cpp GenLbKernelAAEven.h GenLbKernelAAOdd.cpp GenLbKernelAAOdd.h
          GenMpiDtypeInfo.h GenMpiDtypeInfoAAPull.h GenMpiDtypeInfoAAPush.h
          GenDefines.h)

15
    waLBerla_add_executable ( NAME UniformGridBenchmarkGenerated_${config}
16
17
18
19
          FILES UniformGridGenerated.cpp
          DEPENDS blockforest boundary core domain_decomposition field geometry timeloop vtk gui
          UniformGridGenerated_${config})

20
endforeach()