Skip to content

Commit

Permalink
Refactor Li2019 using new block tools from GridapSolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 29, 2023
1 parent 2b08eb7 commit 7468175
Show file tree
Hide file tree
Showing 14 changed files with 421 additions and 637 deletions.
6 changes: 3 additions & 3 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ version = "1.3.1"

[[deps.Gridap]]
deps = ["AbstractTrees", "BSON", "BlockArrays", "Combinatorics", "DataStructures", "DocStringExtensions", "FastGaussQuadrature", "FileIO", "FillArrays", "ForwardDiff", "JLD2", "JSON", "LineSearches", "LinearAlgebra", "NLsolve", "NearestNeighbors", "PolynomialBases", "QuadGK", "Random", "SparseArrays", "SparseMatricesCSR", "StaticArrays", "Test", "WriteVTK"]
git-tree-sha1 = "0ff991a6beee6cbe9e0804ef3cb368cbe4ed83ab"
repo-rev = "master"
git-tree-sha1 = "a4addd88d18248675d4f593d83c2d4d4a024b782"
repo-rev = "bugfix-block-assembly"
repo-url = "https://github.com/gridap/Gridap.jl.git"
uuid = "56d4f2e9-7ea1-5844-9cf6-b9c51ca7ce8e"
version = "0.17.21"
Expand Down Expand Up @@ -418,7 +418,7 @@ version = "0.5.0"

[[deps.GridapSolvers]]
deps = ["AbstractTrees", "ArgParse", "BlockArrays", "FillArrays", "Gridap", "GridapDistributed", "GridapP4est", "GridapPETSc", "IterativeSolvers", "LinearAlgebra", "MPI", "P4est_wrapper", "PartitionedArrays", "Printf", "SparseArrays", "SparseMatricesCSR"]
git-tree-sha1 = "e4808b9bfa48625c23c9f7a2494a108fb464e99c"
git-tree-sha1 = "7855d11a9587008972aeb27e705c2cea54260cb0"
repo-rev = "block-solvers"
repo-url = "https://github.com/gridap/GridapSolvers.jl.git"
uuid = "6d3209ee-5e3c-4db7-a716-942eb12ed534"
Expand Down
22 changes: 6 additions & 16 deletions src/GridapMHD.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
module GridapMHD

# using Profile
# using FileIO
# using MPI

using Random
using LinearAlgebra
using SparseArrays
Expand All @@ -15,23 +11,15 @@ using BSON
using DrWatson

using Gridap
using Gridap.Helpers
using Gridap.Algebra
using Gridap.CellData
using Gridap.ReferenceFEs
using Gridap.Geometry
using Gridap.FESpaces
using Gridap.MultiField
using Gridap.Helpers, Gridap.Algebra, Gridap.CellData, Gridap.ReferenceFEs
using Gridap.Geometry, Gridap.FESpaces, Gridap.MultiField

using GridapDistributed
using GridapGmsh

using GridapPETSc
using GridapPETSc.PETSC

using GridapSolvers
using GridapSolvers.LinearSolvers
using GridapSolvers.LinearSolvers: allocate_in_domain, allocate_in_range
using GridapSolvers.LinearSolvers, GridapSolvers.NonlinearSolvers, GridapSolvers.BlockSolvers

using PartitionedArrays
using PartitionedArrays: getany
Expand All @@ -40,12 +28,14 @@ using PartitionedArrays: getany
include("Meshers/meshers.jl")

# Solvers
include("Li2019/Li2019.jl")
include("Solvers/petsc.jl")
include("Solvers/li2019.jl")

# Main driver
include("Fixes.jl")
include("ExtraFunctions.jl")
include("parameters.jl")
include("weakforms.jl")
include("Main.jl")

# Applications
Expand Down
38 changes: 0 additions & 38 deletions src/Li2019/Li2019.jl

This file was deleted.

54 changes: 0 additions & 54 deletions src/Li2019/NLSolvers.jl

This file was deleted.

110 changes: 0 additions & 110 deletions src/Li2019/preconditioner.jl

This file was deleted.

Loading

0 comments on commit 7468175

Please sign in to comment.