Skip to content

Commit 28fdf42

Browse files
committed
Renames μ to μ0 in IdealMagnetic and Magnetic
Renames the permeability parameter "μ" to "μ0" in the `IdealMagnetic` and `Magnetic` constitutive models for clarity and consistency, indicating the vacuum permeability.
1 parent fc93175 commit 28fdf42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/TestConstitutiveModels/PhysicalModelTests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ end
595595

596596
modelMR = MooneyRivlin2D=3.0, μ1=1.0, μ2=2.0)
597597

598-
modelID = IdealMagnetic(μ=1.2566e-6, χe=0.0)
598+
modelID = IdealMagnetic(μ0=1.2566e-6, χe=0.0)
599599
Ψ, ∂Ψu, ∂Ψφ, ∂Ψuu, ∂Ψφu, ∂Ψφφ = modelID()
600600
K=Kinematics(Mechano,Solid)
601601
F, _, _ = get_Kinematics(K)
@@ -667,7 +667,7 @@ end
667667
∇φ = VectorValue(1.0, 2.0, 3.0)
668668
a=40e-3
669669
ra=Ref(a)
670-
modelID = Magnetic(μ=1.2566e-6, αr=ra ,χe=0.0)
670+
modelID = Magnetic(μ0=1.2566e-6, αr=ra ,χe=0.0)
671671
Ψ, ∂Ψφ, ∂Ψφφ = modelID()
672672

673673
Km=Kinematics(Magneto,Solid)
@@ -691,7 +691,7 @@ end
691691
∇φ = VectorValue(1.0, 2.0)
692692
a=40e-3
693693
ra=Ref(a)
694-
modelID = Magnetic(μ=1.2566e-6, αr=ra ,χe=0.0)
694+
modelID = Magnetic(μ0=1.2566e-6, αr=ra ,χe=0.0)
695695
Ψ, ∂Ψφ, ∂Ψφφ = modelID()
696696

697697
Km=Kinematics(Magneto,Solid)

0 commit comments

Comments
 (0)