hmm.. doctests, still needs some thinking.

This commit is contained in:
Jukka Aho
2015-10-21 00:55:49 +03:00
parent 0658869b26
commit f72b653b48
2 changed files with 12 additions and 4 deletions
+6 -2
View File
@@ -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
View File
@@ -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()