Skip to content

Commit 091206e

Browse files
committed
missing export, missing obj
1 parent bab5368 commit 091206e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Exports.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ end
8585
@publish PhysicalModels EvolutiveKinematics
8686
@publish PhysicalModels get_Kinematics
8787
@publish PhysicalModels getIsoInvariants
88-
88+
89+
@publish PhysicalModels Dissipation
8990
@publish PhysicalModels initializeStateVariables
9091
@publish PhysicalModels updateStateVariables!
9192

src/PhysicalModels/ThermoElectroMechanicalModels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ struct ThermoElectroMech_Bonet{T<:Thermo,E<:Electro,M<:Mechano} <: ThermoElectro
119119
function (obj::ThermoElectroMech_Bonet)(Λ::Float64=1.0; kwargs...)
120120
@unpack Cv,θr, α, κ, γv, γd = obj.thermo
121121
# Ψem, ∂Ψem∂F, ∂Ψem∂E, ∂Ψem∂FF, ∂Ψem∂EF, ∂Ψem∂EE = _getCoupling(obj.electro, obj.mechano, Λ)
122-
em = ElectroMechModel(electro, mechano)
122+
em = ElectroMechModel(obj.electro, obj.mechano)
123123
Ψem, ∂Ψem∂F, ∂Ψem∂E, ∂Ψem∂FF, ∂Ψem∂EF, ∂Ψem∂EE = em(;kwargs...)
124124
gd(δθ) = 1/(γd+1) * (((δθ+θr)/θr)^(γd+1) -1)
125125
∂gd(δθ) = (δθ+θr)^γd / θr^(γd+1)

0 commit comments

Comments
 (0)