Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKryslUCSD committed Mar 7, 2021
1 parent 627d963 commit a8c13a4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 27 deletions.
8 changes: 2 additions & 6 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -255,18 +255,14 @@ uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
[[MeshCore]]
deps = ["StaticArrays", "Test"]
git-tree-sha1 = "1e9690c654142a312c7208dad3f373fb177702ed"
repo-rev = "master"
repo-url = "https://github.com/PetrKryslUCSD/MeshCore.jl.git"
uuid = "43a99bba-f459-4d0e-8139-f3df11d847d4"
version = "1.1.0"

[[MeshSteward]]
deps = ["DelimitedFiles", "LinearAlgebra", "MeshCore", "Revise", "SparseArrays", "StaticArrays", "Statistics", "SymRCM", "Test", "WriteVTK"]
git-tree-sha1 = "270adddfda6bf5777239fc74aeaafea9e444e634"
repo-rev = "master"
repo-url = "https://github.com/PetrKryslUCSD/MeshSteward.jl.git"
git-tree-sha1 = "ce6475d6b2d405744f0a85343bc07adfde30bb41"
uuid = "ffa89bc3-d1bd-4aea-b9f7-e9902d9f56ab"
version = "1.1.0"
version = "1.1.3"

[[Missings]]
deps = ["DataAPI"]
Expand Down
9 changes: 6 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Elfel"
uuid = "9ca883c9-bd92-40d2-857a-2c75d8956e5d"
authors = ["Petr Krysl <[email protected]>"]
version = "0.5.0"
version = "0.6.0"

[deps]
Blink = "ad839575-38b3-5650-b840-f874b8c74a25"
Expand All @@ -18,8 +18,11 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"

[compat]
MeshCore = "^1.0"
MeshSteward = "^1.0"
Blink = "^0.12"
Literate = "^2.8"
MeshSteward = "^1.1"
PlotlyJS = "^0.14"
StaticArrays = "^0.12, 1"
SymRCM = "^0.2"
UnicodePlots = "^1.3"
julia = "^1.6"
26 changes: 8 additions & 18 deletions examples/heat/poisson/q4.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,18 @@ heat source. Quadrilateral four-node elements are used.
module q4

using LinearAlgebra
using MeshCore: nrelations, nentities, attribute, @_check
using MeshSteward: Q4block
using MeshSteward: Mesh, attach!, baseincrel, boundary
using MeshSteward: connectedv, geometry
using MeshSteward: vtkwrite
using Elfel.RefShapes: RefShapeTriangle, manifdim, manifdimv
using Elfel.FElements: FEH1_Q4, refshape, Jacobian
using Elfel.FESpaces: FESpace, ndofs, setebc!, nunknowns, doftype
using Elfel.FESpaces: numberfreedofs!, numberdatadofs!
using Elfel.FESpaces: scattersysvec!, makeattribute, gathersysvec!
using Elfel.FEIterators: FEIterator, ndofsperel, elnodes, eldofs
using Elfel.FEIterators: jacjac
using Elfel.QPIterators: QPIterator, bfun, bfungradpar, bfungrad, weight
using Elfel.Assemblers: SysmatAssemblerSparse, start!, finish!, assemble!
using Elfel.Assemblers: SysvecAssembler
using Elfel.LocalAssemblers: LocalMatrixAssembler, LocalVectorAssembler, init!
using SparseArrays
using MeshCore.Exports
using MeshCore: @_check
using MeshSteward.Exports
using Elfel.Exports
using UnicodePlots

A = 1.0 # length of the side of the square
kappa = 1.0; # conductivity matrix
Q = -6.0; # internal heat generation rate
tempf(x, y) =(1.0 + x^2 + 2.0 * y^2);#the exact distribution of temperature
N = 2000;# number of subdivisions along the sides of the square domain
N = 1000;# number of subdivisions along the sides of the square domain

function genmesh()
conn = Q4block(A, A, N, N)
Expand Down Expand Up @@ -114,5 +104,5 @@ end

end

q4.run()
@time q4.run()
# q4.run()

0 comments on commit a8c13a4

Please sign in to comment.