Skip to content

Commit 5166991

Browse files
committed
removed ODE module
1 parent c016893 commit 5166991

16 files changed

+45
-80
lines changed

src/GridapDistributed.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ using Gridap.CellData
1111
using Gridap.Visualization
1212
using Gridap.FESpaces
1313
using Gridap.MultiField
14+
using Gridap.ODEs.TransientFETools
15+
using Gridap.ODEs.ODETools
1416

1517
using PartitionedArrays
1618
const PArrays = PartitionedArrays
@@ -23,6 +25,7 @@ import Gridap.TensorValues: inner, outer, double_contraction, symmetric_part
2325
import LinearAlgebra: det, tr, cross, dot,
2426
import Base: inv, abs, abs2, *, +, -, /, adjoint, transpose, real, imag, conj
2527
import Gridap.Fields: grad2curl
28+
import Gridap.ODEs.ODETools: ∂t, ∂tt
2629

2730
export FullyAssembledRows
2831
export SubAssembledRows
@@ -41,6 +44,10 @@ include("DivConformingFESpaces.jl")
4144

4245
include("MultiField.jl")
4346

44-
include("ODEs/ODEs.jl")
47+
include("TransientDistributedCellField.jl")
48+
49+
include("TransientMultiFieldDistributedCellField.jl")
50+
51+
include("TransientFESpaces.jl")
4552

4653
end # module

src/ODEs/ODEs.jl

Lines changed: 0 additions & 35 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

test/TestApp/src/TestApp.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ module TestApp
66
include("../../PLaplacianTests.jl")
77
include("../../PoissonTests.jl")
88
include("../../PeriodicBCsTests.jl")
9-
include("../../ODEs/TransientDistributedCellFieldTests.jl")
10-
include("../../ODEs/TransientMultiFieldDistributedCellFieldTests.jl")
11-
include("../../ODEs/HeatEquationTests.jl")
12-
include("../../ODEs/StokesOpenBoundaryTests.jl")
9+
include("../../TransientDistributedCellFieldTests.jl")
10+
include("../../TransientMultiFieldDistributedCellFieldTests.jl")
11+
include("../../HeatEquationTests.jl")
12+
include("../../StokesOpenBoundaryTests.jl")
1313
end

test/ODEs/TransientDistributedCellFieldTests.jl renamed to test/TransientDistributedCellFieldTests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ function main(parts)
2626
@test isa(dda(0),GridapDistributed.DistributedCellField)
2727

2828
b(t) = TransientCellField(a(t),(da(t),dda(t)))
29-
@test isa(b(0),GridapDistributed.ODEs.TransientDistributedCellField)
30-
@test isa(b(0),GridapDistributed.ODEs.TransientSingleFieldDistributedCellField)
29+
@test isa(b(0),GridapDistributed.TransientDistributedCellField)
30+
@test isa(b(0),GridapDistributed.TransientSingleFieldDistributedCellField)
3131

3232
db(t) = ∂t(b(t))
33-
@test isa(db(0),GridapDistributed.ODEs.TransientDistributedCellField)
34-
@test isa(db(0),GridapDistributed.ODEs.TransientSingleFieldDistributedCellField)
33+
@test isa(db(0),GridapDistributed.TransientDistributedCellField)
34+
@test isa(db(0),GridapDistributed.TransientSingleFieldDistributedCellField)
3535

3636
ddb(t) = ∂t(db(t))
37-
@test isa(ddb(0),GridapDistributed.ODEs.TransientDistributedCellField)
38-
@test isa(ddb(0),GridapDistributed.ODEs.TransientSingleFieldDistributedCellField)
37+
@test isa(ddb(0),GridapDistributed.TransientDistributedCellField)
38+
@test isa(ddb(0),GridapDistributed.TransientSingleFieldDistributedCellField)
3939

4040
@test (((a(0.5))dΩ)) 0.25
4141
@test (((da(0.5))dΩ)) 1.0

test/ODEs/TransientMultiFieldDistributedCellFieldTests.jl renamed to test/TransientMultiFieldDistributedCellFieldTests.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,28 @@ function main(parts)
3535
@test isa(dda(0),GridapDistributed.DistributedMultiFieldFEFunction)
3636

3737
b(t) = TransientCellField(a(t),(da(t),dda(t)))
38-
@test isa(b(0),GridapDistributed.ODEs.TransientDistributedCellField)
39-
@test isa(b(0),GridapDistributed.ODEs.TransientMultiFieldDistributedCellField)
38+
@test isa(b(0),GridapDistributed.TransientDistributedCellField)
39+
@test isa(b(0),GridapDistributed.TransientMultiFieldDistributedCellField)
4040

4141
db(t) = ∂t(b(t))
42-
@test isa(db(0),GridapDistributed.ODEs.TransientDistributedCellField)
43-
@test isa(db(0),GridapDistributed.ODEs.TransientMultiFieldDistributedCellField)
42+
@test isa(db(0),GridapDistributed.TransientDistributedCellField)
43+
@test isa(db(0),GridapDistributed.TransientMultiFieldDistributedCellField)
4444

4545
ddb(t) = ∂t(db(t))
46-
@test isa(ddb(0),GridapDistributed.ODEs.TransientDistributedCellField)
47-
@test isa(ddb(0),GridapDistributed.ODEs.TransientMultiFieldDistributedCellField)
46+
@test isa(ddb(0),GridapDistributed.TransientDistributedCellField)
47+
@test isa(ddb(0),GridapDistributed.TransientMultiFieldDistributedCellField)
4848

4949
b1(t) = b(t)[1]
50-
@test isa(b1(0),GridapDistributed.ODEs.TransientDistributedCellField)
51-
@test isa(b1(0),GridapDistributed.ODEs.TransientSingleFieldDistributedCellField)
50+
@test isa(b1(0),GridapDistributed.TransientDistributedCellField)
51+
@test isa(b1(0),GridapDistributed.TransientSingleFieldDistributedCellField)
5252

5353
db1(t) = ∂t(b1(t))
54-
@test isa(db1(0),GridapDistributed.ODEs.TransientDistributedCellField)
55-
@test isa(db1(0),GridapDistributed.ODEs.TransientSingleFieldDistributedCellField)
54+
@test isa(db1(0),GridapDistributed.TransientDistributedCellField)
55+
@test isa(db1(0),GridapDistributed.TransientSingleFieldDistributedCellField)
5656

5757
ddb1(t) = ∂t(db1(t))
58-
@test isa(ddb1(0),GridapDistributed.ODEs.TransientDistributedCellField)
59-
@test isa(ddb1(0),GridapDistributed.ODEs.TransientSingleFieldDistributedCellField)
58+
@test isa(ddb1(0),GridapDistributed.TransientDistributedCellField)
59+
@test isa(ddb1(0),GridapDistributed.TransientSingleFieldDistributedCellField)
6060

6161
@test (((b(0.5)[1])dΩ)) == (((b1(0.5))dΩ))
6262
@test (((db(0.5)[1])dΩ)) == (((db1(0.5))dΩ))

0 commit comments

Comments
 (0)