Objectives

Cthonios.ObjectiveType
struct 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.

source
Cthonios.ObjectiveParametersType
struct 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.

source
Cthonios.ObjectiveParametersMethod
ObjectiveParameters(
    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.

source
Cthonios.hvp!Method
hvp!(
    Hv::AbstractVector,
    o::Objective,
    Uu,
    p::ObjectiveParameters,
    Vv
) -> Any
source
Cthonios.hvp!Method
hvp!(
    Hv::NodalField,
    o::Objective,
    Uu,
    p::ObjectiveParameters,
    Vv
) -> Any
source