|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
Implementation of the DifferentiableSolver interface for the special case of nonlinear solves with linear adjoint solves. More...
#include <differentiable_solver.hpp>

Public Member Functions | |
| NonlinearDifferentiableSolver (std::unique_ptr< EquationSolver > s) | |
| Consruct from a smith nonlinear EquationSolver. | |
| void | completeSetup (const smith::FiniteElementState &u) override |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| std::shared_ptr< smith::FiniteElementState > | solve (const smith::FiniteElementState &u_guess, std::function< mfem::Vector(const smith::FiniteElementState &)> equation, std::function< std::unique_ptr< mfem::HypreParMatrix >(const smith::FiniteElementState &)> jacobian) const override |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| std::shared_ptr< smith::FiniteElementState > | solveAdjoint (const smith::FiniteElementDual &u_bar, std::unique_ptr< mfem::HypreParMatrix > jacobian_transposed) const override |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| void | clearMemory () const override |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
Public Member Functions inherited from smith::DifferentiableSolver | |
| virtual | ~DifferentiableSolver () |
| destructor | |
Public Attributes | |
| std::unique_ptr< mfem::HypreParMatrix > | J_ |
| stored linearized Jacobian matrix for memory reuse | |
| std::unique_ptr< EquationSolver > | nonlinear_solver_ |
| the nonlinear equation solver used for the forward pass | |
Implementation of the DifferentiableSolver interface for the special case of nonlinear solves with linear adjoint solves.
Definition at line 91 of file differentiable_solver.hpp.