mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-10-02 06:13:59 +00:00
hmm.. doctests, still needs some thinking.
This commit is contained in:
@@ -54,6 +54,11 @@ unittests:
|
||||
doctests:
|
||||
julia docs/build_doctests.jl
|
||||
|
||||
.PHONY: test
|
||||
|
||||
test:
|
||||
julia -e 'Pkg.test("JuliaFEM")'
|
||||
|
||||
#coverage_report:
|
||||
# julia -e 'Pkg.test("JuliaFEM"; coverage=true); cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
|
||||
|
||||
|
||||
+6
-2
@@ -1,9 +1,12 @@
|
||||
# This file is a part of JuliaFEM.
|
||||
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
|
||||
|
||||
"""
|
||||
This is JuliaFEM -- Finite Element Package
|
||||
"""
|
||||
module JuliaFEM
|
||||
|
||||
using Lexicon
|
||||
|
||||
using Logging
|
||||
@Logging.configure(level=DEBUG)
|
||||
|
||||
@@ -24,7 +27,6 @@ end
|
||||
|
||||
|
||||
include("types.jl") # type definitions
|
||||
|
||||
include("interpolate.jl") # interpolation routines
|
||||
|
||||
### ELEMENTS ###
|
||||
@@ -47,3 +49,5 @@ include("heat.jl")
|
||||
#include("elasticity_solver.jl")
|
||||
|
||||
end # module
|
||||
|
||||
FEM = JuliaFEM
|
||||
|
||||
+6
-2
@@ -41,9 +41,13 @@ Build a new model for outout
|
||||
Parameters
|
||||
----------
|
||||
|
||||
Example
|
||||
Examples
|
||||
-------
|
||||
>>> xdmf_new_model()
|
||||
|
||||
```julia
|
||||
@assert 1+1 == 3
|
||||
```
|
||||
|
||||
"""
|
||||
function xdmf_new_model(xdmf_version="2.1")
|
||||
xdoc = XMLDocument()
|
||||
|
||||
Reference in New Issue
Block a user