.. java:import:: fr.inria.tapenade.analysis ADActivityAnalyzer .. java:import:: fr.inria.tapenade.analysis ADTBRAnalyzer .. java:import:: fr.inria.tapenade.analysis DepsAnalyzer .. java:import:: fr.inria.tapenade.analysis DiffLivenessAnalyzer .. java:import:: fr.inria.tapenade.analysis InOutAnalyzer .. java:import:: fr.inria.tapenade.analysis MultithreadAnalyzer .. java:import:: fr.inria.tapenade.analysis PointerAnalyzer .. java:import:: fr.inria.tapenade.analysis ReqExplicit .. java:import:: fr.inria.tapenade.utils TapPair .. java:import:: fr.inria.tapenade.utils TapTriplet .. java:import:: fr.inria.tapenade.utils Tree .. java:import:: java.io OutputStream .. java:import:: java.nio.file Path TapEnvForThread =============== .. java:package:: fr.inria.tapenade.representation :noindex: .. java:type:: public final class TapEnvForThread Contains all settings needed by Tapenade at some point, (except those specific to AD that go into adEnv), and that are specific for each individual thread. Fields ------ absLinearForm ^^^^^^^^^^^^^ .. java:field:: public boolean absLinearForm :outertype: TapEnvForThread Set to true to test Andreas' ABS Linear Forms ("ALF"). adActivityAnalyzer ^^^^^^^^^^^^^^^^^^ .. java:field:: protected ADActivityAnalyzer adActivityAnalyzer :outertype: TapEnvForThread The activity analyzer, finding variables that must have a derivative. adTbrAnalyzer ^^^^^^^^^^^^^ .. java:field:: protected ADTBRAnalyzer adTbrAnalyzer :outertype: TapEnvForThread The TBR analyzer, finding variables that must be stored and then retrieved during an adjoint differentiation. argRK ^^^^^ .. java:field:: protected int argRK :outertype: TapEnvForThread assocAddressDiffSuffix ^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public String assocAddressDiffSuffix :outertype: TapEnvForThread Suffix for diff values with association-by-address. assocAddressDiffTypesUnits ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected Unit[] assocAddressDiffTypesUnits :outertype: TapEnvForThread The FORTRAN module, C unit, C++ unit that defines the special types for association-by-address. assocAddressValueSuffix ^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public String assocAddressValueSuffix :outertype: TapEnvForThread Suffix for orig values with association-by-address. associationByAddress ^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected boolean associationByAddress :outertype: TapEnvForThread When true, place differentiated values using association-by-address instead of association-by-name. byteSize ^^^^^^^^ .. java:field:: public int byteSize :outertype: TapEnvForThread Size of a byte for this system. charSize ^^^^^^^^ .. java:field:: public int charSize :outertype: TapEnvForThread Size of a char for this system. combineDeclMessagesSwitch ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected boolean combineDeclMessagesSwitch :outertype: TapEnvForThread When false, messages DD05 (Cannot combine successive declarations...) are inhibited. Because repeated inclusion of C standard include files cause spurious DD05 messages. complexStep ^^^^^^^^^^^ .. java:field:: public boolean complexStep :outertype: TapEnvForThread When true, fortran REAL's are turned into COMPLEX'es to enable the complex-step method cppCommand ^^^^^^^^^^ .. java:field:: public String cppCommand :outertype: TapEnvForThread The command to run the/a preprocessor before AD of a C file. cppOptions ^^^^^^^^^^ .. java:field:: public String cppOptions :outertype: TapEnvForThread The options for the preprocessor before AD of a C file. createStub ^^^^^^^^^^ .. java:field:: public boolean createStub :outertype: TapEnvForThread True when -p and no analysis. curOutputStream ^^^^^^^^^^^^^^^ .. java:field:: public OutputStream curOutputStream :outertype: TapEnvForThread The current output stream used by print(). currentDirectory ^^^^^^^^^^^^^^^^ .. java:field:: protected String currentDirectory :outertype: TapEnvForThread The current directory, used to look for include files. currentIncludeInstruction ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected Instruction currentIncludeInstruction :outertype: TapEnvForThread The include Instruction that contained the current Instruction. currentParsedFile ^^^^^^^^^^^^^^^^^ .. java:field:: protected String currentParsedFile :outertype: TapEnvForThread currentTranslationUnitSymbolTable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected SymbolTable currentTranslationUnitSymbolTable :outertype: TapEnvForThread danglingMessages ^^^^^^^^^^^^^^^^ .. java:field:: protected TapList danglingMessages :outertype: TapEnvForThread The list of all messages that could not be related to such or such Unit. debugADMM ^^^^^^^^^ .. java:field:: protected boolean debugADMM :outertype: TapEnvForThread label all calls to ADMM primitives with a unique label for debugging debugActivity ^^^^^^^^^^^^^ .. java:field:: protected boolean debugActivity :outertype: TapEnvForThread When true, deactivates filterVariedUsefulWithDeps() and mergeUsefulnessIntoVariedness() so that when the normal mode eventually finds no activity at all, this mode still runs top-down activity analysis through the code. This may help find where the activity chain is broken. debugAdMode ^^^^^^^^^^^ .. java:field:: protected int debugAdMode :outertype: TapEnvForThread Debug mode of differentiated programs. NO_DEBUG:no debug ; TGT_DEBUG:debug tangent ; ADJ_DEBUG:debug adjoint. debugPassives ^^^^^^^^^^^^^ .. java:field:: public boolean debugPassives :outertype: TapEnvForThread When true, in debug tangent mode, tries also to test that the passives are not varied. defaultCheckpointCalls ^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean defaultCheckpointCalls :outertype: TapEnvForThread The default checkpointing decision on call sites. depsAnalyzer ^^^^^^^^^^^^ .. java:field:: protected DepsAnalyzer depsAnalyzer :outertype: TapEnvForThread The data-dependency analyzer, finding dependencies of outputs wrt inputs of procedures. diffFileSuffix ^^^^^^^^^^^^^^ .. java:field:: public String diffFileSuffix :outertype: TapEnvForThread The suffix used to build the names of differentiated files. diffKind ^^^^^^^^ .. java:field:: protected int diffKind :outertype: TapEnvForThread The kind of zones that are currently differentiated. Usually, it is REALKIND, but in a very special mode, it can be ALLKIND. diffLivenessAnalyzer ^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected DiffLivenessAnalyzer diffLivenessAnalyzer :outertype: TapEnvForThread The differentiable liveness analyzer, finding original code that is eventually useful or not for the derivative computations. diffMode ^^^^^^^^ .. java:field:: protected int diffMode :outertype: TapEnvForThread Current differentiation mode. diffReplica ^^^^^^^^^^^ .. java:field:: public int diffReplica :outertype: TapEnvForThread Number of replicates of diff variables, as requested by "-replicateDiff" option. differentiatedIncludeNames ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public final TapList> differentiatedIncludeNames :outertype: TapEnvForThread Association from original include-file name to differentiated include-file name, plus collection of waiting include Trees that should receive the differentiated include-file name if it is created. doActivity ^^^^^^^^^^ .. java:field:: protected boolean doActivity :outertype: TapEnvForThread When true, activity analysis is activated. doMPI ^^^^^ .. java:field:: protected boolean doMPI :outertype: TapEnvForThread When true, run special analyses on MPI calls. doOpenMP ^^^^^^^^ .. java:field:: protected boolean doOpenMP :outertype: TapEnvForThread When true, run analyses for OpenMP clauses. doOpenMPZ3 ^^^^^^^^^^ .. java:field:: protected boolean doOpenMPZ3 :outertype: TapEnvForThread When true, run special analyses for OpenMP clauses using Z3 model checker. doRecompute ^^^^^^^^^^^ .. java:field:: public boolean doRecompute :outertype: TapEnvForThread When true, cheap instructions may be repeated to further reduce the adjoint mode stack. doTBR ^^^^^ .. java:field:: public boolean doTBR :outertype: TapEnvForThread When true, TBR analysis is run to further reduce the adjoint mode stack. doUsefulness ^^^^^^^^^^^^ .. java:field:: protected boolean doUsefulness :outertype: TapEnvForThread When false, usefulness analysis is de-activated. dontSaveUnused ^^^^^^^^^^^^^^ .. java:field:: public boolean dontSaveUnused :outertype: TapEnvForThread When true, only used variables are pushed on the adjoint mode stack. doubleDoubleRealSize ^^^^^^^^^^^^^^^^^^^^ .. java:field:: public int doubleDoubleRealSize :outertype: TapEnvForThread Size of a long double precision float for this system. doubleRealSize ^^^^^^^^^^^^^^ .. java:field:: public int doubleRealSize :outertype: TapEnvForThread Size of a double precision float for this system. dumpCallGraph ^^^^^^^^^^^^^ .. java:field:: public boolean dumpCallGraph :outertype: TapEnvForThread True if user wants a compact dump of the source Call Graph. dumpDataFlow ^^^^^^^^^^^^ .. java:field:: public boolean dumpDataFlow :outertype: TapEnvForThread True if user wants a dump of the Data Flow results on the source. dumpDeps ^^^^^^^^ .. java:field:: public boolean dumpDeps :outertype: TapEnvForThread True if user wants a dump of dependency info matrices in the data-flow of the Call Graph. dumpDiffFlowGraphs ^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean dumpDiffFlowGraphs :outertype: TapEnvForThread True if user wants a dump of the differentiated code's Flow-Graphs. dumpDiffSymbolTables ^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean dumpDiffSymbolTables :outertype: TapEnvForThread True if user wants a dump of the differentiated code's Symbol Tables. dumpFlowGraphs ^^^^^^^^^^^^^^ .. java:field:: public boolean dumpFlowGraphs :outertype: TapEnvForThread True if user wants a dump of the source Flow-Graphs. dumpInOut ^^^^^^^^^ .. java:field:: public boolean dumpInOut :outertype: TapEnvForThread True if user wants a dump of In-Out info in the data-flow of the Call Graph. dumpOutputStream ^^^^^^^^^^^^^^^^ .. java:field:: public OutputStream dumpOutputStream :outertype: TapEnvForThread The OutputStream for traces (milestones, differentiation debug traces...). dumpPointers ^^^^^^^^^^^^ .. java:field:: public boolean dumpPointers :outertype: TapEnvForThread True if user wants a dump of pointer info in the data-flow of the Call Graph. dumpSymbolTables ^^^^^^^^^^^^^^^^ .. java:field:: public boolean dumpSymbolTables :outertype: TapEnvForThread True if user wants a dump of the source Symbol Tables. dumpUnitNames ^^^^^^^^^^^^^ .. java:field:: public TapList dumpUnitNames :outertype: TapEnvForThread List of names of Unit's to be dumped. dumpZones ^^^^^^^^^ .. java:field:: public boolean dumpZones :outertype: TapEnvForThread True if user wants a dump of the zones numbers used in the dump. dumps ^^^^^ .. java:field:: public boolean dumps :outertype: TapEnvForThread True when dump mode is on. duplicableUnitNames ^^^^^^^^^^^^^^^^^^^ .. java:field:: public TapList duplicableUnitNames :outertype: TapEnvForThread List of names of function Unit's declared by the user as "duplicable", i.e. cheap and without side-effects expRK ^^^^^ .. java:field:: protected int expRK :outertype: TapEnvForThread expandAllIncludeFile ^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean expandAllIncludeFile :outertype: TapEnvForThread When true, expand all includes in the generated files. expandDiffIncludeFile ^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean expandDiffIncludeFile :outertype: TapEnvForThread fixInterface ^^^^^^^^^^^^ .. java:field:: public boolean fixInterface :outertype: TapEnvForThread When true, forbids modifications of the dependent and independent of root Units. fixedNbdirsString ^^^^^^^^^^^^^^^^^ .. java:field:: public String fixedNbdirsString :outertype: TapEnvForThread When non-null, the expression to use as the number of vector-diff directions. fixedNbdirsTree ^^^^^^^^^^^^^^^ .. java:field:: public Tree fixedNbdirsTree :outertype: TapEnvForThread When non-null, the Tree to use as the number of vector-diff directions. fixedNbdirsmaxString ^^^^^^^^^^^^^^^^^^^^ .. java:field:: public String fixedNbdirsmaxString :outertype: TapEnvForThread When non-null, the expression to use as the max number of vector-diff directions. fixedNbdirsmaxTree ^^^^^^^^^^^^^^^^^^ .. java:field:: public Tree fixedNbdirsmaxTree :outertype: TapEnvForThread When non-null, the Tree to use as the max number of vector-diff directions. fortran90LineLength ^^^^^^^^^^^^^^^^^^^ .. java:field:: public String fortran90LineLength :outertype: TapEnvForThread The max line length for our Fortran90 parser. fortran90OutputLineLength ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public int fortran90OutputLineLength :outertype: TapEnvForThread fppCommand ^^^^^^^^^^ .. java:field:: public String fppCommand :outertype: TapEnvForThread The command to run the/a preprocessor before AD of a fortran file. fppOptions ^^^^^^^^^^ .. java:field:: public String fppOptions :outertype: TapEnvForThread The options for the preprocessor before AD of a fortran file. hasParsingError ^^^^^^^^^^^^^^^ .. java:field:: public boolean hasParsingError :outertype: TapEnvForThread If an error during parsing occurs, exit(1). inIncludeFile ^^^^^^^^^^^^^ .. java:field:: protected boolean inIncludeFile :outertype: TapEnvForThread inOutAnalyzer ^^^^^^^^^^^^^ .. java:field:: protected InOutAnalyzer inOutAnalyzer :outertype: TapEnvForThread The In-Out analyzer, finding variables read and/or written by procedures. includeDirs ^^^^^^^^^^^ .. java:field:: protected TapList includeDirs :outertype: TapEnvForThread -I include path. includeFileStack ^^^^^^^^^^^^^^^^ .. java:field:: protected TapList includeFileStack :outertype: TapEnvForThread Stack of the currenly opened include files, i.e. the names of the include files we are currently in. includeFiles ^^^^^^^^^^^^ .. java:field:: public TapList includeFiles :outertype: TapEnvForThread inlinedFunctions ^^^^^^^^^^^^^^^^ .. java:field:: public InlinedFunctions inlinedFunctions :outertype: TapEnvForThread List of inlinedFunctions (cf libraries/GeneralLibReader). inputLanguage ^^^^^^^^^^^^^ .. java:field:: public int inputLanguage :outertype: TapEnvForThread integerSize ^^^^^^^^^^^ .. java:field:: public int integerSize :outertype: TapEnvForThread Size of an integer for this system. languages ^^^^^^^^^ .. java:field:: protected final int[] languages :outertype: TapEnvForThread [FortranDialect, C, CPP]. mergeDiffInstructions ^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean mergeDiffInstructions :outertype: TapEnvForThread When true, diff instructions are merged when profitable. mixedLangInfos ^^^^^^^^^^^^^^ .. java:field:: protected TapList mixedLangInfos :outertype: TapEnvForThread multiDirDiffMode ^^^^^^^^^^^^^^^^ .. java:field:: public boolean multiDirDiffMode :outertype: TapEnvForThread True if the coming differentiation will be multi-directional. multiFuncSuffix ^^^^^^^^^^^^^^^ .. java:field:: public String multiFuncSuffix :outertype: TapEnvForThread The additional suffix for "multi-directional" diff modes. multithreadAnalyzer ^^^^^^^^^^^^^^^^^^^ .. java:field:: protected MultithreadAnalyzer multithreadAnalyzer :outertype: TapEnvForThread The OpenMP clauses analyzer, finding the OpenMP status of variables (shared, private...) mustAdjoint ^^^^^^^^^^^ .. java:field:: public boolean mustAdjoint :outertype: TapEnvForThread True if the coming differentiation will feature some adjoint diff. mustContext ^^^^^^^^^^^ .. java:field:: public boolean mustContext :outertype: TapEnvForThread When true, code outside the differentiation root is also regenerated, to prepare the context to call the diff code. mustTangent ^^^^^^^^^^^ .. java:field:: public boolean mustTangent :outertype: TapEnvForThread True if the coming differentiation will feature some tangent diff. newSHdisambiguator ^^^^^^^^^^^^^^^^^^ .. java:field:: public int newSHdisambiguator :outertype: TapEnvForThread This integer will be incremented each time we create a new temporary symbol (tmp, arg, result, dumm, dummyarraydiff...) and then attached to the new symbol name to make it unique so that it can be recognized, e.g. with sed. nextCodeTag ^^^^^^^^^^^ .. java:field:: protected int nextCodeTag :outertype: TapEnvForThread Used for source-code correspondence. nextMessageTag ^^^^^^^^^^^^^^ .. java:field:: protected int nextMessageTag :outertype: TapEnvForThread nextNewLabel ^^^^^^^^^^^^ .. java:field:: public int nextNewLabel :outertype: TapEnvForThread Used in treeGen. nextSourceMsgTag ^^^^^^^^^^^^^^^^ .. java:field:: protected int nextSourceMsgTag :outertype: TapEnvForThread Used for source-message correspondence. nextSourceTag ^^^^^^^^^^^^^ .. java:field:: protected int nextSourceTag :outertype: TapEnvForThread noComment ^^^^^^^^^ .. java:field:: public boolean noComment :outertype: TapEnvForThread About handling of comments by the preprocessors (e.g. cpp, fpp...) Default false implies preprocessor called with "-C", thus keeping comments. noisize ^^^^^^^ .. java:field:: public boolean noisize :outertype: TapEnvForThread In the differentiated code, do not create "ISIZEOF" constants that the user must then define, but rather use the Fortran90 dynamic SIZE() function. noisize77 ^^^^^^^^^ .. java:field:: public boolean noisize77 :outertype: TapEnvForThread Like noisize, but use the dynamic SIZE() function even when not in Fortran90. numberPushPops ^^^^^^^^^^^^^^ .. java:field:: public boolean numberPushPops :outertype: TapEnvForThread When true, place a common numeric mark on matching Push/POP's. oldContext ^^^^^^^^^^ .. java:field:: public boolean oldContext :outertype: TapEnvForThread TEMPORARY: Option to run the old context system (before option "-context" existed), that adds memory allocation and pointer computations of the adjoint variables into the copied "_CD" and "_CB" procedures. optionsString ^^^^^^^^^^^^^ .. java:field:: public String optionsString :outertype: TapEnvForThread Summarizes all extra options selected for this Tapenade run. outputDirectory ^^^^^^^^^^^^^^^ .. java:field:: public String outputDirectory :outertype: TapEnvForThread The directory where to put all generated files. outputLanguage ^^^^^^^^^^^^^^ .. java:field:: public int outputLanguage :outertype: TapEnvForThread outputStreamStack ^^^^^^^^^^^^^^^^^ .. java:field:: public TapList outputStreamStack :outertype: TapEnvForThread parserFileSeparator ^^^^^^^^^^^^^^^^^^^ .. java:field:: public String parserFileSeparator :outertype: TapEnvForThread pointerAnalyzer ^^^^^^^^^^^^^^^ .. java:field:: protected PointerAnalyzer pointerAnalyzer :outertype: TapEnvForThread The pointer destination anlayzer (points-to analysis). pointerSize ^^^^^^^^^^^ .. java:field:: public int pointerSize :outertype: TapEnvForThread Size of a pointer for this system. preprocessFileSuffix ^^^^^^^^^^^^^^^^^^^^ .. java:field:: public String preprocessFileSuffix :outertype: TapEnvForThread The suffix used to build the names of preprocessed/non-differentiated files. profile ^^^^^^^ .. java:field:: public boolean profile :outertype: TapEnvForThread When true, instrument the diff code with profiling instructions. pushPopNumber ^^^^^^^^^^^^^ .. java:field:: public int pushPopNumber :outertype: TapEnvForThread realSize ^^^^^^^^ .. java:field:: public int realSize :outertype: TapEnvForThread Size of a float for this system. refineADMM ^^^^^^^^^^ .. java:field:: public boolean refineADMM :outertype: TapEnvForThread When true, refine application of the ADMM mechanism i.e. Register/Unregister/Rebase by restricting it to those that really need it (according to a static data-flow analysis). a) Only Rebase pointers that may point to chunks that may be reallocated b) Only Register/Unregister chunks that may be pointed to by TBR pointers. relatedArrow ^^^^^^^^^^^^ .. java:field:: protected CallArrow relatedArrow :outertype: TapEnvForThread For dumpUnit. relatedLanguage ^^^^^^^^^^^^^^^ .. java:field:: protected int relatedLanguage :outertype: TapEnvForThread relatedUnit ^^^^^^^^^^^ .. java:field:: protected Unit relatedUnit :outertype: TapEnvForThread The "current" Unit, used to attach all messages emitted, and also to know the particular programming language, sometimes incurring limitations. relatedUnits ^^^^^^^^^^^^ .. java:field:: protected TapList relatedUnits :outertype: TapEnvForThread removeDeadControl ^^^^^^^^^^^^^^^^^ .. java:field:: public boolean removeDeadControl :outertype: TapEnvForThread When true, original control instructions that are eventually\ not needed for derivatives are sliced away. removeDeadPrimal ^^^^^^^^^^^^^^^^ .. java:field:: public boolean removeDeadPrimal :outertype: TapEnvForThread When true, primal code that is eventually not needed for derivatives is sliced away. reqExplicitAnalyzer ^^^^^^^^^^^^^^^^^^^ .. java:field:: protected ReqExplicit reqExplicitAnalyzer :outertype: TapEnvForThread The pointer activity analyzer, finds pointers for which a derivative must be defined. Also finds allocations, de-allocations, and pointer operations that must be transposed for the derivative counterpart. resultRK ^^^^^^^^ .. java:field:: protected int resultRK :outertype: TapEnvForThread Used during instruction splitting: Static ints to increment the number at the end of the intermediate var names such as "result", "arg". rootDirectoryPath ^^^^^^^^^^^^^^^^^ .. java:field:: protected Path rootDirectoryPath :outertype: TapEnvForThread The root directory of the parsed files. seenSymbolTables ^^^^^^^^^^^^^^^^ .. java:field:: public TapList> seenSymbolTables :outertype: TapEnvForThread A-List of SymbolTables already shown on dump. A-List of TapPair's (SymbolTable,String to refer to it). spareDiffReinitializations ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected boolean spareDiffReinitializations :outertype: TapEnvForThread When true, reinitialization of derivative of passive variables is postponed. spareNoDiffArgs ^^^^^^^^^^^^^^^ .. java:field:: public boolean spareNoDiffArgs :outertype: TapEnvForThread When true, non-active procedure arguments are not differentiated. splitDiffExpressions ^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean splitDiffExpressions :outertype: TapEnvForThread When true, diff expressions are split to eliminate common subexpressions. srcUnitsToTraceInTreeGen ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public TapList srcUnitsToTraceInTreeGen :outertype: TapEnvForThread List of the source Units requiring detailed trace messages during tree regeneration. standaloneDiff ^^^^^^^^^^^^^^ .. java:field:: public boolean standaloneDiff :outertype: TapEnvForThread When true, the differentiated code incorporates enough of the primal code to be standalone. staticTape ^^^^^^^^^^ .. java:field:: public boolean staticTape :outertype: TapEnvForThread When true, try to use local static storage when possible instead of PUSH/POP. stdLibraryDirectory ^^^^^^^^^^^^^^^^^^^ .. java:field:: public String stdLibraryDirectory :outertype: TapEnvForThread The directory where to find the Library specification files. stripDiffTypes ^^^^^^^^^^^^^^ .. java:field:: public boolean stripDiffTypes :outertype: TapEnvForThread When true, differentiated types are simplified by stripping passive components. stripPrimalCode ^^^^^^^^^^^^^^^ .. java:field:: public boolean stripPrimalCode :outertype: TapEnvForThread When true, useless primal code (procedures...) is stripped from differentiated files. stripPrimalEvenIfImportsActive ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean stripPrimalEvenIfImportsActive :outertype: TapEnvForThread (Requested by one user, but dangerous) When true, the fact that a unit IMPORTS an active module is not a sufficient reason to keep its primal version in the diff code (as a _NODIFF unit). stripPrimalModules ^^^^^^^^^^^^^^^^^^ .. java:field:: public boolean stripPrimalModules :outertype: TapEnvForThread When false, all modules are differentiated (previous default, for compatibility and test) when true, only active modules are differentiated. suffixF90 ^^^^^^^^^ .. java:field:: public String suffixF90 :outertype: TapEnvForThread .f90, .f95 or .f03. traceADDeps ^^^^^^^^^^^ .. java:field:: public TapList traceADDeps :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during ADDeps analysis. traceActivity ^^^^^^^^^^^^^ .. java:field:: public TapList traceActivity :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during Activity analysis. traceBlockRk ^^^^^^^^^^^^ .. java:field:: public int traceBlockRk :outertype: TapEnvForThread Rank of one Block in the selected Unit, on which traces should focus. traceCallArrowDestinationName ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public String traceCallArrowDestinationName :outertype: TapEnvForThread Name of the destination Unit of CallArrow's on which traces should focus. traceCallArrowOriginName ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public String traceCallArrowOriginName :outertype: TapEnvForThread Name of the origin Unit of CallArrow's on which traces should focus. traceCurAnalysis ^^^^^^^^^^^^^^^^ .. java:field:: public boolean traceCurAnalysis :outertype: TapEnvForThread When true, we trace analysis on-the-fly on the curUnit. traceDeps ^^^^^^^^^ .. java:field:: public TapList traceDeps :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during Deps analysis. traceDiffLiveness ^^^^^^^^^^^^^^^^^ .. java:field:: public TapList traceDiffLiveness :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during DiffLiveness analysis. traceDifferentiationUnitNames ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public TapList traceDifferentiationUnitNames :outertype: TapEnvForThread List of names of Unit's of Units requiring detailed trace messages during differentiation. traceFlowGraphBuild ^^^^^^^^^^^^^^^^^^^ .. java:field:: public TapList traceFlowGraphBuild :outertype: TapEnvForThread Names of Unit's for which we require detailed trace messages during FlowGraph building. traceInOut ^^^^^^^^^^ .. java:field:: public TapList traceInOut :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during In-Out analysis. traceIndent ^^^^^^^^^^^ .. java:field:: protected int traceIndent :outertype: TapEnvForThread The current amount of indentation. traceInline ^^^^^^^^^^^ .. java:field:: public TapList traceInline :outertype: TapEnvForThread Names of Unit's for which we require detailed trace messages during inlining. traceInlineAnalysis ^^^^^^^^^^^^^^^^^^^ .. java:field:: protected boolean traceInlineAnalysis :outertype: TapEnvForThread True when we want to trace inline analysis on-the-fly on the current Unit. traceInputIL ^^^^^^^^^^^^ .. java:field:: public boolean traceInputIL :outertype: TapEnvForThread When true, the tree operators coming from the input IL will be shown. traceMultithread ^^^^^^^^^^^^^^^^ .. java:field:: public TapList traceMultithread :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during Multithread analysis. traceOutputStream ^^^^^^^^^^^^^^^^^ .. java:field:: public final OutputStream traceOutputStream :outertype: TapEnvForThread The OutputStream for traces (milestones, differentiation debug traces...). traceParser ^^^^^^^^^^^ .. java:field:: public boolean traceParser :outertype: TapEnvForThread When true, Tapenade prints the system command(s) used to parse the input files into IL. tracePointer ^^^^^^^^^^^^ .. java:field:: public TapList tracePointer :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during Pointer analysis. traceReqExplicit ^^^^^^^^^^^^^^^^ .. java:field:: public TapList traceReqExplicit :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during ReqExplicit analysis. traceTBR ^^^^^^^^ .. java:field:: public TapList traceTBR :outertype: TapEnvForThread List of names of Unit's requiring detailed trace messages during TBR analysis. traceTreeGenUnitNames ^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public TapList traceTreeGenUnitNames :outertype: TapEnvForThread List of names of Unit's of Units requiring detailed trace messages during tree regeneration. traceTypeCheck ^^^^^^^^^^^^^^ .. java:field:: public TapList traceTypeCheck :outertype: TapEnvForThread Names of Unit's for which we require detailed trace messages during typecheck. traceTypeCheckAnalysis ^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected boolean traceTypeCheckAnalysis :outertype: TapEnvForThread True when we want to trace typeCheck analysis on-the-fly on the current Unit. tracedInlineUnits ^^^^^^^^^^^^^^^^^ .. java:field:: public TapList tracedInlineUnits :outertype: TapEnvForThread Unit's for which we require detailed trace messages during inline. tracedTypeCheckUnits ^^^^^^^^^^^^^^^^^^^^ .. java:field:: protected TapList tracedTypeCheckUnits :outertype: TapEnvForThread Unit's for which we require detailed trace messages during typecheck. useSharpInclude ^^^^^^^^^^^^^^^ .. java:field:: public boolean useSharpInclude :outertype: TapEnvForThread When true, prefer generate #include instead of Fortran include usedLabels ^^^^^^^^^^ .. java:field:: public TapList usedLabels :outertype: TapEnvForThread For a unit, list of all labels. valid ^^^^^ .. java:field:: protected boolean valid :outertype: TapEnvForThread True if the coming tangent diff will include estimation of the differentiability interval. Constructors ------------ TapEnvForThread ^^^^^^^^^^^^^^^ .. java:constructor:: protected TapEnvForThread() :outertype: TapEnvForThread Methods ------- emitMessage ^^^^^^^^^^^ .. java:method:: public final synchronized void emitMessage(int position, Tree tree, String message, int inverseSeverity) :outertype: TapEnvForThread flushOutputStream ^^^^^^^^^^^^^^^^^ .. java:method:: public final synchronized void flushOutputStream() :outertype: TapEnvForThread Flush the current OutputStream for all Strings printed and all messages emitted through this TapEnv. origCallGraph ^^^^^^^^^^^^^ .. java:method:: public CallGraph origCallGraph() :outertype: TapEnvForThread When differentiating, holds the CallGraph of the original, non differentiated code. parserError ^^^^^^^^^^^ .. java:method:: public final void parserError(String message) :outertype: TapEnvForThread restoreIncludeManager ^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void restoreIncludeManager() :outertype: TapEnvForThread saveAndResetIncludeManager ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void saveAndResetIncludeManager() :outertype: TapEnvForThread setOrigCallGraph ^^^^^^^^^^^^^^^^ .. java:method:: public void setOrigCallGraph(CallGraph cg) :outertype: TapEnvForThread