Skip to content

Commit

Permalink
update pkg name
Browse files Browse the repository at this point in the history
  • Loading branch information
lamBOOO committed Oct 14, 2024
1 parent c60156c commit 8eec932
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "GFluxx"
name = "GenMatFlow"
uuid = "36728288-a4f7-4519-b5c4-8e73b1bcd050"
authors = ["Lambert Theisen <lambert.theisen@rwth-aachen.de>"]
version = "0.1.0"
Expand Down
6 changes: 3 additions & 3 deletions examples/run.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using GFluxx
using GenMatFlow
using LineSearches: BackTracking, StrongWolfe


Expand All @@ -8,7 +8,7 @@ basak_uniform = (;T_diri_tags=["botline", "leftline", "rightline", "botleftpoint
basak_wave = (;T_diri_tags=["botline", "leftline", "rightline", "botleftpoint", "botrightpoint"], T_diri_expressions=[wave,0.0,0.0,0.0,0.0])
turan = (;T_diri_tags=["leftline", "rightline", "botleftpoint", "botrightpoint", "topleftpoint", "toprightpoint"], T_diri_expressions=[0.0,1.0,0.0,1.0,0.0,1.0])

# out = GFluxx.simulate(Pr=0.7, Ra=1E3, n=1.0, 50, linesearch=BackTracking(), levels=(;T=[0.1*i for i=1:10],psi=([0.01,0.05,0.1,0.15] |> x->vcat(x,-x))); turan...)
# out = GenMatFlow.simulate(Pr=0.7, Ra=1E3, n=1.0, 50, linesearch=BackTracking(), levels=(;T=[0.1*i for i=1:10],psi=([0.01,0.05,0.1,0.15] |> x->vcat(x,-x))); turan...)

n_elems1 = 20
cases=
Expand All @@ -27,6 +27,6 @@ cases=

outs = []
for case in cases
out = GFluxx.simulate(Pr=case[1], Ra=case[2], n=case[3], n_elems=case[4], linesearch=case[5], levels=case[6]; case[7]...)
out = GenMatFlow.simulate(Pr=case[1], Ra=case[2], n=case[3], n_elems=case[4], linesearch=case[5], levels=case[6]; case[7]...)
push!(outs, out)
end
4 changes: 2 additions & 2 deletions examples/simple.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using GFluxx
using GenMatFlow
using LineSearches: BackTracking
using Gridap

out = GFluxx.simulate(
out = GenMatFlow.simulate(
name="simple",
Pr=0.7,
Ra=1E3,
Expand Down
4 changes: 2 additions & 2 deletions examples/validation-basak/basak.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using GFluxx
using GenMatFlow
using LineSearches: BackTracking, StrongWolfe, Static, HagerZhang, MoreThuente
using Makie
using Gridap
Expand Down Expand Up @@ -50,7 +50,7 @@ cases =
# Run cases
outs = []
for (i,case) in enumerate(cases)
out = GFluxx.simulate(name="$i", Pr=case[1], Ra=case[2], n=case[3], n_elems=case[4], nlsolver_opts=case[5], levels=case[6]; case[7]...)
out = GenMatFlow.simulate(name="$i", Pr=case[1], Ra=case[2], n=case[3], n_elems=case[4], nlsolver_opts=case[5], levels=case[6]; case[7]...)
push!(outs, out)
end

Expand Down
4 changes: 2 additions & 2 deletions src/GFluxx.jl → src/GenMatFlow.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module GFluxx
module GenMatFlow

greet() = print("Hello World!")

include("Solver.jl")

end # module GFluxx
end # module GenMatFlow
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Test

using GFluxx
using GenMatFlow

@testset "Unit tests" begin
GFluxx.simulate()
GenMatFlow.simulate()
end

@testset "Test Examples" begin
Expand Down

0 comments on commit 8eec932

Please sign in to comment.