Skip to content

Commit

Permalink
fix type of temperature field
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKryslUCSD committed Oct 10, 2023
1 parent 85cb7c6 commit e6591a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FEMMBaseModule.jl
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ function elemfieldfromintegpoints(
component::IT;
context...,
) where {FEMM<:AbstractFEMM, GFT<:Number, UFT<:Number, IT<:Integer}
dT = NodalField(zeros(FT, nnodes(geom), 1)) # zero difference in temperature
dT = NodalField(zeros(GFT, nnodes(geom), 1)) # zero difference in temperature
return elemfieldfromintegpoints(self, geom, u, dT, quantity, [component]; context...)
end

Expand All @@ -891,7 +891,7 @@ function elemfieldfromintegpoints(
component::AbstractVector{IT};
context...,
) where {FEMM<:AbstractFEMM, GFT<:Number, UFT<:Number, IT<:Integer}
dT = NodalField(zeros(FT, nnodes(geom), 1)) # zero difference in temperature
dT = NodalField(zeros(GFT, nnodes(geom), 1)) # zero difference in temperature
return elemfieldfromintegpoints(self, geom, u, dT, quantity, component; context...)
end

Expand Down

2 comments on commit e6591a0

@PetrKryslUCSD
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/93197

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v7.1.2 -m "<description of version>" e6591a01e85173765aa9e9feff4242a7e26aaa5b
git push origin v7.1.2

Please sign in to comment.