DiFfRG`
DiFfRG`

MakeFlowClass

MakeFlowClass[name,kernels]

This creates a file flows.hh inside the flow directory, containing a class with the specified name, as well as several other files. All defined kernels have a corresponding integrator object in this class. Also automatically calls MakeCMakeFile with the passed list of kernels.

Details and Options

  • The following options can be given:
  • "Regulator""PolynomialExpRegulator", A regulator in the DiFfRG namespace
    "RegulatorOptionCode"{, }A list of two strings: the name of the options struct and the C++ code to define the struct.

Examples