Wildmeshing Toolkit
Loading...
Searching...
No Matches
AutoDiffRAII.cpp
Go to the documentation of this file.
1#include "AutoDiffRAII.hpp"
2#include "autodiff.h"
3
4namespace wmtk::function::utils {
6 : m_previous_variable_count(DiffScalarBase::getVariableCount())
7{
9}
14} // namespace wmtk::function::utils
Base class of all automatic differentiation types.
Definition autodiff.h:44
static void setVariableCount(size_t value)
Set the independent variable count used by the automatic differentiation layer.
Definition autodiff.h:57