|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
Abstract residual class. More...
#include <scalar_objective.hpp>
Public Member Functions | |
| ScalarObjective (const std::string &name) | |
| base constructor takes the name of the physics | |
| virtual | ~ScalarObjective () |
| destructor | |
| virtual double | evaluate (TimeInfo time_info, ConstFieldPtr shape_disp, const std::vector< ConstFieldPtr > &fields) const =0 |
| Virtual interface for computing the scale value for the objective/constrant, given a vector of smith::FiniteElementState*. More... | |
| virtual mfem::Vector | gradient (TimeInfo time_info, ConstFieldPtr shape_disp, const std::vector< ConstFieldPtr > &fields, size_t field_ordinal) const =0 |
| Virtual interface for computing objective gradient from a vector of smith::FiniteElementState*. More... | |
| virtual mfem::Vector | gradient (TimeInfo time_info, ConstFieldPtr shape_disp, const std::vector< ConstFieldPtr > &fields, int field_ordinal) const |
| Compute objective gradient from a vector of FiniteElementState*, using int for index. More... | |
| virtual mfem::Vector | mesh_coordinate_gradient (TimeInfo time_info, ConstFieldPtr shape_disp, const std::vector< ConstFieldPtr > &fields) const =0 |
| Virtual interface for computing objective gradient with respect to the mesh coordinates. More... | |
| std::string | name () const |
| name | |
Abstract residual class.
Definition at line 28 of file scalar_objective.hpp.
|
pure virtual |
Virtual interface for computing the scale value for the objective/constrant, given a vector of smith::FiniteElementState*.
| time_info | time and timestep information |
| shape_disp | shape displacement |
| fields | inputs to residual operator |
Implemented in smith::FunctionalObjective< spatial_dim, Parameters< InputSpaces... >, std::integer_sequence< int, parameter_indices... > >.
|
inlinevirtual |
Compute objective gradient from a vector of FiniteElementState*, using int for index.
| time_info | time and timestep information |
| shape_disp | shape displacement |
| fields | inputs to residual operator |
| field_ordinal | index for which field to take the gradient with respect to |
Definition at line 66 of file scalar_objective.hpp.
|
pure virtual |
Virtual interface for computing objective gradient from a vector of smith::FiniteElementState*.
| time_info | time and timestep information |
| shape_disp | shape displacement |
| fields | inputs to residual operator |
| field_ordinal | index for which field to take the gradient with respect to |
Implemented in smith::FunctionalObjective< spatial_dim, Parameters< InputSpaces... >, std::integer_sequence< int, parameter_indices... > >.
|
pure virtual |
Virtual interface for computing objective gradient with respect to the mesh coordinates.
| time_info | time and timestep information |
| shape_disp | shape displacement |
| fields | inputs to residual operator |
Implemented in smith::FunctionalObjective< spatial_dim, Parameters< InputSpaces... >, std::integer_sequence< int, parameter_indices... > >.