Skip to content

Commit 47b5140

Browse files
authored
Update FEniCS.jl
added optional load of mshr file
1 parent 23d50e8 commit 47b5140

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/FEniCS.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,10 @@ include("jmesh.jl") #this file contains the mesh functions
3636
include("jfem.jl") #this file contains the fem functions
3737
include("jmisc.jl") #this file contains various miscallaneous functions to assist with solving etc
3838
include("jsolve.jl") #this file contains the solver functions/routines
39+
try
40+
pyimport("mshr")
41+
include("fmshr.jl")
42+
catch ee
43+
print("mshr has not been included")
44+
end
3945
end #module

0 commit comments

Comments
 (0)