Objectives
Cthonios.AbstractObjective
— Typeabstract type AbstractObjective
Abstract base objective type.
Cthonios.AbstractObjectiveParameters
— Typeabstract type AbstractObjectiveParameters
Abstract base type for objective function parameters.
Cthonios.Objective
— Typestruct Objective{D, F1, F2, F3, F4, F5, F6, T}
domain::Any
value::Any
gradient::Any
hessian::Any
neumann_value::Any
neumann_gradient::Any
neumann_hessian::Any
timer::Any
Objective type for evaluating objective functions. The functions correspond to quadrature level evaluations of the objective function, it's gradient, and it's hessian respectively. domain
- A domain object value
- A function for the quadrature level objective function evaluation. gradient
- A function for the quadrature level objective function gradient evaluation. hessian
- A function for the quadrature level objective hessian evaluation. timer
- A timer that's already setup.
Cthonios.ObjectiveParameters
— Typestruct ObjectiveParameters{U1, T, B, N, S, P, U2, U3, V1, U4, Q} <: Cthonios.AbstractObjectiveParameters
X::Any
t::Any
Ubc::Any
nbc::Any
state_old::Any
state_new::Any
props::Any
U::Any
grad_scratch::Any
grad_vec_scratch::Any
hvp_scratch::Any
q_vals_scratch::Any
Type for objective function parameters for design parameters such as coordinates, time, bc values, properties state variables, and some scratch arrays.
Cthonios.ObjectiveParameters
— MethodObjectiveParameters(
o::Objective,
times
) -> ObjectiveParameters{_A, _B, B, N} where {_A, _B, B<:(Vector), N<:(Vector{T} where T<:(SVector{_A, _B} where {_B, _A}))}
Constructor for a ObjectiveParameters
type. o
- Objective function object. times
- Times object.
Cthonios.gradient!
— Methodgradient!(g, o::Objective, Uu, p::ObjectiveParameters)
Cthonios.hessian!
— Methodhessian!(
asm::Assembler,
o::Objective,
Uu,
p::ObjectiveParameters
) -> Any
Cthonios.hvp!
— Methodhvp!(
Hv::AbstractVector,
o::Objective,
Uu,
p::ObjectiveParameters,
Vv
) -> Any
Cthonios.hvp!
— Methodhvp!(
Hv::NodalField,
o::Objective,
Uu,
p::ObjectiveParameters,
Vv
) -> Any
Cthonios.objective!
— Methodobjective!(
val,
o::Objective,
Uu,
p::ObjectiveParameters
) -> Any
Cthonios.step!
— Methodstep!(p::ObjectiveParameters)
Cthonios.update_dirichlet_vals!
— Methodupdate_dirichlet_vals!(p::ObjectiveParameters, o::Objective)
Cthonios.update_neumann_vals!
— Methodupdate_neumann_vals!(p::ObjectiveParameters, o::Objective)