Automatic Differentation options

Generated from SU2 commit 6b54b78464 on 2026-10-23. Do not edit this page. Edit the comment above the option in Common/src/CConfig.cpp instead.

DIRECT_DIFF

Direct differentiation mode (forward)

  • Type: one of the values below
  • Values: NONE, MACH, AOA, PRESSURE, TEMPERATURE, DENSITY, TURB2LAM, SIDESLIP, VISCOSITY, REYNOLDS, DESIGN_VARIABLES, YOUNG_MODULUS, POISSON_RATIO, STRUCTURAL_DENSITY, STRUCTURAL_DEAD_LOAD, ELECTRIC_FIELD
  • Default: NONE
  • Not in config_template.cfg.
  • Used in 1 test case file, for example: cylinder_Windowing.cfg (DESIGN_VARIABLES)
  • Code: CConfig.cpp line 3017

AUTO_DIFF

Automatic differentiation mode (reverse)

PREACC

Preaccumulation in the AD mode.

CHECK_TAPE_TYPE

Specify the tape which is checked in a tape debug run.

More in config_template.cfg: Specify the kind of tape that is checked (OBJECTIVE_FUNCTION_TAPE, FULL_SOLVER_TAPE)

  • Type: one of the values below
  • Values: OBJECTIVE_FUNCTION_TAPE, FULL_SOLVER_TAPE
  • Default: FULL_SOLVER_TAPE
  • In config_template.cfg: CHECK_TAPE_TYPE = FULL_SOLVER_TAPE
  • Mentioned in: Changes in Version 8
  • Code: CConfig.cpp line 3026

CHECK_TAPE_VARIABLES

Specify the tape which is checked in a tape debug run.

More in config_template.cfg: Specify the variables for which the tape is checked (SOLVER_VARIABLES, SOLVER_VARIABLES_AND_MESH_COORDINATES)

  • Type: one of the values below
  • Values: SOLVER_VARIABLES, MESH_COORDINATES
  • Default: SOLVER_VARIABLES
  • In config_template.cfg: CHECK_TAPE_VARIABLES = SOLVER_VARIABLES
  • Mentioned in: Changes in Version 8
  • Code: CConfig.cpp line 3029


Improve this page