Used to register a statement for a Jacobian tape.
More...
#include <jacobianBaseReaderWriter.hpp>
|
| void | registerStatement (Identifier const &lhsIdentifier, Config::ArgumentSize const &nArgs, std::vector< Identifier > const &rhsIdentifiers, std::vector< Real > const &rhsJacobians, Identifier &lowestIndex, bool &isFirstIdentifier) |
| | Constructor.
|
| |
| virtual void | readFile (std::string const &name) |
| | This method uses the the fileName to reproduce a valid tape.
|
| |
|
virtual | ~TapeReaderInterface () |
| | Destructor.
|
| |
|
| CommonReaderWriterMethods () |
| | Constructor.
|
| |
|
| CommonReaderWriterMethods (std::string const &name) |
| | Constructor.
|
| |
|
std::string | modifyFileName (std::string const &suffix) |
| | Remove the file extension and replace it with a new suffix.
|
| |
| void | openFile (FILE *&fileHandle, std::string const &name, std::string const &mode) |
| |
|
|
std::vector< Identifier > | inputVariables |
| | Stores the restored input variables from the tape file.
|
| |
|
Identifier | largestIndex |
| | The largest index on the stored tape.
|
| |
|
size_t | nInputs |
| | Size of the input vector.
|
| |
|
size_t | nOutputs |
| | Size of the output vector.
|
| |
|
std::vector< Identifier > | outputVariables |
| | Stores the restored output variables from the tape file.
|
| |
|
Tape | tape |
| | The newly resorted tape.
|
| |
|
std::string | fileName |
| | The base file name provided by the user.
|
| |
| std::vector< Identifier > const & | getInputs () const & |
| | Used to get the restored inputs of the tape.
|
| |
| std::vector< Identifier > const & | getOutputs () const & |
| |
| Tape & | getTape () |
| | Used to get a reference to the restored tape.
|
| |
|
void | restoreIoBinary () |
| | Restore the IO for the binary readers.
|
| |
| void | restoreIoText () |
| | Constructor.
|
| |
|
void | updateUserIO (Identifier const &linearOffset) |
| | This method is used to remove any offset and to update the largest created index.
|
| |
template<typename T_Type>
struct codi::JacobianBaseTapeReader< T_Type >
Used to register a statement for a Jacobian tape.
- Template Parameters
-
| T_Type | The CoDiPack type of the tape that is to be restored. |
◆ registerStatement()
template<typename T_Type>
Constructor.
Used to register the currently read statement form the tape file onto the new tape.
The documentation for this struct was generated from the following file: