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

Reaction class which is a names combination of a weak form and a set of dirichlet constrained nodes. More...

#include <string>
#include "smith/physics/weak_form.hpp"
#include "smith/differentiable_numerics/field_state.hpp"
#include "smith/differentiable_numerics/dirichlet_boundary_conditions.hpp"
Include dependency graph for reaction.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

auto smith::evaluateWeakForm (const std::shared_ptr< WeakForm > &weak_form, const TimeInfo &time_info, FieldState shape_disp, const std::vector< FieldState > &field_states, FieldState field_for_residual_space)
 gretl-function implementation which evaluates the residual force (which is minus the mechanical force) given shape displacement, states and params. The field_for_residual_space Field is only used to set the appropriate size (mfem::ParFiniteElementSpace) for the residual field so it can be returned as a ReactionState
 

Detailed Description

Reaction class which is a names combination of a weak form and a set of dirichlet constrained nodes.

Definition in file reaction.hpp.