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 "smith/differentiable_numerics/dirichlet_boundary_conditions.hpp"
#include "smith/physics/common.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

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 NonlinearBlockSolverBase *solver, const std::vector< const BoundaryConditionManager * > &bc_managers)
 Solve a block nonlinear system of equations as defined by the vector of weak form. More...
 
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 NonlinearBlockSolverBase &solver, const DirichletBoundaryConditions &bcs, size_t unknown_state_index=0)
 Solve a single nonlinear system of equations as defined by one weak form. More...
 
FieldState smith::solve ([[maybe_unused]] const FieldState &initial_guess, const FieldState &shape_disp, const std::vector< FieldState > &weak_form_inputs, const TimeInfo &time_info, const WeakForm &residual_eval, const NonlinearBlockSolverBase &solver, const DirichletBoundaryConditions &bcs, size_t unknown_state_index=0)
 Backward-compatible overload that accepts but ignores an explicit initial guess.
 

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.