Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype.kernels Namespace Reference

Functions

 translate_dslhype_function (function, function_namespace, template_parameters, functor_parameters, pde_terms, output_file_name, Target target, bool stateless, str function_name=None, str output_directory=".")
 function_name: str Name of the generated C++ function.
 

Function Documentation

◆ translate_dslhype_function()

exahype2.api.dslhype.kernels.translate_dslhype_function (   function,
  function_namespace,
  template_parameters,
  functor_parameters,
  pde_terms,
  output_file_name,
Target  target,
bool  stateless,
str   function_name = None,
str   output_directory = "." 
)

function_name: str Name of the generated C++ function.

Defaults to the name of the Python DSL function passed in as function.

output_directory: str Directory the kernels/ subdirectory with the generated files is created in, usually the Peano project's directory.

Definition at line 8 of file kernels.py.