Merge branch 'main' of github.com:cfarm6/Hyperelastics.jl #142
Annotations
3 errors
../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L44
failed to run `@example` block in src/example.md:51-55
```@example 1
prob = HyperelasticProblem(ψ, treloar_data, ComponentVector(μ = 0.2), ad_type = AutoForwardDiff())
sol = solve(prob, LBFGS())
return sol # hide
```
exception =
MethodError: no method matching (SciMLBase.OptimizationFunction{true})(::HyperelasticsOptimizationExt.var"#f#3", ::AutoForwardDiff{nothing, Nothing})
Closest candidates are:
(SciMLBase.OptimizationFunction{iip})(::Any; ...) where iip
@ SciMLBase ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3583
(SciMLBase.OptimizationFunction{iip})(::Any, !Matched::SciMLBase.AbstractADType; grad, hess, hv, cons, cons_j, cons_h, lag_h, hess_prototype, cons_jac_prototype, cons_hess_prototype, lag_hess_prototype, syms, paramsyms, observed, hess_colorvec, cons_jac_colorvec, cons_hess_colorvec, lag_hess_colorvec, expr, cons_expr, sys) where iip
@ SciMLBase ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3583
Stacktrace:
[1] SciMLBase.OptimizationFunction(::Function, ::Vararg{Any}; kwargs::@kwargs{})
@ SciMLBase ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3581
[2] OptimizationFunction
@ ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3581 [inlined]
[3] HyperelasticProblem(ψ::NeoHookean{PrincipalValueForm}, test::HyperelasticUniaxialTest{Float64, Float64}, u0::ComponentArrays.ComponentVector{Float64, Vector{Float64}, Tuple{ComponentArrays.Axis{(μ = 1,)}}}; ad_type::AutoForwardDiff{nothing, Nothing}, loss::LossFunctions.L2DistLoss, lb::Nothing, ub::Nothing, int::Nothing, lcons::Nothing, ucons::Nothing, sense::Nothing, kwargs::@kwargs{})
@ HyperelasticsOptimizationExt ~/work/Hyperelastics.jl/Hyperelastics.jl/ext/HyperelasticsOptimizationExt.jl:65
[4] top-level scope
@ example.md:52
[5] eval
@ ./boot.jl:385 [inlined]
[6] #58
@ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined]
[7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753
[9] (::IOCapture.var"#3#5"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119
[10] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[11] with_logger
@ ./logging.jl:627 [inlined]
[12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool)
@ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116
[13] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
|
../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L44
failed to run `@example` block in src/example.md:59-74
```@example 1
models = Dict(
Gent => ComponentVector(μ=240e-3, Jₘ=80.0),
EdwardVilgis => ComponentVector(Ns=0.10, Nc=0.20, α=0.001, η=0.001),
NeoHookean => ComponentVector(μ=200e-3),
NonaffineMicroSphere => ComponentVector(μ=0.292, N=22.5, p=1.471, U=0.744, q=0.1086),
Beda => ComponentVector(C1=0.1237, C2=0.0424, C3=7.84e-5, K1=0.0168, α=0.9, β=0.68, ζ=3.015)
)
sol = Dict{Any, SciMLSolution}()
for (ψ, p₀) in models
HEProblem = HyperelasticProblem(ψ(), treloar_data, p₀, ad_type = AutoForwardDiff())
sol[ψ] = solve(HEProblem, NelderMead())
end
return sol # hide
```
exception =
MethodError: no method matching (SciMLBase.OptimizationFunction{true})(::HyperelasticsOptimizationExt.var"#f#3", ::AutoForwardDiff{nothing, Nothing})
Closest candidates are:
(SciMLBase.OptimizationFunction{iip})(::Any; ...) where iip
@ SciMLBase ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3583
(SciMLBase.OptimizationFunction{iip})(::Any, !Matched::SciMLBase.AbstractADType; grad, hess, hv, cons, cons_j, cons_h, lag_h, hess_prototype, cons_jac_prototype, cons_hess_prototype, lag_hess_prototype, syms, paramsyms, observed, hess_colorvec, cons_jac_colorvec, cons_hess_colorvec, lag_hess_colorvec, expr, cons_expr, sys) where iip
@ SciMLBase ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3583
Stacktrace:
[1] SciMLBase.OptimizationFunction(::Function, ::Vararg{Any}; kwargs::@kwargs{})
@ SciMLBase ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3581
[2] OptimizationFunction
@ ~/.julia/packages/SciMLBase/QqtZA/src/scimlfunctions.jl:3581 [inlined]
[3] HyperelasticProblem(ψ::EdwardVilgis{PrincipalValueForm}, test::HyperelasticUniaxialTest{Float64, Float64}, u0::ComponentArrays.ComponentVector{Float64, Vector{Float64}, Tuple{ComponentArrays.Axis{(Ns = 1, Nc = 2, α = 3, η = 4)}}}; ad_type::AutoForwardDiff{nothing, Nothing}, loss::LossFunctions.L2DistLoss, lb::@NamedTuple{Ns::Float64, Nc::Float64, α::Float64, η::Float64}, ub::@NamedTuple{Ns::Float64, Nc::Float64, α::Float64, η::Float64}, int::Nothing, lcons::Nothing, ucons::Nothing, sense::Nothing, kwargs::@kwargs{})
@ HyperelasticsOptimizationExt ~/work/Hyperelastics.jl/Hyperelastics.jl/ext/HyperelasticsOptimizationExt.jl:65
[4] top-level scope
@ ./example.md:70
[5] eval
@ ./boot.jl:385 [inlined]
[6] #58
@ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined]
[7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753
[9] (::IOCapture.var"#3#5"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119
[10] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[11] with_logger
@ ./logging.jl:627 [inlined]
[12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool)
@ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116
[13] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
|
|
The logs for this run have expired and are no longer available.
Loading