Skip to content
Snippets Groups Projects
  1. Feb 28, 2023
  2. Nov 25, 2021
  3. Sep 30, 2021
  4. May 05, 2021
  5. Jul 17, 2020
  6. Jul 01, 2020
  7. May 18, 2020
    • Dominik Thoennes's avatar
      Replaced `waLBerla_python_file_generates` with `waLBerla_generate_target_from_python` · f30f0fa4
      Dominik Thoennes authored
      This new function does the actual generation using pystencils and creates a target library that can be used as a dependency as usual. One should not list the python script itself anymore in add_executable.
      Convention: Use the AppName as a prefix for the generated lib!
      
      Example Usage:
      
      waLBerla_generate_target_from_python( NAME AppNameGeneratedLib FILE GenerateKernel.py OUT_FILES Kernel.h Kernel.cpp)
      
      waLBerla_add_executable ( NAME AppNameGeneratedLibTest DEPENDS GeneratedLib)
      f30f0fa4
  8. Mar 17, 2020