Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Namespaces | Functions
nonlinear_solve.hpp File Reference

Methods for solving systems of equations as given by WeakForms. Tracks these operations on the gretl graph with a custom vjp. More...

#include <vector>
#include "smith/differentiable_numerics/field_state.hpp"
Include dependency graph for nonlinear_solve.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 smith
 Accelerator functionality.
 

Functions

FieldState smith::solve (const WeakForm &residual_eval, const FieldState &shape_disp, const std::vector< FieldState > &states, const std::vector< FieldState > &params, const TimeInfo &time_info, const DifferentiableSolver &solver, const DirichletBoundaryConditions &bcs, size_t unknown_state_index=0)
 Solve a nonlinear system of equations as defined by the weak form, assuming that the field indexed by unknown_index is the unknown field. More...
 
std::vector< FieldState > smith::block_solve (const std::vector< WeakForm * > &residual_evals, const std::vector< std::vector< size_t >> block_indices, const FieldState &shape_disp, const std::vector< std::vector< FieldState >> &states, const std::vector< std::vector< FieldState >> &params, const TimeInfo &time_info, const DifferentiableBlockSolver *solver, const std::vector< const BoundaryConditionManager * > &bc_managers)
 Solve a block nonlinear system of equations as defined by the vector of weak form. More...
 

Detailed Description

Methods for solving systems of equations as given by WeakForms. Tracks these operations on the gretl graph with a custom vjp.

Definition in file nonlinear_solve.hpp.